[PATCH] drm/amd/amdgpu: disable GFXOFF around debugfs access to MMIO

Tom St Denis tom.stdenis at amd.com
Fri Feb 21 14:35:33 UTC 2020


On 2020-02-21 9:34 a.m., Huang Rui wrote:
> On Wed, Feb 19, 2020 at 10:09:46AM -0500, Tom St Denis wrote:
>> I got some messages after a while:
>>
>> [  741.788564] Failed to send Message 8.
>> [  746.671509] Failed to send Message 8.
>> [  748.749673] Failed to send Message 2b.
>> [  759.245414] Failed to send Message 7.
>> [  763.216902] Failed to send Message 2a.
>>
>> Are there any additional locks that should be held?  Because some commands
>> like --top or --waves can do a lot of distinct read operations (causing a
>> lot of enable/disable calls).
>>
>> I'm going to sit on this a bit since I don't think the patch is ready for
>> pushing out.
>>
> How about use RREG32_KIQ and WREG32_KIQ?


For all register accesses (in the debugfs read/write method)? Can we use 
those on all ASICs?


Tom



More information about the amd-gfx mailing list