drm/amd/display: add new resource interface for acquiring sec opp heads and release...
authorWenjing Liu <wenjing.liu@amd.com>
Sat, 5 Aug 2023 16:55:52 +0000 (12:55 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 30 Aug 2023 19:35:10 +0000 (15:35 -0400)
commit6b8333a5b929da9e82410ee923f45dba79780bc0
tree01cb1ceb64995f6e5911ff6653193d4d2ddf7083
parent9ba46183eb905589a845f3a973a37ffed7aebf1a
drm/amd/display: add new resource interface for acquiring sec opp heads and release pipe

[why]
We need a new algorithm for acquiring secondary opp heads for ODM combine
in dcn32 and a release pipe interface to properly release pipe resources.

[how]
add two new interfaces in DCN specific resource file.

Reviewed-by: Jun Lei <jun.lei@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource.c
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource.h
drivers/gpu/drm/amd/display/dc/inc/core_types.h
drivers/gpu/drm/amd/display/dc/inc/resource.h