Commit 2a12c4e9 authored by Harry Wentland's avatar Harry Wentland Committed by Alex Deucher

Revert "drm/amd/display: disable dcn20 abm feature for bring up"

This reverts commit 96cb7cf1.

This change was used for DCN2 bringup and is no longer desired.
In fact it breaks backlight on DCN2 systems.

Cc: Alexander Monakov <amonakov@ispras.ru>
Cc: Hersen Wu <hersenxs.wu@amd.com>
Cc: Anthony Koo <Anthony.Koo@amd.com>
Cc: Michael Chiu <Michael.Chiu@amd.com>
Signed-off-by: default avatarHarry Wentland <harry.wentland@amd.com>
Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Reviewed-by: default avatarNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reported-and-tested-by: default avatarAlexander Monakov <amonakov@ispras.ru>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 83a13ef5
...@@ -1356,7 +1356,7 @@ static int dm_late_init(void *handle) ...@@ -1356,7 +1356,7 @@ static int dm_late_init(void *handle)
unsigned int linear_lut[16]; unsigned int linear_lut[16];
int i; int i;
struct dmcu *dmcu = NULL; struct dmcu *dmcu = NULL;
bool ret = false; bool ret;
if (!adev->dm.fw_dmcu) if (!adev->dm.fw_dmcu)
return detect_mst_link_for_all_connectors(adev->ddev); return detect_mst_link_for_all_connectors(adev->ddev);
...@@ -1377,13 +1377,10 @@ static int dm_late_init(void *handle) ...@@ -1377,13 +1377,10 @@ static int dm_late_init(void *handle)
*/ */
params.min_abm_backlight = 0x28F; params.min_abm_backlight = 0x28F;
/* todo will enable for navi10 */ ret = dmcu_load_iram(dmcu, params);
if (adev->asic_type <= CHIP_RAVEN) {
ret = dmcu_load_iram(dmcu, params);
if (!ret) if (!ret)
return -EINVAL; return -EINVAL;
}
return detect_mst_link_for_all_connectors(adev->ddev); return detect_mst_link_for_all_connectors(adev->ddev);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment