mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 09:10:21 +07:00
518304cbf3
Creating the msm gem address space requires a reference to the dev where the iommu is located. The driver currently assumes this is the same as the platform device, which breaks when the iommu is outside of the platform device (ie in the parent). Default to using the platform device, but check to see if that has an iommu reference, and if not, use the parent device instead. This should handle all the various iommu designs for mdp5 supported systems. Signed-off-by: Jeffrey Hugo <jeffrey.l.hugo@gmail.com> Tested-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Rob Clark <robdclark@chromium.org> |
||
---|---|---|
.. | ||
mdp5_cfg.c | ||
mdp5_cfg.h | ||
mdp5_cmd_encoder.c | ||
mdp5_crtc.c | ||
mdp5_ctl.c | ||
mdp5_ctl.h | ||
mdp5_encoder.c | ||
mdp5_irq.c | ||
mdp5_kms.c | ||
mdp5_kms.h | ||
mdp5_mdss.c | ||
mdp5_mixer.c | ||
mdp5_mixer.h | ||
mdp5_pipe.c | ||
mdp5_pipe.h | ||
mdp5_plane.c | ||
mdp5_smp.c | ||
mdp5_smp.h | ||
mdp5.xml.h |