diff options
| author | 2021-04-14 14:15:52 -0400 | |
|---|---|---|
| committer | 2021-04-28 23:56:14 -0400 | |
| commit | 3cbae5abfa8ebc8bc2b445dbe392b6987cd15483 (patch) | |
| tree | bab0d68d707992e256599c3b79dedefac404f2b5 /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | |
| parent | amdgpu/pm: set pp_dpm_dcefclk to readonly on NAVI10 and newer gpus (diff) | |
| download | wireguard-linux-3cbae5abfa8ebc8bc2b445dbe392b6987cd15483.tar.xz wireguard-linux-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 <lkp@intel.com>
Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Wayne Lin <waynelin@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/amdgpu/amdgpu_display.c')
0 files changed, 0 insertions, 0 deletions
