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

Yrjan Skrimstad yrjan at skrimstad.net
Sun Jun 16 14:43:10 UTC 2019


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


More information about the dri-devel mailing list