[Intel-gfx] [PATCH v2 0/2] Add i915_gem_object_vmap

yu.dai at intel.com yu.dai at intel.com
Thu Feb 18 18:31:36 UTC 2016


From: Alex Dai <yu.dai at intel.com>

There are several places in driver that a GEM object is mapped to kernel
virtual space. Now add a common function i915_gem_object_vmap to do the vmap
work for such use case.

Alex Dai (2):
  drm/i915: Add i915_gem_object_vmap to map GEM object to virtual space
  drm/i915/guc: Simplify code by keeping vmap of guc_client object

 drivers/gpu/drm/i915/i915_cmd_parser.c     | 28 +--------------
 drivers/gpu/drm/i915/i915_drv.h            |  3 ++
 drivers/gpu/drm/i915/i915_gem.c            | 47 +++++++++++++++++++++++++
 drivers/gpu/drm/i915/i915_gem_dmabuf.c     | 16 ++-------
 drivers/gpu/drm/i915/i915_guc_submission.c | 56 ++++++++++--------------------
 drivers/gpu/drm/i915/intel_guc.h           |  3 +-
 drivers/gpu/drm/i915/intel_ringbuffer.c    | 24 ++-----------
 7 files changed, 77 insertions(+), 100 deletions(-)

-- 
2.5.0



More information about the Intel-gfx mailing list