Commit 1fb28a8a authored by Dmitry Baryshkov's avatar Dmitry Baryshkov Committed by Dmitry Baryshkov
Browse files

drm/msm/dpu: drop now-unused condition for has_legacy_ctls



Now as we have dropped the DPU_CTL_SPLIT_DISPLAY from DPU >= 5.0
configuration, drop the rm->has_legacy_ctl condition which short-cutted
the check for those platforms.

Suggested-by: default avatarMarijn Suijten <marijn.suijten@somainline.org>
Reviewed-by: default avatarMarijn Suijten <marijn.suijten@somainline.org>
Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on SM8550-QRD
Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/641586/
Link: https://lore.kernel.org/r/20250307-dpu-active-ctl-v3-8-5d20655f10ca@linaro.org


Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
parent a2649952
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -466,8 +466,7 @@ static int _dpu_rm_reserve_ctls(

		DPU_DEBUG("ctl %d caps 0x%lX\n", j + CTL_0, features);

		if (rm->has_legacy_ctls &&
		    needs_split_display != has_split_display)
		if (needs_split_display != has_split_display)
			continue;

		ctl_idx[i] = j;