We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87cfc79 commit c59e9c9Copy full SHA for c59e9c9
drivers/gpu/drm/msm/adreno/a6xx_gpu.c
@@ -687,12 +687,12 @@ static void a6xx_set_ubwc_config(struct msm_gpu *gpu)
687
*/
688
BUG_ON(adreno_gpu->ubwc_config.highest_bank_bit < 13);
689
u32 hbb = adreno_gpu->ubwc_config.highest_bank_bit - 13;
690
+ u32 level2_swizzling_dis = !(cfg->ubwc_swizzle & BIT(1));
691
bool ubwc_mode = qcom_ubwc_get_ubwc_mode(cfg);
692
bool amsbc = cfg->ubwc_enc_version >= UBWC_3_0;
693
u8 uavflagprd_inv = 0;
694
u32 hbb_hi = hbb >> 2;
695
u32 hbb_lo = hbb & 3;
- u32 level2_swizzling_dis = !(adreno_gpu->ubwc_config.ubwc_swizzle & 2);
696
697
if (adreno_is_a650_family(adreno_gpu) || adreno_is_a7xx(adreno_gpu))
698
uavflagprd_inv = 2;
0 commit comments