OSDN Git Service

drm/amd/display: call remove_stream_from_ctx from res_pool funcs
authorHarry Wentland <harry.wentland@amd.com>
Mon, 13 Feb 2023 22:36:55 +0000 (17:36 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Mar 2023 19:22:40 +0000 (14:22 -0500)
commitefa4c4df864ecd969670093524d3e8f69188e5eb
tree0fc82f65810bd2674e0e2cf8e460fcf4820090d1
parent1e88eb1b2c259994d034b0833cb489105a984ebb
drm/amd/display: call remove_stream_from_ctx from res_pool funcs

[Why & How]
DM should never use a non-interface function to call into
DC. The original code is incorrect on ASICs that don't
use DCN20's remove_stream_from_ctx function.

Reviewed-by: Aurabindo Pillai <Aurabindo.Pillai@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c