]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: remove skl_misc_ctl_write handler
authorWeinan Li <weinan.z.li@intel.com>
Tue, 21 Nov 2017 02:54:41 +0000 (10:54 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Tue, 28 Nov 2017 09:22:49 +0000 (17:22 +0800)
commitc679744d46d8cf88a85540a85f71ccd94a24e049
treefb84521913daeded28a29067e68fbcbf31eb03e8
parent89ff2123c31bbf75a77500e57920f263da0802ac
drm/i915/gvt: remove skl_misc_ctl_write handler

With different settings of compressed data hash mode between VMs and host
may cause gpu issues.

Commit: 2b6a162d4 ("drm/i915/gvt: Disable compression workaround for Gen9")
disable compression workaround of guest in gvt host to align with host.

Commit: 0dad5bff3 ("drm/i915: Switch over to the LLC/eLLC hotspot avoidance
hash mode for CCS") add compression workaround, then we can remove the
skl_misc_ctl_write hanlder.

Better solution should be always keeping same settings as host, and bypass
the write request from VMs, but it need to fetch data from host's
"Context".

Cc: Zhi Wang <zhi.a.wang@intel.com>
Signed-off-by: Weinan Li <weinan.z.li@intel.com>
Signed-off-by: Xiong Zhang <xiong.y.zhang@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/handlers.c