Skip to content

Commit 14ed1c9

Browse files
Harry Wentlandalexdeucher
authored andcommitted
Revert "drm/amd/display: disable dcn20 abm feature for bring up"
This reverts commit 96cb7cf. This change was used for DCN2 bringup and is no longer desired. In fact it breaks backlight on DCN2 systems. Cc: Alexander Monakov <[email protected]> Cc: Hersen Wu <[email protected]> Cc: Anthony Koo <[email protected]> Cc: Michael Chiu <[email protected]> Signed-off-by: Harry Wentland <[email protected]> Acked-by: Alex Deucher <[email protected]> Reviewed-by: Nicholas Kazlauskas <[email protected]> Reported-and-tested-by: Alexander Monakov <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected]
1 parent cc831b9 commit 14ed1c9

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

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

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1356,7 +1356,7 @@ static int dm_late_init(void *handle)
13561356
unsigned int linear_lut[16];
13571357
int i;
13581358
struct dmcu *dmcu = NULL;
1359-
bool ret = false;
1359+
bool ret;
13601360

13611361
if (!adev->dm.fw_dmcu)
13621362
return detect_mst_link_for_all_connectors(adev->ddev);
@@ -1377,13 +1377,10 @@ static int dm_late_init(void *handle)
13771377
*/
13781378
params.min_abm_backlight = 0x28F;
13791379

1380-
/* todo will enable for navi10 */
1381-
if (adev->asic_type <= CHIP_RAVEN) {
1382-
ret = dmcu_load_iram(dmcu, params);
1380+
ret = dmcu_load_iram(dmcu, params);
13831381

1384-
if (!ret)
1385-
return -EINVAL;
1386-
}
1382+
if (!ret)
1383+
return -EINVAL;
13871384

13881385
return detect_mst_link_for_all_connectors(adev->ddev);
13891386
}

0 commit comments

Comments
 (0)