Skip to content

Commit c82eb25

Browse files
Roman Lialexdeucher
authored andcommitted
drm/amd/display: "Enable IPS by default"
[Why] IPS was temporary disabled due to instability. It was fixed in dmub firmware and with: - "drm/amd/display: Add IPS checks before dcn register access" - "drm/amd/display: Disable ips before dc interrupt setting" [How] Enable IPS by default. Disable IPS if 0x800 bit set in amdgpu.dcdebugmask module params Signed-off-by: Roman Li <Roman.Li@amd.com> Tested-by: Mark Broadworth <mark.broadworth@amd.com> Reviewed-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent d45669e commit c82eb25

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1719,7 +1719,8 @@ static int amdgpu_dm_init(struct amdgpu_device *adev)
17191719
init_data.nbio_reg_offsets = adev->reg_offset[NBIO_HWIP][0];
17201720
init_data.clk_reg_offsets = adev->reg_offset[CLK_HWIP][0];
17211721

1722-
init_data.flags.disable_ips = DMUB_IPS_DISABLE_ALL;
1722+
if (amdgpu_dc_debug_mask & DC_DISABLE_IPS)
1723+
init_data.flags.disable_ips = DMUB_IPS_DISABLE_ALL;
17231724

17241725
init_data.flags.disable_ips_in_vpb = 1;
17251726

0 commit comments

Comments
 (0)