diff options
author | Wayne Lin <Wayne.Lin@amd.com> | 2024-06-26 16:48:23 +0800 |
---|---|---|
committer | Lyude Paul <lyude@redhat.com> | 2024-07-03 09:55:27 -0400 |
commit | d63d81094d208abb20fc444514b2d9ec2f4b7c4e (patch) | |
tree | 67d76e2b45d6a1750bbfe73ccf6d51e112fbc66d /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 80f4e62730a91572b7fdc657f7bb747e107ae308 (diff) |
drm/dp_mst: Fix all mstb marked as not probed after suspend/resume
[Why]
After supend/resume, with topology unchanged, observe that
link_address_sent of all mstb are marked as false even the topology probing
is done without any error.
It is caused by wrongly also include "ret == 0" case as a probing failure
case.
[How]
Remove inappropriate checking conditions.
Cc: Lyude Paul <lyude@redhat.com>
Cc: Harry Wentland <hwentlan@amd.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: stable@vger.kernel.org
Fixes: 37dfdc55ffeb ("drm/dp_mst: Cleanup drm_dp_send_link_address() a bit")
Signed-off-by: Wayne Lin <Wayne.Lin@amd.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240626084825.878565-2-Wayne.Lin@amd.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions