drm/amd/display: Remove unsupported RGB formats
authorLeo (Sunpeng) Li <sunpeng.li@amd.com>
Thu, 1 Jun 2017 19:29:42 +0000 (15:29 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:07:46 +0000 (18:07 -0400)
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

index b99f6ef499d1eb9aa26a33af33033eb4738a0a22..165f91fa12067acdde8ba63a7d36de63f79ea4bf 100644 (file)
@@ -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,