]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/dpu: check both DPU and MDSS devices for the IOMMU
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 16 Jun 2022 08:11:02 +0000 (11:11 +0300)
committerRob Clark <robdclark@chromium.org>
Wed, 6 Jul 2022 15:52:38 +0000 (08:52 -0700)
commit1080f2e3ead813869b7c17676fe6a019816cb02b
treeb19a92aa19aee9a45cf7a6e4109fb7fbdb680e54
parent83b2a0753555948012d1f4c08a69081f2089cda4
drm/msm/dpu: check both DPU and MDSS devices for the IOMMU

Follow the lead of MDP5 driver and check both DPU and MDSS devices for
the IOMMU specifiers.

Historically DPU devices had IOMMU specified in the MDSS device tree
node, but as some of MDP5 devices are being converted to the supported
by the DPU driver, the driver should adapt and check both devices.

Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/489696/
Link: https://lore.kernel.org/r/20220616081106.350262-2-dmitry.baryshkov@linaro.org
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c