OSDN Git Service

minigbm: amdgpu: align the stride to 256
[android-x86/external-minigbm.git] / radeon.c
index 68445c1..1bba724 100644 (file)
--- a/radeon.c
+++ b/radeon.c
@@ -8,7 +8,9 @@
 #include "helpers.h"
 #include "util.h"
 
-static const uint32_t render_target_formats[] = { DRM_FORMAT_ARGB8888, DRM_FORMAT_XRGB8888 };
+static const uint32_t render_target_formats[] = { DRM_FORMAT_ABGR8888, DRM_FORMAT_XBGR8888,
+                                                 DRM_FORMAT_ARGB8888, DRM_FORMAT_XRGB8888,
+                                                 DRM_FORMAT_RGB565 };
 
 static int radeon_init(struct driver *drv)
 {