Skip to content

Commit 02d7a73

Browse files
committed
drm/amdgpu/gfx9: 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 ee006eb commit 02d7a73

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

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

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1960,25 +1960,6 @@ static void gfx_v9_0_constants_init(struct amdgpu_device *adev)
19601960
mutex_unlock(&adev->srbm_mutex);
19611961

19621962
gfx_v9_0_init_compute_vmid(adev);
1963-
1964-
mutex_lock(&adev->grbm_idx_mutex);
1965-
/*
1966-
* making sure that the following register writes will be broadcasted
1967-
* to all the shaders
1968-
*/
1969-
gfx_v9_0_select_se_sh(adev, 0xffffffff, 0xffffffff, 0xffffffff);
1970-
1971-
WREG32_SOC15_RLC(GC, 0, mmPA_SC_FIFO_SIZE,
1972-
(adev->gfx.config.sc_prim_fifo_size_frontend <<
1973-
PA_SC_FIFO_SIZE__SC_FRONTEND_PRIM_FIFO_SIZE__SHIFT) |
1974-
(adev->gfx.config.sc_prim_fifo_size_backend <<
1975-
PA_SC_FIFO_SIZE__SC_BACKEND_PRIM_FIFO_SIZE__SHIFT) |
1976-
(adev->gfx.config.sc_hiz_tile_fifo_size <<
1977-
PA_SC_FIFO_SIZE__SC_HIZ_TILE_FIFO_SIZE__SHIFT) |
1978-
(adev->gfx.config.sc_earlyz_tile_fifo_size <<
1979-
PA_SC_FIFO_SIZE__SC_EARLYZ_TILE_FIFO_SIZE__SHIFT));
1980-
mutex_unlock(&adev->grbm_idx_mutex);
1981-
19821963
}
19831964

19841965
static void gfx_v9_0_wait_for_rlc_serdes(struct amdgpu_device *adev)

0 commit comments

Comments
 (0)