drm/amd/pp: Add a new pp feature mask bit for OD feature
authorRex Zhu <Rex.Zhu@amd.com>
Thu, 4 Jan 2018 08:42:06 +0000 (16:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:17:55 +0000 (14:17 -0500)
commit11f64ff5f323d697d0e3be932aaaaa5b38b144cd
treed60a52b7c3b1cd1c9e4cfcddb361eb9199983e17
parent59fc8cde739bc81464d214b23fd717f24608eb75
drm/amd/pp: Add a new pp feature mask bit for OD feature

when this bit was set on module load,
driver will allow the user over/under gpu
clock and voltage through sysfs.

by default, this bit was not set.

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/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
drivers/gpu/drm/amd/powerplay/inc/hwmgr.h