Skip to content

Commit d817de3

Browse files
coxuintelzhenyw
authored andcommitted
drm/i915/gvt: Add GEN9_CLKGATE_DIS_4 to default BXT mmio handler
Host prints lots of untracked MMIO at 0x4653c when creating linux guest. "gvt: vgpu 2: untracked MMIO 0004653c len 4" GEN9_CLKGATE_DIS_4 (0x4653c) is accessed by i915 for gmbus clockgating. However vgpu doesn't support any clockgating powergating operations on related mmio access trap so need add it to default handler. GEN9_CLKGATE_DIS_4 is accessed in bxt_gmbus_clock_gating() which only applies to GEN9_LP so doens't show the warning on other platforms. The solution is to add it to default handler init_bxt_mmio_info(). Reviewed-by: He, Min <min.he@intel.com> Signed-off-by: Colin Xu <colin.xu@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
1 parent db7c8f1 commit d817de3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/i915/gvt/handlers.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3210,6 +3210,7 @@ static int init_bxt_mmio_info(struct intel_gvt *gvt)
32103210
MMIO_D(BXT_DSI_PLL_ENABLE, D_BXT);
32113211

32123212
MMIO_D(GEN9_CLKGATE_DIS_0, D_BXT);
3213+
MMIO_D(GEN9_CLKGATE_DIS_4, D_BXT);
32133214

32143215
MMIO_D(HSW_TVIDEO_DIP_GCP(TRANSCODER_A), D_BXT);
32153216
MMIO_D(HSW_TVIDEO_DIP_GCP(TRANSCODER_B), D_BXT);

0 commit comments

Comments
 (0)