lima: expose tiled format modifier in query_dmabuf_modifiers()
authorVasily Khoruzhick <anarsoul@gmail.com>
Sun, 8 Dec 2019 20:06:43 +0000 (12:06 -0800)
committerVasily Khoruzhick <anarsoul@gmail.com>
Mon, 9 Dec 2019 15:21:55 +0000 (15:21 +0000)
Fixes: 8c12f4e5f24f ("lima: enable tiling")
Reviewed-by: Qiang Yu <yuq825@gmail.com>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
src/gallium/drivers/lima/lima_screen.c

index dd7ea870dfe0ae7f732f9fd3dda8fad033fc6606..768a6106c8d4f7e4280ab07ee337cdc92246b5ce 100644 (file)
@@ -406,6 +406,7 @@ lima_screen_query_dmabuf_modifiers(struct pipe_screen *pscreen,
                                    int *count)
 {
    uint64_t available_modifiers[] = {
+      DRM_FORMAT_MOD_ARM_16X16_BLOCK_U_INTERLEAVED,
       DRM_FORMAT_MOD_LINEAR,
    };