]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/pp: Add struct profile_mode_setting for smu7
authorRex Zhu <Rex.Zhu@amd.com>
Tue, 23 Jan 2018 09:12:29 +0000 (17:12 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:18:47 +0000 (14:18 -0500)
commit2c67f18b8089c0cd211235fc40b6c54ee262488e
treeea84fccabd3bc0ab47f59084bdb7d71a6db45009
parent62c8ac3fa40fbe1cbad2c1c2443ee51d231e66a7
drm/amd/pp: Add struct profile_mode_setting for smu7

Move configurable profiling parameters to struct
profile_mode_setting and initialize current_profile_setting.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.h
drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c
drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c
drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c
drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c
drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c