linux_dsm_epyc7002/drivers/gpu/drm/msm/disp/mdp5
Jeffrey Hugo 518304cbf3 drm/msm/mdp5: Find correct node for creating gem address space
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>
2019-09-03 16:16:58 -07:00
..
mdp5_cfg.c drm/msm/mdp5: Add msm8998 support 2019-09-03 16:16:58 -07:00
mdp5_cfg.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
mdp5_cmd_encoder.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
mdp5_crtc.c drm/msm: drop use of drmP.h 2019-09-03 16:16:57 -07:00
mdp5_ctl.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
mdp5_ctl.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
mdp5_encoder.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
mdp5_irq.c drm/msm: drop use of drmP.h 2019-09-03 16:16:57 -07:00
mdp5_kms.c drm/msm/mdp5: Find correct node for creating gem address space 2019-09-03 16:16:58 -07:00
mdp5_kms.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
mdp5_mdss.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
mdp5_mixer.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
mdp5_mixer.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
mdp5_pipe.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
mdp5_pipe.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
mdp5_plane.c drm/msm: drop use of drmP.h 2019-09-03 16:16:57 -07:00
mdp5_smp.c drm/msm: drop use of drmP.h 2019-09-03 16:16:57 -07:00
mdp5_smp.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
mdp5.xml.h drm/msm: update generated headers 2018-08-10 18:49:18 -04:00