Re: [PATCH 1/1] amdgpu/pm: restructure reporting of clock values by smu

2021-11-17 Thread Alex Deucher
On Wed, Nov 17, 2021 at 2:12 AM Lazar, Lijo wrote: > > > > On 11/17/2021 11:50 AM, Darren Powell wrote: > > Use of sysfs_emit by each of the specific device implementations is > > problematic. > > To remove this back to a higher level, this patch adds a new function > > "get_clock_levels" >

Re: [PATCH 1/1] amdgpu/pm: restructure reporting of clock values by smu

2021-11-16 Thread Lazar, Lijo
On 11/17/2021 11:50 AM, Darren Powell wrote: Use of sysfs_emit by each of the specific device implementations is problematic. To remove this back to a higher level, this patch adds a new function "get_clock_levels" to the power-management API (amd_pm_funcs) and smu powerplay API (ppta

[PATCH 1/1] amdgpu/pm: restructure reporting of clock values by smu

2021-11-16 Thread Darren Powell
Use of sysfs_emit by each of the specific device implementations is problematic. To remove this back to a higher level, this patch adds a new function "get_clock_levels" to the power-management API (amd_pm_funcs) and smu powerplay API (pptable_funcs). The function returns an array of values