projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc0686f
)
drm/i915/gvt: correct mask setting for CSFE_CHICKEN1
author
Xinyun Liu
<xinyun.liu@intel.com>
Wed, 19 Sep 2018 07:28:53 +0000
(15:28 +0800)
committer
Zhenyu Wang
<zhenyuw@linux.intel.com>
Wed, 31 Oct 2018 09:09:01 +0000
(17:09 +0800)
CSFE_CHICKEN1(0x20d4) needs access with mask. This is caught in AcrnGT
conformance check test:
[drm:intel_gvt_vgpu_conformance_check]
*ERROR* gvt: vgpu1 unconformance mmio 0x20d4:0x40004,0x4
Signed-off-by: Xinyun Liu <xinyun.liu@intel.com>
Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/mmio_context.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/gvt/mmio_context.c
b/drivers/gpu/drm/i915/gvt/mmio_context.c
index e872f4847fbe0ce9a1e646bbea84eb0b6b2e1f29..088a62ab2bc8913431b803fb32dd830782ad39ca 100644
(file)
--- a/
drivers/gpu/drm/i915/gvt/mmio_context.c
+++ b/
drivers/gpu/drm/i915/gvt/mmio_context.c
@@
-144,7
+144,7
@@
static struct engine_mmio gen9_engine_mmio_list[] __cacheline_aligned = {
{RCS, GAMT_CHKN_BIT_REG, 0x0, false}, /* 0x4ab8 */
{RCS, GEN9_GAMT_ECO_REG_RW_IA, 0x0, false}, /* 0x4ab0 */
- {RCS, GEN9_CSFE_CHICKEN1_RCS, 0x
0
, false}, /* 0x20d4 */
+ {RCS, GEN9_CSFE_CHICKEN1_RCS, 0x
ffff
, false}, /* 0x20d4 */
{RCS, GEN8_GARBCNTL, 0x0, false}, /* 0xb004 */
{RCS, GEN7_FF_THREAD_MODE, 0x0, false}, /* 0x20a0 */