summaryrefslogtreecommitdiff
path: root/rockchip.c
diff options
context:
space:
mode:
Diffstat (limited to 'rockchip.c')
-rw-r--r--rockchip.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/rockchip.c b/rockchip.c
index 84aa8cc..f039449 100644
--- a/rockchip.c
+++ b/rockchip.c
@@ -17,7 +17,7 @@
#include "helpers.h"
#include "util.h"
-static struct supported_combination combos[11] = {
+static struct supported_combination combos[12] = {
{DRM_FORMAT_ABGR8888, DRM_FORMAT_MOD_NONE,
BO_USE_RENDERING | BO_USE_SW_READ_OFTEN | BO_USE_SW_WRITE_OFTEN |
BO_USE_SW_READ_RARELY | BO_USE_SW_WRITE_RARELY},
@@ -42,6 +42,8 @@ static struct supported_combination combos[11] = {
BO_USE_RENDERING | BO_USE_SW_READ_RARELY | BO_USE_SW_WRITE_RARELY},
{DRM_FORMAT_YVU420, DRM_FORMAT_MOD_NONE,
BO_USE_RENDERING | BO_USE_SW_READ_RARELY | BO_USE_SW_WRITE_RARELY},
+ {DRM_FORMAT_YVU420, DRM_FORMAT_MOD_NONE,
+ BO_USE_LINEAR | BO_USE_SW_READ_OFTEN | BO_USE_SW_WRITE_OFTEN},
};
static int afbc_bo_from_format(struct bo *bo, uint32_t width, uint32_t height,