drm/amd/display: Don't ask PSP to load DMCUB for backdoor load
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tue, 28 Jan 2020 20:14:07 +0000 (15:14 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Feb 2020 16:03:24 +0000 (11:03 -0500)
commit9a6ed547090c41cc4c64df1f556314b0cbdc781f
treeec608131983342771d6795cadfbca15a1a09f692
parent20a5e52f37e71e51defb09f8fd6ad5d84bcd6c90
drm/amd/display: Don't ask PSP to load DMCUB for backdoor load

[Why]
If we're doing backdoor load then do it entirely ourselves without
invoking any of the frontdoor path to avoid potential issues with
outdated tOS.

[How]
Check the load type and don't pass it to base if we don't want it
loaded.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Hersen Wu <hersenxs.wu@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c