]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: use context lrc_reg_state for shadow ppgtt override
authorZhenyu Wang <zhenyuw@linux.intel.com>
Wed, 6 May 2020 09:59:48 +0000 (17:59 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Fri, 8 May 2020 04:37:14 +0000 (12:37 +0800)
commit47e51832ae93534d872511ba557115722582d94c
treef11cf38b31cda2884c7391ed06ec7a101842f4cd
parentbec3df930fbd40fcc7bcead43a39cfd3c5b0419f
drm/i915/gvt: use context lrc_reg_state for shadow ppgtt override

We can replace kmap by using context's lrc_reg_state directly
for shadow ppgtt table override.

Reviewed-by: Yan Zhao <yan.y.zhao@intel.com>
Cc: Yan Zhao <yan.y.zhao@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20200506095948.124979-1-zhenyuw@linux.intel.com
drivers/gpu/drm/i915/gvt/scheduler.c