diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-05-03 21:25:17 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-05-03 23:15:02 +0100 |
commit | c944a308a95ab456c9cee4df4b4fa01763b94621 (patch) | |
tree | 169188405f22fdfb443d659a9a62f943c643aecc /drivers/gpu/drm/i915/intel_ringbuffer.h | |
parent | ad15f74ac6c7ed1c7c252a760b017da042ec83fb (diff) |
drm/i915: Implement dma_buf_ops->kmap
Since kmap allows us to block we can pin the pages and use our normal
page lookup routine making the implementation simple, or as some might
say quick and dirty.
Testcase: igt/drv_selftest/dmabuf
Testcase: igt/prime_rw
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170503202517.16797-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.h')
0 files changed, 0 insertions, 0 deletions