drm/amd/powerpaly: fix navi series custom peak level value error
authorKevin Wang <kevin1.wang@amd.com>
Wed, 21 Aug 2019 02:58:19 +0000 (10:58 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Aug 2019 16:30:45 +0000 (11:30 -0500)
commit706feb26f890e1b8297b5d14975160de361edf4f
treec3f001f64511aa09283e57bec34319fe793e3406
parent64cc5414fbf673cf676e257f9d6c999357947488
drm/amd/powerpaly: fix navi series custom peak level value error

fix other navi asic set peak performance level error.
because the navi10_ppt.c will handle navi12 14 asic,
it will use navi10 peak value to set other asic, it is not correct.

after patch:
only navi10 use custom peak value, other asic will used default value.

Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/navi10_ppt.c