[PATCH] drm/amd/dal: fix a typo in supported rgb_format

Hawking Zhang Hawking.Zhang at amd.com
Tue Jul 5 23:43:08 UTC 2016


There are duplicated DRM_FORMAT_ARGB2101010, correct it.

Change-Id: I0bab82e45e727717eaeca0a06c550d47477f37c8
Signed-off-by: Hawking Zhang <Hawking.Zhang at amd.com>
---
 drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_types.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_types.c b/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_types.c
index 9c7245c..d14c96f 100644
--- a/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_types.c
+++ b/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_types.c
@@ -1643,7 +1643,7 @@ static uint32_t rgb_formats[] = {
 	DRM_FORMAT_XRGB2101010,
 	DRM_FORMAT_XBGR2101010,
 	DRM_FORMAT_ARGB2101010,
-	DRM_FORMAT_ARGB2101010,
+	DRM_FORMAT_ABGR2101010,
 };
 
 int amdgpu_dm_crtc_init(struct amdgpu_display_manager *dm,
-- 
2.7.4



More information about the amd-gfx mailing list