Skip to content
Snippets Groups Projects
Commit b34a7401 authored by Sui Jingfeng's avatar Sui Jingfeng :video_game: Committed by Dmitry Baryshkov
Browse files

drm/msm: Check return value of of_dma_configure()


Because the of_dma_configure() will returns '-EPROBE_DEFER' if the probe
procedure of the specific platform IOMMU driver is not finished yet. It
can also return other error code for various reasons.

Stop pretending that it will always suceess, quit if it fail.

Signed-off-by: Sui Jingfeng's avatarSui Jingfeng <sui.jingfeng@linux.dev>
Reviewed-by: default avatarKonrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Fixes: 29ac8979 ("drm/msm/a6xx: use msm_gem for GMU memory objects")
Fixes: 5a903a44 ("drm/msm/a6xx: Introduce GMU wrapper support")
Reviewed-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/622782/
Link: https://lore.kernel.org/r/20241104090738.529848-1-sui.jingfeng@linux.dev


Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
parent c36c60d1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment