From 6f266902d1d1b258a639d7835d307c019312a013 Mon Sep 17 00:00:00 2001 From: Jeffrey Kardatzke Date: Thu, 13 Feb 2020 16:19:03 -0800 Subject: [PATCH] minigbm: Disable UBWC for texture formats The venus driver doesn't understand UBWC formats yet so we shouldn't be using them for texture formats that the video decoder writes to. BUG=b:149190288 TEST=video_decode_accelerator_tests pass on trogdor Change-Id: I572c7ff9e1bddcd58136772b3ced07f79a219cba Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/2055873 Tested-by: Jeffrey Kardatzke Auto-Submit: Jeffrey Kardatzke Reviewed-by: Gurchetan Singh Reviewed-by: Fritz Koenig Commit-Queue: Fritz Koenig --- msm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msm.c b/msm.c index dbc5b70..46d2a34 100644 --- a/msm.c +++ b/msm.c @@ -191,7 +191,7 @@ static int msm_init(struct driver *drv) &metadata, render_use_flags | BO_USE_SCANOUT); msm_add_ubwc_combinations(drv, texture_source_formats, ARRAY_SIZE(texture_source_formats), - &metadata, texture_use_flags | BO_USE_SCANOUT); + &metadata, texture_use_flags); return 0; } -- 2.11.0