]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/amd/display: Re-enable IPS2 for static screen
authorRoman Li <roman.li@amd.com>
Fri, 12 Apr 2024 18:34:30 +0000 (14:34 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 30 Apr 2024 13:54:11 +0000 (09:54 -0400)
[Why]
IPS stability was fixed in bios.

[How]
Set disable_ips init flag to DMUB_IPS_ENABLE.

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Roman Li <roman.li@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

index ecf5752ef35f97dd7f5713b097bdb9c73a995e02..6a57cba40ab5c86015dafcd2eaba6ab4b9fe7cc3 100644 (file)
@@ -1740,7 +1740,7 @@ static int amdgpu_dm_init(struct amdgpu_device *adev)
        if (amdgpu_dc_debug_mask & DC_DISABLE_IPS)
                init_data.flags.disable_ips = DMUB_IPS_DISABLE_ALL;
        else
-               init_data.flags.disable_ips = DMUB_IPS_RCG_IN_ACTIVE_IPS2_IN_OFF;
+               init_data.flags.disable_ips = DMUB_IPS_ENABLE;
 
        init_data.flags.disable_ips_in_vpb = 0;