drm/amdgpu: Change golden settings for GFX v9.4.3
Subsystems (2)
PATCH 1/1 drm/amdgpu: Change golden settings for GFX v9.4.3
Change the settings applicable for A0. GRBM_MCM_ADDR setting will be applied by firmware.
--- drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c +2 -5
@@ -195,14 +195,11 @@ static void gfx_v9_4_3_init_golden_registers(struct amdgpu_device *adev) num_xcc =NUM_XCC (adev->gfx.xcc_mask);for (i =0 ; i < num_xcc; i++) { dev_inst =GET_INST (GC , i); -if (dev_inst >=2 ) -WREG32_SOC15 (GC , dev_inst, regGRBM_MCM_ADDR,0x4 ); +WREG32_SOC15 (GC , dev_inst, regGB_ADDR_CONFIG, +GOLDEN_GB_ADDR_CONFIG );/* Golden settings applied by driver for ASIC with rev_id 0 */ if (adev->rev_id ==0 ) { -WREG32_SOC15 (GC , dev_inst, regGB_ADDR_CONFIG, -GOLDEN_GB_ADDR_CONFIG ); -WREG32_FIELD15_PREREG (GC , dev_inst,TCP_UTCL1_CNTL1 ,REDUCE_FIFO_DEPTH_BY_2 ,2 ); }
Signature · 1 line
2.25.1
[AMD Official Use Only - General]
-----Original Message-----
From: Lazar, Lijo <[email protected]>
Sent: Tuesday, July 4, 2023 9:09 AM
To: [email protected]
Cc: Zhang, Hawking <[email protected]>; Deucher, Alexander <[email protected]>; Kamal, Asad <[email protected]>; Ma, Le <[email protected]>; Gadre, Mangesh <[email protected]>
Subject: [PATCH] drm/amdgpu: Change golden settings for GFX v9.4.3
Change the settings applicable for A0. GRBM_MCM_ADDR setting will be applied by firmware.
--- drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c +2 -5
@@ -195,14 +195,11 @@ static void gfx_v9_4_3_init_golden_registers(struct amdgpu_device *adev) num_xcc =NUM_XCC (adev->gfx.xcc_mask);for (i =0 ; i < num_xcc; i++) { dev_inst =GET_INST (GC , i); -if (dev_inst >=2 ) -WREG32_SOC15 (GC , dev_inst, regGRBM_MCM_ADDR,0x4 ); +WREG32_SOC15 (GC , dev_inst, regGB_ADDR_CONFIG, +GOLDEN_GB_ADDR_CONFIG );/* Golden settings applied by driver for ASIC with rev_id 0 */ if (adev->rev_id ==0 ) { -WREG32_SOC15 (GC , dev_inst, regGB_ADDR_CONFIG, -GOLDEN_GB_ADDR_CONFIG ); -WREG32_FIELD15_PREREG (GC , dev_inst,TCP_UTCL1_CNTL1 ,REDUCE_FIFO_DEPTH_BY_2 ,2 ); }
--
2.25.1
[AMD Official Use Only - General]
-----Original Message-----
From: Lazar, Lijo <[email protected]>
Sent: Tuesday, July 4, 2023 9:09 AM
To: [email protected]
Cc: Zhang, Hawking <[email protected]>; Deucher, Alexander <[email protected]>; Kamal, Asad <[email protected]>; Ma, Le <[email protected]>; Gadre, Mangesh <[email protected]>
Subject: [PATCH] drm/amdgpu: Change golden settings for GFX v9.4.3
Change the settings applicable for A0. GRBM_MCM_ADDR setting will be applied by firmware.
--- drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c +2 -5
@@ -195,14 +195,11 @@ static void gfx_v9_4_3_init_golden_registers(struct amdgpu_device *adev) num_xcc =NUM_XCC (adev->gfx.xcc_mask);for (i =0 ; i < num_xcc; i++) { dev_inst =GET_INST (GC , i); -if (dev_inst >=2 ) -WREG32_SOC15 (GC , dev_inst, regGRBM_MCM_ADDR,0x4 ); +WREG32_SOC15 (GC , dev_inst, regGB_ADDR_CONFIG, +GOLDEN_GB_ADDR_CONFIG );/* Golden settings applied by driver for ASIC with rev_id 0 */ if (adev->rev_id ==0 ) { -WREG32_SOC15 (GC , dev_inst, regGB_ADDR_CONFIG, -GOLDEN_GB_ADDR_CONFIG ); -WREG32_FIELD15_PREREG (GC , dev_inst,TCP_UTCL1_CNTL1 ,REDUCE_FIFO_DEPTH_BY_2 ,2 ); }
--
2.25.1