drm/amd/display: Expose DRM_FORMAT_RGB565 on overlay planes
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tue, 23 Apr 2019 13:26:43 +0000 (09:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 29 Apr 2019 19:59:29 +0000 (14:59 -0500)
RGB565 support isn't restricted to just the primary plane in DC, so
also expose support for it on overlays.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: David Francis <david.francis@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

index 078b511499fd511316f38dbdde92ce3daf8cce90..645188baa708e34861fa7bdd4cc7028425de8e17 100644 (file)
@@ -4251,6 +4251,7 @@ static const uint32_t overlay_formats[] = {
        DRM_FORMAT_RGBA8888,
        DRM_FORMAT_XBGR8888,
        DRM_FORMAT_ABGR8888,
+       DRM_FORMAT_RGB565
 };
 
 static const u32 cursor_formats[] = {