]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Clean up pixel format types
authorAric Cyr <aric.cyr@amd.com>
Sat, 23 Apr 2022 19:21:01 +0000 (15:21 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 4 May 2022 14:43:55 +0000 (10:43 -0400)
commitfe8221577d83e93dc50b90bdd0fa43a8495aab24
tree627f068323e826b497821c18c2cf98e036d696fb
parent1ae3a65d0070275c0c55f28a2bdc5ce818576f67
drm/amd/display: Clean up pixel format types

[Why & How]
Equate the first non-subsampled video surface format to
the enum SURFACE_PIXEL_FORMAT_SUBSAMPLE_END since it's
not a real format.

Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Aric Cyr <aric.cyr@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc_hw_types.h