From: Jeffrey Kardatzke Date: Fri, 14 Feb 2020 00:19:03 +0000 (-0800) Subject: minigbm: Disable UBWC for texture formats X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=6f266902d1d1b258a639d7835d307c019312a013;p=android-x86%2Fexternal-minigbm.git 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 --- 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; }