[Intel-gfx] [PATCH 0/2] Add i915_gem_object_vmap
yu.dai at intel.com
yu.dai at intel.com
Wed Feb 17 23:18:26 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 | 44 +++++++++++++++++++++++++
drivers/gpu/drm/i915/i915_gem_dmabuf.c | 15 ++-------
drivers/gpu/drm/i915/i915_guc_submission.c | 53 +++++++++---------------------
drivers/gpu/drm/i915/intel_guc.h | 3 +-
drivers/gpu/drm/i915/intel_ringbuffer.c | 24 ++------------
7 files changed, 70 insertions(+), 100 deletions(-)
--
2.5.0
More information about the Intel-gfx
mailing list