summaryrefslogtreecommitdiff
path: root/libkms
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-11-22 05:31:01 -0800
committerKeith Packard <keithp@keithp.com>2013-11-26 21:45:40 -0800
commitc3d96897de647bd5f6d4802c108a3f65a307d61b (patch)
tree2ee4277900b76fcaf328ebaf5ab6aed1f320172a /libkms
parentc8a437f4c76527b3c8385699ccee07f35fe3f166 (diff)
intel: Track known prime buffers for re-use
If the application sends us a file descriptor pointing at a prime buffer that we've already got, we have to re-use the same bo_gem structure or chaos will result. Track the set of all known prime objects and look to see if the kernel has returned one of those for a new file descriptor. Also checks for prime buffers in the flink case. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'libkms')
0 files changed, 0 insertions, 0 deletions