diff options
| author | Mikita Lipski <[email protected]> | 2021-04-14 18:15:52 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-04-29 03:56:14 +0000 |
| commit | 3cbae5abfa8ebc8bc2b445dbe392b6987cd15483 (patch) | |
| tree | bab0d68d707992e256599c3b79dedefac404f2b5 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
| parent | amdgpu/pm: set pp_dpm_dcefclk to readonly on NAVI10 and newer gpus (diff) | |
| download | kernel-3cbae5abfa8ebc8bc2b445dbe392b6987cd15483.tar.gz kernel-3cbae5abfa8ebc8bc2b445dbe392b6987cd15483.zip | |
drm/amd/display: fix wrong statement in mst hpd debugfs
[why]
Previous statement would always evaluate to true
making it meaningless
[how]
Just check if a connector is MST by checking if its port exists.
Fixes: 41efcd3879b1df ("drm/amd/display: Add MST capability to trigger_hotplug interface")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Mikita Lipski <[email protected]>
Reviewed-by: Nicholas Kazlauskas <[email protected]>
Acked-by: Wayne Lin <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions
