[PATCH] drm/msm/dpu: Allow UBWC on NV12
Fritz Koenig
frkoenig at google.com
Fri Jan 10 21:35:51 UTC 2020
NV12 is a valid format for UBWC
Signed-off-by: Fritz Koenig <frkoenig at google.com>
---
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog_format.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog_format.h b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog_format.h
index fbcb3c4bbfee..3766f0fd0bf0 100644
--- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog_format.h
+++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog_format.h
@@ -10,6 +10,8 @@ static const uint32_t qcom_compressed_supported_formats[] = {
DRM_FORMAT_XBGR8888,
DRM_FORMAT_XRGB8888,
DRM_FORMAT_BGR565,
+
+ DRM_FORMAT_NV12,
};
static const uint32_t plane_formats[] = {
--
2.25.0.rc1.283.g88dfdc4193-goog
More information about the dri-devel
mailing list