OSDN Git Service

drm/amd/display: Fix a regression on Polaris cards
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 28 Jul 2023 22:04:01 +0000 (17:04 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 9 Aug 2023 13:41:23 +0000 (09:41 -0400)
commit7ffcbd1a1f59d75804e6ceffb0b90ff8354da745
tree5b48adb3ee96eb6a3fe117b8ba34da99601e1aed
parent29013f607b79fe415d179f9a8575662a1f125fb2
drm/amd/display: Fix a regression on Polaris cards

DCE products don't define a `remove_stream_from_ctx` like DCN ones
do. This means that when compute_mst_dsc_configs_for_state() is called
it always returns -EINVAL which causes MST to fail to setup.

Cc: stable@vger.kernel.org # 6.4.y
Cc: Harry Wentland <Harry.Wentland@amd.com>
Reported-by: Klaus.Kusche@computerix.info
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/2671
Fixes: efa4c4df864e ("drm/amd/display: call remove_stream_from_ctx from res_pool funcs")
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c