Re: [PATCH] drm/msm/mdp5: Use drm_device for creating gem address space

2019-07-04 Thread Jeffrey Hugo
On Wed, Jul 3, 2019 at 6:25 AM Rob Clark wrote: > > On Tue, Jul 2, 2019 at 9:08 PM Bjorn Andersson > wrote: > > > > On Mon 01 Jul 10:39 PDT 2019, Jeffrey Hugo wrote: > > > > > Creating the msm gem address space requires a reference to the dev where > > > the iommu is located. The driver currentl

Re: [PATCH] drm/msm/mdp5: Use drm_device for creating gem address space

2019-07-03 Thread Rob Clark
On Tue, Jul 2, 2019 at 9:08 PM Bjorn Andersson wrote: > > On Mon 01 Jul 10:39 PDT 2019, Jeffrey Hugo wrote: > > > 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 brea

Re: [PATCH] drm/msm/mdp5: Use drm_device for creating gem address space

2019-07-02 Thread Bjorn Andersson
On Mon 01 Jul 10:39 PDT 2019, Jeffrey Hugo wrote: > 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. Use the dr

Re: [PATCH] drm/msm/mdp5: Use drm_device for creating gem address space

2019-07-01 Thread Jeffrey Hugo
On Mon, Jul 1, 2019 at 1:45 PM Rob Clark wrote: > > On Mon, Jul 1, 2019 at 10:39 AM Jeffrey Hugo wrote: > > > > 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 break

Re: [PATCH] drm/msm/mdp5: Use drm_device for creating gem address space

2019-07-01 Thread Rob Clark
On Mon, Jul 1, 2019 at 10:39 AM Jeffrey Hugo wrote: > > 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. Use th

[PATCH] drm/msm/mdp5: Use drm_device for creating gem address space

2019-07-01 Thread Jeffrey Hugo
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. Use the drm_device instead, which happens to always have a reference