]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: always pin hw_id for GVT context
authorZhenyu Wang <zhenyuw@linux.intel.com>
Mon, 11 Mar 2019 02:37:47 +0000 (10:37 +0800)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 24 Mar 2019 11:28:09 +0000 (11:28 +0000)
commitb2db9d9e8ca2d30fff706cd42dcfea4876a68f01
treee29e5a86d86bd943d3844b19598140232f2ccbed
parent6d7c582a49f6181871439e200eb714ea77af0cc9
drm/i915: always pin hw_id for GVT context

Initially found issue with closed context debug check when pin
hw_id for GVT context, looks we should always pin hw_id for that
as GVT context is fixed for each vGPU life cycle, and we'd also
like to get pinned hw_id e.g for perf reason, etc.

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.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/20190311023747.1426-1-zhenyuw@linux.intel.com
drivers/gpu/drm/i915/i915_gem_context.c