]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/msm/a6xx: Disable rgb565_predicator on Adreno 7c3
authorKonrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Mon, 5 May 2025 11:13:40 +0000 (13:13 +0200)
committerRob Clark <robdclark@chromium.org>
Sat, 10 May 2025 16:05:20 +0000 (09:05 -0700)
This feature is supposed to be enabled with UBWC v4 or later.
Implementations of this SKU feature an effective UBWC version of 3, so
disable it, in line with the BSP kernel.

Reported-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Akhil P Oommen <quic_akhilpo@quicinc.com>
Fixes: 192f4ee3e408 ("drm/msm/a6xx: Add support for Adreno 7c Gen 3 gpu")
Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/651759/
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/adreno/a6xx_gpu.c

index 2289fecbbbf14f7ec02227972049d62408c11dc1..bf3758f010f4079aa86f9c658b52a70acf10b488 100644 (file)
@@ -655,7 +655,6 @@ static void a6xx_calc_ubwc_config(struct adreno_gpu *gpu)
        if (adreno_is_7c3(gpu)) {
                gpu->ubwc_config.highest_bank_bit = 14;
                gpu->ubwc_config.amsbc = 1;
-               gpu->ubwc_config.rgb565_predicator = 1;
                gpu->ubwc_config.uavflagprd_inv = 2;
                gpu->ubwc_config.macrotile_mode = 1;
        }