Skip to content

Commit 535cfa7

Browse files
committed
drm/amdgpu/gfx10: use reset default for PA_SC_FIFO_SIZE
Recommended by the hw team. Reviewed-and-Tested-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 02d7a73 commit 535cfa7

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1544,24 +1544,6 @@ static void gfx_v10_0_constants_init(struct amdgpu_device *adev)
15441544

15451545
gfx_v10_0_init_compute_vmid(adev);
15461546

1547-
mutex_lock(&adev->grbm_idx_mutex);
1548-
/*
1549-
* making sure that the following register writes will be broadcasted
1550-
* to all the shaders
1551-
*/
1552-
gfx_v10_0_select_se_sh(adev, 0xffffffff, 0xffffffff, 0xffffffff);
1553-
1554-
tmp = REG_SET_FIELD(0, PA_SC_FIFO_SIZE, SC_FRONTEND_PRIM_FIFO_SIZE,
1555-
adev->gfx.config.sc_prim_fifo_size_frontend);
1556-
tmp = REG_SET_FIELD(tmp, PA_SC_FIFO_SIZE, SC_BACKEND_PRIM_FIFO_SIZE,
1557-
adev->gfx.config.sc_prim_fifo_size_backend);
1558-
tmp = REG_SET_FIELD(tmp, PA_SC_FIFO_SIZE, SC_HIZ_TILE_FIFO_SIZE,
1559-
adev->gfx.config.sc_hiz_tile_fifo_size);
1560-
tmp = REG_SET_FIELD(tmp, PA_SC_FIFO_SIZE, SC_EARLYZ_TILE_FIFO_SIZE,
1561-
adev->gfx.config.sc_earlyz_tile_fifo_size);
1562-
WREG32_SOC15(GC, 0, mmPA_SC_FIFO_SIZE, tmp);
1563-
1564-
mutex_unlock(&adev->grbm_idx_mutex);
15651547
}
15661548

15671549
static void gfx_v10_0_enable_gui_idle_interrupt(struct amdgpu_device *adev,

0 commit comments

Comments
 (0)