]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Make LRC (un)pinning work on context and engine
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Thu, 28 Jan 2016 10:29:54 +0000 (10:29 +0000)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Thu, 28 Jan 2016 17:23:15 +0000 (17:23 +0000)
commit6a3493dab706cb82e69b8eb043a2686df133a799
tree5231d22ce51f350c32bd5386cddca428b678b12e
parentc6a71b917822c9bbdbe17f9c9ae9eea3d483e799
drm/i915: Make LRC (un)pinning work on context and engine

Previously intel_lr_context_(un)pin were operating on requests
which is in conflict with their names.

If we make them take a context and an engine, it makes the names
make more sense and it also makes future fixes possible.

v2: Rebase for default_context/kernel_context change.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Nick Hoath <nicholas.hoath@intel.com>
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_lrc.c
drivers/gpu/drm/i915/intel_lrc.h