]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/msm/dpu: drop extra aspace checks in dpu_formats
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tue, 3 Sep 2024 03:22:49 +0000 (06:22 +0300)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Mon, 21 Oct 2024 11:11:11 +0000 (14:11 +0300)
commitce357877e6df544df072cfbd643433795c4d320c
treecc986f7487c131ab9354b143b9ee841dc6b89223
parent759bcfe8e710348f747b5459be0b2ef63ed7598c
drm/msm/dpu: drop extra aspace checks in dpu_formats

The DPU driver isn't expected to be used without an IOMMU. Thus the
aspace will be always present. Not to mention that mdp4/mdp5 drivers
call msm_framebuffer_iova() without such checks, as the whole
msm_framebuffer layer is expected to support both IOMMU and IOMMU-less
configurations.

Drop these useless if (aspace) checks.

Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/612249/
Link: https://lore.kernel.org/r/20240903-dpu-mode-config-width-v6-6-617e1ecc4b7a@linaro.org
drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c