diff options
author | Lyude Paul <lyude@redhat.com> | 2022-11-14 17:17:53 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-11-21 16:38:35 -0500 |
commit | 2f3a1273862cb82cca227630cc7f04ce0c94b6bb (patch) | |
tree | c61724727be8798a72e8d836306d5cb8c84ea648 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ba891436c2d2b2a6d6c1bc3733bab3b72f07e87f (diff) |
drm/display/dp_mst: Fix drm_dp_mst_add_affected_dsc_crtcs() return code
Looks like that we're accidentally dropping a pretty important return code
here. For some reason, we just return -EINVAL if we fail to get the MST
topology state. This is wrong: error codes are important and should never
be squashed without being handled, which here seems to have the potential
to cause a deadlock.
Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Wayne Lin <Wayne.Lin@amd.com>
Fixes: 8ec046716ca8 ("drm/dp_mst: Add helper to trigger modeset on affected DSC MST CRTCs")
Cc: <stable@vger.kernel.org> # v5.6+
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions