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.hu...@amd.com>
Sent: Thursday, August 8, 2019 4:14 AM
To: Michel Dänzer <mic...@daenzer.net>; Kai-Heng Feng 
<kai.heng.f...@canonical.com>; Olsak, Marek <marek.ol...@amd.com>
Cc: Zhou, David(ChunMing) <david1.z...@amd.com>; LKML 
<linux-ker...@vger.kernel.org>; dri-devel@lists.freedesktop.org 
<dri-devel@lists.freedesktop.org>; Anthony Wong <anthony.w...@canonical.com>; 
amd-gfx list <amd-...@lists.freedesktop.org>; Deucher, Alexander 
<alexander.deuc...@amd.com>; Koenig, Christian <christian.koe...@amd.com>
Subject: RE: [Regression] "drm/amdgpu: enable gfxoff again on raven series (v2)"

> -----Original Message-----
> From: Michel Dänzer <mic...@daenzer.net>
> Sent: Thursday, August 08, 2019 4:10 PM
> To: Huang, Ray <ray.hu...@amd.com>; Kai-Heng Feng
> <kai.heng.f...@canonical.com>
> Cc: Zhou, David(ChunMing) <david1.z...@amd.com>; LKML <linux-
> ker...@vger.kernel.org>; dri-devel@lists.freedesktop.org; Anthony Wong
> <anthony.w...@canonical.com>; amd-gfx list <amd-
> g...@lists.freedesktop.org>; Deucher, Alexander
> <alexander.deuc...@amd.com>; Koenig, Christian
> <christian.koe...@amd.com>
> 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.f...@canonical.com> at 00:03, Huang,
> >> Ray <ray.hu...@amd.com> 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
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to