drm/amdgpu/gfx9: use reset default for PA_SC_FIFO_SIZE
Subsystems (2)
PATCH 1/2 drm/amdgpu/gfx9: use reset default for PA_SC_FIFO_SIZE
Recommended by the hw team.
--- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 19 ------------------- 1 file changed, 19 deletions(-)
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +0 -19
@@ -1960,25 +1960,6 @@ static void gfx_v9_0_constants_init(struct amdgpu_device *adev)mutex_unlock (&adev->srbm_mutex);gfx_v9_0_init_compute_vmid (adev); - -mutex_lock (&adev->grbm_idx_mutex); -/* -* making sure that the following register writes will be broadcasted -* to all the shaders -*/ -gfx_v9_0_select_se_sh (adev,0xffffffff ,0xffffffff ,0xffffffff ); - -WREG32_SOC15_RLC (GC ,0 , mmPA_SC_FIFO_SIZE, - (adev->gfx.config.sc_prim_fifo_size_frontend << -PA_SC_FIFO_SIZE__SC_FRONTEND_PRIM_FIFO_SIZE__SHIFT ) | - (adev->gfx.config.sc_prim_fifo_size_backend << -PA_SC_FIFO_SIZE__SC_BACKEND_PRIM_FIFO_SIZE__SHIFT ) | - (adev->gfx.config.sc_hiz_tile_fifo_size << -PA_SC_FIFO_SIZE__SC_HIZ_TILE_FIFO_SIZE__SHIFT ) | - (adev->gfx.config.sc_earlyz_tile_fifo_size << -PA_SC_FIFO_SIZE__SC_EARLYZ_TILE_FIFO_SIZE__SHIFT )); -mutex_unlock (&adev->grbm_idx_mutex); - }static void gfx_v9_0_wait_for_rlc_serdes (struct amdgpu_device *adev)
Signature · 6 lines
2.20.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 20190701140019.9881-1-alexander.deucher-5C7GfCeVMHo@public.gmane.org
PATCH 2/2 drm/amdgpu/gfx10: use reset default for PA_SC_FIFO_SIZE
Recommended by the hw team.
--- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 18 ------------------ 1 file changed, 18 deletions(-)
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +0 -18
@@ -1544,24 +1544,6 @@ static void gfx_v10_0_constants_init(struct amdgpu_device *adev)gfx_v10_0_init_compute_vmid (adev); -mutex_lock (&adev->grbm_idx_mutex); -/* -* making sure that the following register writes will be broadcasted -* to all the shaders -*/ -gfx_v10_0_select_se_sh (adev,0xffffffff ,0xffffffff ,0xffffffff ); - - tmp =REG_SET_FIELD (0 ,PA_SC_FIFO_SIZE ,SC_FRONTEND_PRIM_FIFO_SIZE , - adev->gfx.config.sc_prim_fifo_size_frontend); - tmp =REG_SET_FIELD (tmp,PA_SC_FIFO_SIZE ,SC_BACKEND_PRIM_FIFO_SIZE , - adev->gfx.config.sc_prim_fifo_size_backend); - tmp =REG_SET_FIELD (tmp,PA_SC_FIFO_SIZE ,SC_HIZ_TILE_FIFO_SIZE , - adev->gfx.config.sc_hiz_tile_fifo_size); - tmp =REG_SET_FIELD (tmp,PA_SC_FIFO_SIZE ,SC_EARLYZ_TILE_FIFO_SIZE , - adev->gfx.config.sc_earlyz_tile_fifo_size); -WREG32_SOC15 (GC ,0 , mmPA_SC_FIFO_SIZE, tmp); - -mutex_unlock (&adev->grbm_idx_mutex); } static void gfx_v10_0_enable_gui_idle_interrupt(struct amdgpu_device *adev,
Signature · 6 lines
2.20.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 20190701140019.9881-2-alexander.deucher-5C7GfCeVMHo@public.gmane.org
Yuan, Xiaojie
Reviewed-by Xiaojie YuanRe: [PATCH 2/2] drm/amdgpu/gfx10: use reset default for PA_SC_FIFO_SIZE
BR,
Xiaojie
________________________________________
From: amd-gfx <[email protected]> on behalf of Alex Deucher <[email protected]>
Sent: Monday, July 1, 2019 10:00 PM
To: [email protected]
Cc: Deucher, Alexander
Subject: [PATCH 2/2] drm/amdgpu/gfx10: use reset default for PA_SC_FIFO_SIZE
Recommended by the hw team.
--- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 18 ------------------ 1 file changed, 18 deletions(-)
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +0 -18
@@ -1544,24 +1544,6 @@ static void gfx_v10_0_constants_init(struct amdgpu_device *adev)gfx_v10_0_init_compute_vmid (adev); -mutex_lock (&adev->grbm_idx_mutex); -/* -* making sure that the following register writes will be broadcasted -* to all the shaders -*/ -gfx_v10_0_select_se_sh (adev,0xffffffff ,0xffffffff ,0xffffffff ); - - tmp =REG_SET_FIELD (0 ,PA_SC_FIFO_SIZE ,SC_FRONTEND_PRIM_FIFO_SIZE , - adev->gfx.config.sc_prim_fifo_size_frontend); - tmp =REG_SET_FIELD (tmp,PA_SC_FIFO_SIZE ,SC_BACKEND_PRIM_FIFO_SIZE , - adev->gfx.config.sc_prim_fifo_size_backend); - tmp =REG_SET_FIELD (tmp,PA_SC_FIFO_SIZE ,SC_HIZ_TILE_FIFO_SIZE , - adev->gfx.config.sc_hiz_tile_fifo_size); - tmp =REG_SET_FIELD (tmp,PA_SC_FIFO_SIZE ,SC_EARLYZ_TILE_FIFO_SIZE , - adev->gfx.config.sc_earlyz_tile_fifo_size); -WREG32_SOC15 (GC ,0 , mmPA_SC_FIFO_SIZE, tmp); - -mutex_unlock (&adev->grbm_idx_mutex); } static void gfx_v10_0_enable_gui_idle_interrupt(struct amdgpu_device *adev,
--
2.20.1
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Series are Reviewed-and-Tested-by: Huang Rui <[email protected]>
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Alex Deucher
Sent: Monday, July 1, 2019 9:00 AM
To: [email protected]
Cc: Deucher, Alexander <[email protected]>
Subject: [PATCH 1/2] drm/amdgpu/gfx9: use reset default for PA_SC_FIFO_SIZE
Recommended by the hw team.
--- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 19 ------------------- 1 file changed, 19 deletions(-)
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +0 -19
@@ -1960,25 +1960,6 @@ static void gfx_v9_0_constants_init(struct amdgpu_device *adev)mutex_unlock (&adev->srbm_mutex);gfx_v9_0_init_compute_vmid (adev); - -mutex_lock (&adev->grbm_idx_mutex); -/* -* making sure that the following register writes will be broadcasted -* to all the shaders -*/ -gfx_v9_0_select_se_sh (adev,0xffffffff ,0xffffffff ,0xffffffff ); - -WREG32_SOC15_RLC (GC ,0 , mmPA_SC_FIFO_SIZE, - (adev->gfx.config.sc_prim_fifo_size_frontend << -PA_SC_FIFO_SIZE__SC_FRONTEND_PRIM_FIFO_SIZE__SHIFT ) | - (adev->gfx.config.sc_prim_fifo_size_backend << -PA_SC_FIFO_SIZE__SC_BACKEND_PRIM_FIFO_SIZE__SHIFT ) | - (adev->gfx.config.sc_hiz_tile_fifo_size << -PA_SC_FIFO_SIZE__SC_HIZ_TILE_FIFO_SIZE__SHIFT ) | - (adev->gfx.config.sc_earlyz_tile_fifo_size << -PA_SC_FIFO_SIZE__SC_EARLYZ_TILE_FIFO_SIZE__SHIFT )); -mutex_unlock (&adev->grbm_idx_mutex); - }static void gfx_v9_0_wait_for_rlc_serdes (struct amdgpu_device *adev)
Signature · 10 lines
2.20.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Yuan, Xiaojie
Reviewed-by Xiaojie YuanBR,
Xiaojie
________________________________________
From: amd-gfx <[email protected]> on behalf of Alex Deucher <[email protected]>
Sent: Monday, July 1, 2019 10:00 PM
To: [email protected]
Cc: Deucher, Alexander
Subject: [PATCH 1/2] drm/amdgpu/gfx9: use reset default for PA_SC_FIFO_SIZE
Recommended by the hw team.
--- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 19 ------------------- 1 file changed, 19 deletions(-)
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +0 -19
@@ -1960,25 +1960,6 @@ static void gfx_v9_0_constants_init(struct amdgpu_device *adev)mutex_unlock (&adev->srbm_mutex);gfx_v9_0_init_compute_vmid (adev); - -mutex_lock (&adev->grbm_idx_mutex); -/* -* making sure that the following register writes will be broadcasted -* to all the shaders -*/ -gfx_v9_0_select_se_sh (adev,0xffffffff ,0xffffffff ,0xffffffff ); - -WREG32_SOC15_RLC (GC ,0 , mmPA_SC_FIFO_SIZE, - (adev->gfx.config.sc_prim_fifo_size_frontend << -PA_SC_FIFO_SIZE__SC_FRONTEND_PRIM_FIFO_SIZE__SHIFT ) | - (adev->gfx.config.sc_prim_fifo_size_backend << -PA_SC_FIFO_SIZE__SC_BACKEND_PRIM_FIFO_SIZE__SHIFT ) | - (adev->gfx.config.sc_hiz_tile_fifo_size << -PA_SC_FIFO_SIZE__SC_HIZ_TILE_FIFO_SIZE__SHIFT ) | - (adev->gfx.config.sc_earlyz_tile_fifo_size << -PA_SC_FIFO_SIZE__SC_EARLYZ_TILE_FIFO_SIZE__SHIFT )); -mutex_unlock (&adev->grbm_idx_mutex); - }static void gfx_v9_0_wait_for_rlc_serdes (struct amdgpu_device *adev)
--
2.20.1
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx