OSDN Git Service

drm/amd/pp: Allow underclocking when od table is empty in vbios
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 30 May 2018 08:52:22 +0000 (16:52 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 31 May 2018 19:07:46 +0000 (14:07 -0500)
commit46defdd6fff70edf6bd21848ee75d927c36e4153
tree41328c5b876b821d995b144daf30ff2ed2d95add
parent9dac0c3fb41056ae48b93e679c2a796c4dcfa8ed
drm/amd/pp: Allow underclocking when od table is empty in vbios

if max od engine clock limit and memory clock limit are not set
in vbios. driver will allow underclocking instand of disable od feature
completely.

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/process_pptables_v1_0.c
drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c