Maybe we can check if iommu is enabled in the driver and do the appropriate thing with respect to gfxoff, assuming this is not platform specific.
Alex
From: Huang, Ray <Ray.Huang@xxxxxxx>
Sent: Thursday, August 8, 2019 4:14 AM To: Michel Dänzer <michel@xxxxxxxxxxx>; Kai-Heng Feng <kai.heng.feng@xxxxxxxxxxxxx>; Olsak, Marek <Marek.Olsak@xxxxxxx> Cc: Zhou, David(ChunMing) <David1.Zhou@xxxxxxx>; LKML <linux-kernel@xxxxxxxxxxxxxxx>; dri-devel@xxxxxxxxxxxxxxxxxxxxx <dri-devel@xxxxxxxxxxxxxxxxxxxxx>; Anthony Wong <anthony.wong@xxxxxxxxxxxxx>; amd-gfx list <amd-gfx@xxxxxxxxxxxxxxxxxxxxx>; Deucher, Alexander <Alexander.Deucher@xxxxxxx>; Koenig, Christian <Christian.Koenig@xxxxxxx> Subject: RE: [Regression] "drm/amdgpu: enable gfxoff again on raven series (v2)" > -----Original Message-----
> From: Michel Dänzer <michel@xxxxxxxxxxx> > Sent: Thursday, August 08, 2019 4:10 PM > To: Huang, Ray <Ray.Huang@xxxxxxx>; Kai-Heng Feng > <kai.heng.feng@xxxxxxxxxxxxx> > Cc: Zhou, David(ChunMing) <David1.Zhou@xxxxxxx>; LKML <linux- > kernel@xxxxxxxxxxxxxxx>; dri-devel@xxxxxxxxxxxxxxxxxxxxx; Anthony Wong > <anthony.wong@xxxxxxxxxxxxx>; amd-gfx list <amd- > gfx@xxxxxxxxxxxxxxxxxxxxx>; Deucher, Alexander > <Alexander.Deucher@xxxxxxx>; Koenig, Christian > <Christian.Koenig@xxxxxxx> > Subject: Re: [Regression] "drm/amdgpu: enable gfxoff again on raven series > (v2)" > > On 2019-08-08 8:29 a.m., Huang, Ray wrote: > >> From: Kai-Heng Feng <kai.heng.feng@xxxxxxxxxxxxx> at 00:03, Huang, > >> Ray <Ray.Huang@xxxxxxx> wrote: > >> > >>> May I know the all firmware version in your system? > > > > Seems to the issue we encountered with IOMMU enabled. Could you > please disable iommu in SBIOS or GRUB? > > The driver needs to work with the IOMMU enabled. If nothing else, ROCm > only works with IOMMU I think. > Yes. ROCm in APU required IOMMU v2. So far, I am asking Kai-Heng to do some tests to make sure the issue that was encountered by us before. (+ Marek) Thanks, Ray > > -- > Earthling Michel Dänzer | https://www.amd.com > Libre software enthusiast | Mesa and X developer |
_______________________________________________ amd-gfx mailing list amd-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/amd-gfx