diff options
author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | 2023-06-15 11:12:33 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-07-18 11:12:29 -0400 |
commit | ac30aeae7ab9eb57eeb6f0763db16bdc003ba4aa (patch) | |
tree | 18ca1404dbdaffc89b86bcfdff7c953f4f19e6f3 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | |
parent | 1d96adb1946ca84ccd20b4e7a8f684cff5b0d99c (diff) |
drm/amd/display: Use is_dig_enable function instead of dcn10 hardcode
[Why]
This can differ depending on ASIC and we can end up skipping all
transmitter control if we're relying on the wrong bit as a shortcut
for whether link is on/off.
[How]
The ASIC table itself provides the correct DIG check, use that instead
of the dcn10 hardcode.
Reviewed-by: Syed Hassan <syed.hassan@amd.com>
Acked-by: Alan Liu <haoping.liu@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions