Re: [Freedreno] [PATCH] drm/msm: Limit command submission when no IOMMU

2022-05-04 Thread Dmitry Baryshkov
On 02/05/2022 20:29, Rob Clark wrote: From: Rob Clark Running the GPU without an IOMMU is not really a supported (or sane) configuration. Yet it can be useful during SoC bringup (ie. if the iommu driver doesn't work yet). Lets limit it to users who already have /dev/mem access, to avoid the c

Re: [Freedreno] [PATCH] drm/msm: Limit command submission when no IOMMU

2022-05-03 Thread Rob Clark
On Tue, May 3, 2022 at 5:12 AM Lucas Stach wrote: > > Am Montag, dem 02.05.2022 um 10:29 -0700 schrieb Rob Clark: > > From: Rob Clark > > > > Running the GPU without an IOMMU is not really a supported (or sane) > > configuration. Yet it can be useful during SoC bringup (ie. if the > > iommu driv

Re: [Freedreno] [PATCH] drm/msm: Limit command submission when no IOMMU

2022-05-03 Thread Lucas Stach
Am Montag, dem 02.05.2022 um 10:29 -0700 schrieb Rob Clark: > From: Rob Clark > > Running the GPU without an IOMMU is not really a supported (or sane) > configuration. Yet it can be useful during SoC bringup (ie. if the > iommu driver doesn't work yet). > > Lets limit it to users who already ha

[Freedreno] [PATCH] drm/msm: Limit command submission when no IOMMU

2022-05-02 Thread Rob Clark
From: Rob Clark Running the GPU without an IOMMU is not really a supported (or sane) configuration. Yet it can be useful during SoC bringup (ie. if the iommu driver doesn't work yet). Lets limit it to users who already have /dev/mem access, to avoid the chance that a user accidentially configur