[PATCH v5 07/16] drm/msm/dpu: drop extra aspace checks in dpu_formats
Abhinav Kumar
quic_abhinavk at quicinc.com
Tue Jul 16 23:03:56 UTC 2024
On 6/24/2024 2:13 PM, Dmitry Baryshkov wrote:
> 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.
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
> ---
> drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c | 7 ++-----
> 1 file changed, 2 insertions(+), 5 deletions(-)
>
Reviewed-by: Abhinav Kumar <quic_abhinavk at quicinc.com>
More information about the dri-devel
mailing list