diff options
author | Keith Packard <keithp@keithp.com> | 2013-11-22 05:31:01 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-11-26 21:45:40 -0800 |
commit | c3d96897de647bd5f6d4802c108a3f65a307d61b (patch) | |
tree | 2ee4277900b76fcaf328ebaf5ab6aed1f320172a /intel/tests/.gitignore | |
parent | c8a437f4c76527b3c8385699ccee07f35fe3f166 (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 'intel/tests/.gitignore')
0 files changed, 0 insertions, 0 deletions