Necessary to avoid following errors in Android:
E [minigbm:gralloc0.cc(123)]: Unsupported combination -- HAL format: 4, HAL usage: 256, drv_format: RG16, use_flags: 131072
E GraphicBufferAllocator: Failed to allocate (1 x 1) layerCount 1 format 4 usage 100: 3
#include "util.h"
static const uint32_t render_target_formats[] = { DRM_FORMAT_ABGR8888, DRM_FORMAT_XBGR8888,
- DRM_FORMAT_ARGB8888, DRM_FORMAT_XRGB8888 };
+ DRM_FORMAT_ARGB8888, DRM_FORMAT_XRGB8888,
+ DRM_FORMAT_RGB565 };
static int nouveau_init(struct driver *drv)
{