drm/amd/display: Expose more formats for overlay planes on DCN
authorJoshua Ashton <joshua@froggi.es>
Sun, 9 Jul 2023 02:06:56 +0000 (03:06 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 18 Jul 2023 15:08:23 +0000 (11:08 -0400)
commitab4c37fe21de4dd6d25ea2b68a5d18806ebfa0fd
treeff7694892875802c62f8a553651d2a04f911b726
parent33e88286d615d9fa0396f69885a6552ed3302d1e
drm/amd/display: Expose more formats for overlay planes on DCN

DCN planes are universal and therefore overlay planes can use the same
formats as primary planes, unlike DCE.

Gamescope/Steam Deck would like to take advantage of this functionality
for partial composition which in some cases in our pipeline, can contain
negative values in some instances.

Cc: Harry Wentland <harry.wentland@amd.com>
Cc: Melissa Wen <mwen@igalia.com>
Cc: Simon Ser <contact@emersion.fr>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c