Re: [PATCH 10/13] drm/amdgpu: Catch register access while GMUX keeps the GPU off
From: Alex Deucher
Date: Tue Oct 27 2026 - 11:30:47 EST
On Tue, Oct 27, 2026 at 4:29 AM Atharva Tiwari
<atharvatiwarilinuxdev@xxxxxxxxx> wrote:
>
> > You can drop this. Nothing about this is GMUX specific.
>
> I agree, but there needs to be another variable. Using pm_runtime_suspended
> or using any other pm function will not work, as amdgpu_pmops_runtime_resume
> also requires hardware access and even though hardware is accessable by then
> pm core will show that its runtime suspended.
>
I guess the runpm code doesn't update the status until after
resume/suspend? If so, call it something like runpm_active.
Alex