Skip to content

Commit 3b2e973

Browse files
pyma1alexdeucher
authored andcommitted
drm/amd/display: add dmcub check on RENOIR
RENOIR loads dmub fw not dmcu, check dmcu only will prevent loading iram, it breaks backlight control. Bug: https://bugzilla.kernel.org/show_bug.cgi?id=208277 Acked-by: Alex Deucher <[email protected]> Reviewed-by: Nicholas Kazlauskas <[email protected]> Signed-off-by: Aaron Ma <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected]
1 parent c564b86 commit 3b2e973

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1358,7 +1358,7 @@ static int dm_late_init(void *handle)
13581358
struct dmcu *dmcu = NULL;
13591359
bool ret;
13601360

1361-
if (!adev->dm.fw_dmcu)
1361+
if (!adev->dm.fw_dmcu && !adev->dm.dmub_fw)
13621362
return detect_mst_link_for_all_connectors(adev->ddev);
13631363

13641364
dmcu = adev->dm.dc->res_pool->dmcu;

0 commit comments

Comments
 (0)