mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
drm/amd/display: Remove unsupported RGB formats
Do not broadcast (to DRM) unsupported RGB formats. Signed-off-by: Leo (Sunpeng) Li <sunpeng.li@amd.com> Reviewed-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
5970f2aecc
commit
9c42df59e4
@ -1527,11 +1527,6 @@ static const struct drm_plane_helper_funcs dm_plane_helper_funcs = {
|
||||
* check will succeed, and let DC to implement proper check
|
||||
*/
|
||||
static uint32_t rgb_formats[] = {
|
||||
DRM_FORMAT_XRGB4444,
|
||||
DRM_FORMAT_ARGB4444,
|
||||
DRM_FORMAT_RGBA4444,
|
||||
DRM_FORMAT_ARGB1555,
|
||||
DRM_FORMAT_RGB565,
|
||||
DRM_FORMAT_RGB888,
|
||||
DRM_FORMAT_XRGB8888,
|
||||
DRM_FORMAT_ARGB8888,
|
||||
|
Loading…
Reference in New Issue
Block a user