]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gem: Allow backends to override pread implementation
authorMatthew Auld <matthew.auld@intel.com>
Thu, 5 Nov 2020 15:49:33 +0000 (15:49 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 5 Nov 2020 19:23:50 +0000 (19:23 +0000)
commit1ff3d8817204812e24a6da7d20f3b3a1bbf2ebd0
tree0cb5effdd50ade8b541f1dc96abfd9d493332d5a
parentd916acdc24756ff7e43f93775066a759793b7313
drm/i915/gem: Allow backends to override pread implementation

As there are more and more complicated interactions between the different
backing stores and userspace, push the control into the backends rather
than accumulate them all inside the ioctl handlers.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20201105154934.16022-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/i915_gem_object_types.h
drivers/gpu/drm/i915/i915_gem.c