Re: [PATCH] drm/amd/powerplay/smu7_hwmgr: replace blocking delay with non-blocking

From: Yrjan Skrimstad
Date: Sun Jun 16 2019 - 10:48:27 EST


On Thu, Jun 13, 2019 at 09:57:24AM -0400, Alex Deucher wrote:
> The patch is fine and I can apply it (I don't think there are any
> restrictions on sleeping in sysfs), but this code only gets executed
> when you actually read the power status from the card (e.g., via sysfs
> or debugfs). Presumably you have something in userspace polling one
> of those files on a regular basis?
>
> Alex

That is an interesting observation to me. I am actually running
lm-sensors, although only every 15 seconds. I suppose that this might
be the reason this happens to me.

- Yrjan