OSDN Git Service

drm/amd/display: Add back missing hw translate init for DCN1_01
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Fri, 31 May 2019 16:05:26 +0000 (12:05 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Jun 2019 16:56:39 +0000 (11:56 -0500)
commit59648d6954cd3539f9b7e599b14d8b0cdcf41279
tree4ef7c5bb3e1cff4c55f8a2ea9df152cdda69bf01
parent7e93094945016492f6cb3660b2960d4b027eab51
drm/amd/display: Add back missing hw translate init for DCN1_01

[Why]
DCN_VERSION_1_01 is no longer handled in the dal_hw_translate_init
switch since it was inadvertently dropped in the patch that removed the
unnecessary DCN1_01 guards.

This caused numerous regressions on DCN1_01 when loading the driver.

[How]
Add it back.

Fixes: 97df424fe7a7 ("drm/amd/display: Drop DCN1_01 guards")
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/gpio/hw_translate.c