diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0491-drm-amd-display-Remove-unsupported-RGB-formats.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0491-drm-amd-display-Remove-unsupported-RGB-formats.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0491-drm-amd-display-Remove-unsupported-RGB-formats.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0491-drm-amd-display-Remove-unsupported-RGB-formats.patch new file mode 100644 index 00000000..113d6069 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0491-drm-amd-display-Remove-unsupported-RGB-formats.patch @@ -0,0 +1,33 @@ +From 21b67ccecdd02f6032ce61d0d0344f2a8af64d84 Mon Sep 17 00:00:00 2001 +From: "Leo (Sunpeng) Li" <sunpeng.li@amd.com> +Date: Thu, 1 Jun 2017 15:29:42 -0400 +Subject: [PATCH 0491/4131] 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> +--- + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c | 5 ----- + 1 file changed, 5 deletions(-) + +diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c +index 12389d7..4961007 100644 +--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c ++++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c +@@ -1682,11 +1682,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, +-- +2.7.4 + |