mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 01:55:51 +02:00
drm/msm/mdss: use new helper to set UBWC bank spreading
Use freshly defined helper instead of hardcoding the checks in the driver. Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Patchwork: https://patchwork.freedesktop.org/patch/726501/ Link: https://lore.kernel.org/r/20260520-ubwc-rework-v5-11-72f2749bc807@oss.qualcomm.com
This commit is contained in:
parent
6be890e4e2
commit
618cabd0fd
|
|
@ -201,7 +201,7 @@ static void msm_mdss_6x_setup_ubwc(struct msm_mdss *msm_mdss)
|
|||
MDSS_UBWC_STATIC_HIGHEST_BANK_BIT(data->highest_bank_bit - 13);
|
||||
u32 prediction_mode;
|
||||
|
||||
if (data->ubwc_bank_spread)
|
||||
if (qcom_ubwc_bank_spread(data))
|
||||
value |= MDSS_UBWC_STATIC_UBWC_BANK_SPREAD;
|
||||
|
||||
if (qcom_ubwc_macrotile_mode(data))
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user