mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 09:36:22 +02:00
drm/msm/mdss: use new helper to set amsbc
Use freshly defined helper instead of checking the UBWC version directly. 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/726525/ Link: https://lore.kernel.org/r/20260520-ubwc-rework-v5-19-72f2749bc807@oss.qualcomm.com
This commit is contained in:
parent
579f661140
commit
76bcf01949
|
|
@ -188,7 +188,7 @@ static void msm_mdss_5x_setup_ubwc(struct msm_mdss *msm_mdss)
|
|||
if (qcom_ubwc_macrotile_mode(data))
|
||||
value |= MDSS_UBWC_STATIC_MACROTILE_MODE;
|
||||
|
||||
if (data->ubwc_enc_version == UBWC_3_0)
|
||||
if (qcom_ubwc_enable_amsbc(data))
|
||||
value |= MDSS_UBWC_STATIC_UBWC_AMSBC;
|
||||
|
||||
value |= MDSS_UBWC_STATIC_UBWC_MIN_ACC_LEN(qcom_ubwc_min_acc_length_64b(data));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user