projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2de60af
)
drm/i915/gvt: Fix two CFL MMIO handling caused by regression.
author
Colin Xu
<colin.xu@intel.com>
Mon, 1 Jun 2020 03:06:38 +0000
(11:06 +0800)
committer
Zhenyu Wang
<zhenyuw@linux.intel.com>
Wed, 17 Jun 2020 04:35:37 +0000
(12:35 +0800)
D_CFL was incorrectly removed for:
GAMT_CHKN_BIT_REG
GEN9_CTX_PREEMPT_REG
V2: Update commit message.
V3: Rebase and split Fixes and mis-handled MMIO.
Fixes:
43226e6fe798
(drm/i915/gvt: replaced register address with name)
Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Colin Xu <colin.xu@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Link:
http://patchwork.freedesktop.org/patch/msgid/20200601030638.16002-1-colin.xu@intel.com
drivers/gpu/drm/i915/gvt/handlers.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/i915/gvt/handlers.c
b/drivers/gpu/drm/i915/gvt/handlers.c
index 89873a7b7f3273f03829bb465c9e54734716c127..f39a6b20bbaf1fe88b5c05d221b81f7e7e7bc13d 100644
(file)
--- a/
drivers/gpu/drm/i915/gvt/handlers.c
+++ b/
drivers/gpu/drm/i915/gvt/handlers.c
@@
-3132,8
+3132,8
@@
static int init_skl_mmio_info(struct intel_gvt *gvt)
MMIO_DFH(GEN9_WM_CHICKEN3, D_SKL_PLUS, F_MODE_MASK | F_CMD_ACCESS,
NULL, NULL);
- MMIO_D(GAMT_CHKN_BIT_REG, D_KBL);
- MMIO_D(GEN9_CTX_PREEMPT_REG, D_
KBL | D_SKL
);
+ MMIO_D(GAMT_CHKN_BIT_REG, D_KBL
| D_CFL
);
+ MMIO_D(GEN9_CTX_PREEMPT_REG, D_
SKL_PLUS
);
return 0;
}