1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/pm
Meng Tang b8cb6ab686 gpu/amd: vega10_hwmgr: fix inappropriate private variable name
In file vega10_hwmgr.c, the names of struct vega10_power_state *
and struct pp_power_state * are confusingly used, which may lead
to some confusion.

Status quo is that variables of type struct vega10_power_state *
are named "vega10_ps", "ps", "vega10_power_state". A more
appropriate usage is that struct are named "ps" is used for
variabled of type struct pp_power_state *.

So rename struct vega10_power_state * which are named "ps" and
"vega10_power_state" to "vega10_ps", I also renamed "psa" to
"vega10_psa" and "psb" to "vega10_psb" to make it more clearly.

The rows longer than 100 columns are involved.

Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Meng Tang <tangmeng@uniontech.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-03-02 18:40:05 -05:00
..
inc drm/amd/pm: correct the default DriverSmuConfig table settings 2022-02-16 16:57:34 -05:00
legacy-dpm drm/amd/pm: add missing prototypes to amdgpu_dpm_internal 2022-02-07 18:03:50 -05:00
powerplay gpu/amd: vega10_hwmgr: fix inappropriate private variable name 2022-03-02 18:40:05 -05:00
swsmu drm/amdgpu: add gfxoff support for smu 13.0.5 2022-02-25 11:51:18 -05:00
amdgpu_dpm.c amdgpu/pm: Implement new API function "emit" that accepts buffer base and write offset 2022-02-02 18:27:58 -05:00
amdgpu_dpm_internal.c drm/amd/pm: add missing prototypes to amdgpu_dpm_internal 2022-02-07 18:03:50 -05:00
amdgpu_pm.c amdgpu/pm: Disable managing hwmon sysfs attributes for ONEVF mode 2022-02-24 17:24:31 -05:00
Makefile drm/amd/pm: relocate the power related headers 2022-01-14 17:51:14 -05:00