[PATCH v3 20/27] drm/msm/adreno: adapt for UBWC 3.1 support

Dmitry Baryshkov
2026-03-12T13:30:07Z

Extend the driver to handle UBWC 3.1 (in the same way as we handle UBWC
3.0).

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
drivers/gpu/drm/msm/adreno/a8xx_gpu.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/msm/adreno/a8xx_gpu.c b/drivers/gpu/drm/msm/adreno/a8xx_gpu.c
index 63934d21c831..e030e9e87ff6 100644
--- a/drivers/gpu/drm/msm/adreno/a8xx_gpu.c
+++ b/drivers/gpu/drm/msm/adreno/a8xx_gpu.c
@@ -290,6 +290,7 @@ static void a8xx_set_ubwc_config(struct msm_gpu *gpu)
fp16compoptdis = true;
rgba8888_lossless = true;
break;
+ case UBWC_3_1:
case UBWC_3_0:
break;
default:

--
2.47.3