drm/amd/display: Disable IPS by default
Subsystems (3)
PATCH 1/1 drm/amd/display: Disable IPS by default
From: Roman Li <[email protected]>
[Why]
Instability is observed on DCN35 if idle power optimization is enabled.
[How]
Disable IPS until issue is resolved.
Signed-off-by Roman Li <[email protected]>
Tested-by Daniel Wheeler <[email protected]>
--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +2 -0
@@ -1710,6 +1710,8 @@ static int amdgpu_dm_init(struct amdgpu_device *adev) init_data.nbio_reg_offsets = adev->reg_offset[NBIO_HWIP ][0 ]; init_data.clk_reg_offsets = adev->reg_offset[CLK_HWIP ][0 ]; + init_data.flags.disable_ips =DMUB_IPS_DISABLE_ALL ; +/* Enable DWB for tested platforms only */ if (amdgpu_ip_version (adev,DCE_HWIP ,0 ) >=IP_VERSION (3 ,0 ,0 )) init_data.num_virtual_links =1 ;
Signature · 1 line
2.17.1
Quoted 19 lines · On 12/20/23 12:30, [email protected] wrote:
From: Roman Li <[email protected]>
[Why]
Instability is observed on DCN35 if idle power optimization is enabled.[How]
Disable IPS until issue is resolved.Signed-off-by Roman Li <[email protected]>Tested-by Daniel Wheeler <[email protected]>--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 ++ 1 file changed, 2 insertions(+)drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +0
-0
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c static int amdgpu_dm_init(struct amdgpu_device *adev) · line 1717
Quoted 8 lines
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +2
-0@@ -1710,6 +1710,8 @@ static int amdgpu_dm_init(struct amdgpu_device *adev) init_data.nbio_reg_offsets = adev->reg_offset[NBIO_HWIP ][0 ]; init_data.clk_reg_offsets = adev->reg_offset[CLK_HWIP ][0 ]; + init_data.flags.disable_ips =DMUB_IPS_DISABLE_ALL ; +/* Enable DWB for tested platforms only */ if (amdgpu_ip_version (adev,DCE_HWIP ,0 ) >=IP_VERSION (3 ,0 ,0 )) init_data.num_virtual_links =1 ;
Reviewed-by Rodrigo Siqueira <[email protected]>