Re: [PATCH v1 7/9] drm/amd/pm: add sysfs attribute access wrappers

2024-09-30 Thread Pierre-Eric Pelloux-Prayer
Le 25/09/2024 à 09:54, Pierre-Eric Pelloux-Prayer a écrit : All attributes do the same thing wrt to runtime power management, so we can consolidate the handling in 2 wrappers. For some setters this will change the behavior slightly, as rpm is now done before arguments validation - so the devi

[PATCH v1 7/9] drm/amd/pm: add sysfs attribute access wrappers

2024-09-25 Thread Pierre-Eric Pelloux-Prayer
All attributes do the same thing wrt to runtime power management, so we can consolidate the handling in 2 wrappers. For some setters this will change the behavior slightly, as rpm is now done before arguments validation - so the device will be resumed even if the arguments passed in are incorrect.