Skip to content

Commit d4ca1a8

Browse files
vsyrjalaAndi Shyti
authored andcommitted
drm/i915: Reoder CHV EU/slice fuse bits
We customarily define the bits of a register in big endian order. Reorder the CHV fuse bits to match. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com> Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250211231941.22769-9-ville.syrjala@linux.intel.com
1 parent dcf9969 commit d4ca1a8

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

drivers/gpu/drm/i915/gt/intel_gt_regs.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -937,10 +937,10 @@
937937
#define CHV_POWER_SS0_SIG1 _MMIO(0xa720)
938938
#define CHV_POWER_SS0_SIG2 _MMIO(0xa724)
939939
#define CHV_POWER_SS1_SIG1 _MMIO(0xa728)
940-
#define CHV_SS_PG_ENABLE REG_BIT(1)
941-
#define CHV_EU08_PG_ENABLE REG_BIT(9)
942-
#define CHV_EU19_PG_ENABLE REG_BIT(17)
943940
#define CHV_EU210_PG_ENABLE REG_BIT(25)
941+
#define CHV_EU19_PG_ENABLE REG_BIT(17)
942+
#define CHV_EU08_PG_ENABLE REG_BIT(9)
943+
#define CHV_SS_PG_ENABLE REG_BIT(1)
944944
#define CHV_POWER_SS1_SIG2 _MMIO(0xa72c)
945945
#define CHV_EU311_PG_ENABLE REG_BIT(1)
946946

@@ -1440,12 +1440,12 @@
14401440
#define XEHP_CCS_MODE_CSLICE(cslice, ccs) (ccs << (cslice * XEHP_CCS_MODE_CSLICE_WIDTH))
14411441

14421442
#define CHV_FUSE_GT _MMIO(VLV_GUNIT_BASE + 0x2168)
1443-
#define CHV_FGT_DISABLE_SS0 REG_BIT(10)
1444-
#define CHV_FGT_DISABLE_SS1 REG_BIT(11)
1445-
#define CHV_FGT_EU_DIS_SS0_R0_MASK REG_GENMASK(19, 16)
1446-
#define CHV_FGT_EU_DIS_SS0_R1_MASK REG_GENMASK(23, 20)
1447-
#define CHV_FGT_EU_DIS_SS1_R0_MASK REG_GENMASK(27, 24)
14481443
#define CHV_FGT_EU_DIS_SS1_R1_MASK REG_GENMASK(31, 28)
1444+
#define CHV_FGT_EU_DIS_SS1_R0_MASK REG_GENMASK(27, 24)
1445+
#define CHV_FGT_EU_DIS_SS0_R1_MASK REG_GENMASK(23, 20)
1446+
#define CHV_FGT_EU_DIS_SS0_R0_MASK REG_GENMASK(19, 16)
1447+
#define CHV_FGT_DISABLE_SS1 REG_BIT(11)
1448+
#define CHV_FGT_DISABLE_SS0 REG_BIT(10)
14491449

14501450
#define BCS_SWCTRL _MMIO(0x22200)
14511451
#define BCS_SRC_Y REG_BIT(0)

0 commit comments

Comments
 (0)