aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorMeng Tang <tangmeng@uniontech.com>2022-02-25 17:47:22 +0800
committerAlex Deucher <alexander.deucher@amd.com>2022-03-02 18:40:05 -0500
commitb8cb6ab68674d7889c0dcfac2d542a63b9e36d82 (patch)
tree09fe2ed43f7174cb020ce5031808959160112250 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parent52e8da704d8d3ca8b951fbc39cf8d6bce5c33db8 (diff)
downloadlinux-b8cb6ab68674d7889c0dcfac2d542a63b9e36d82.tar.gz
linux-b8cb6ab68674d7889c0dcfac2d542a63b9e36d82.tar.bz2
linux-b8cb6ab68674d7889c0dcfac2d542a63b9e36d82.zip
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions