drm/amd/pp: Set Max clock level to display by default
authorRex Zhu <rex.zhu@amd.com>
Tue, 17 Jul 2018 10:31:50 +0000 (18:31 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 20 Jul 2018 19:24:00 +0000 (14:24 -0500)
commit97e8f102f5a9123d30258e196c6c1ea29cf52e83
treeb7b8e70b9644d9061ccb01e959876ece07c7d356
parenta0c3bf0ff40d6c482d381fe2c577a4e6c50f522f
drm/amd/pp: Set Max clock level to display by default

avoid the error in dmesg:
[drm:dm_pp_get_static_clocks]
*ERROR* DM_PPLIB: invalid powerlevel state: 0!

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@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/amd_powerplay.c