aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/gvt/handlers.c
diff options
context:
space:
mode:
authorYan Zhao <yan.y.zhao@intel.com>2020-12-23 11:46:32 +0800
committerZhenyu Wang <zhenyuw@linux.intel.com>2020-12-25 11:16:32 +0800
commit02dd2b12a685944c4d52c569d05f636372a7b6c7 (patch)
tree73b1d112bbc4cec827fd8a2821989effcb0268b3 /drivers/gpu/drm/i915/gvt/handlers.c
parentdrm/i915/gvt: update F_CMD_WRITE_PATCH flag when parsing init ctx (diff)
downloadlinux-dev-02dd2b12a685944c4d52c569d05f636372a7b6c7.tar.xz
linux-dev-02dd2b12a685944c4d52c569d05f636372a7b6c7.zip
drm/i915/gvt: unify lri cmd handler and mmio handlers
for common ctxs and commands in workload, call mmio handlers for value checking and command patching for registers with command fix write flag set. after calling mmio handlers, resotre old vreg values so as to keep vreg unchanged after command scanning. Note: for regs in below catigories, a. in ctx and save-restore list, and is inhibit ctx b. in mocs after cmd scanning, do not restore old vreg values, but update vreg as what has been implemented before this patch. Cc: Kevin Tian <kevin.tian@intel.com> Signed-off-by: Yan Zhao <yan.y.zhao@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20201223034632.17416-1-yan.y.zhao@intel.com Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/gvt/handlers.c')
0 files changed, 0 insertions, 0 deletions