Skip to content

Commit 50c4a49

Browse files
akhilpo-qcomlumag
authored andcommitted
drm/msm/a8xx: Add UBWC v6 support
Adreno 840 GPU supports UBWC v6. Add support for this. Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Patchwork: https://patchwork.freedesktop.org/patch/700073/ Link: https://lore.kernel.org/r/20260121-kaana-gpu-support-v5-1-984848af12e4@oss.qualcomm.com Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
1 parent b38d2c3 commit 50c4a49

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

drivers/gpu/drm/msm/adreno/a8xx_gpu.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,10 @@ static void a8xx_set_ubwc_config(struct msm_gpu *gpu)
276276
u8 uavflagprd_inv = 2;
277277

278278
switch (ubwc_version) {
279+
case UBWC_6_0:
280+
yuvnotcomptofc = true;
281+
mode = 5;
282+
break;
279283
case UBWC_5_0:
280284
amsbc = true;
281285
rgb565_predicator = true;

0 commit comments

Comments
 (0)