]> Git Repo - J-linux.git/commitdiff
drm/i915/reg: use the correct register to access SAGV block time
authorVinod Govindapillai <[email protected]>
Thu, 23 Mar 2023 11:44:26 +0000 (13:44 +0200)
committerStanislav Lisovskiy <[email protected]>
Mon, 27 Mar 2023 12:58:28 +0000 (15:58 +0300)
Wrong register address is used to read the SAG block time. Fix
the register address according to the bspec.

Bspec: 64608

Signed-off-by: Vinod Govindapillai <[email protected]>
Reviewed-by: Stanislav Lisovskiy <[email protected]>
Signed-off-by: Stanislav Lisovskiy <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/i915_reg.h

index 3abfda4c7a3fa170c0af1a7c6a866947acdbce3b..f0f7b578b7269409acab9a328b954e17ae74bcc0 100644 (file)
@@ -7740,7 +7740,7 @@ enum skl_power_gate {
 #define  MTL_LATENCY_LEVEL_EVEN_MASK   REG_GENMASK(12, 0)
 #define  MTL_LATENCY_LEVEL_ODD_MASK    REG_GENMASK(28, 16)
 
-#define MTL_LATENCY_SAGV               _MMIO(0x4578b)
+#define MTL_LATENCY_SAGV               _MMIO(0x4578c)
 #define   MTL_LATENCY_QCLK_SAGV                REG_GENMASK(12, 0)
 
 #define MTL_MEM_SS_INFO_GLOBAL                 _MMIO(0x45700)
This page took 0.046435 seconds and 4 git commands to generate.