drm/amdgpu: sw pstate switch should only be for vega20
authorJonathan Kim <jonathan.kim@amd.com>
Fri, 24 Apr 2020 22:16:06 +0000 (18:16 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Apr 2020 19:51:42 +0000 (15:51 -0400)
commitdfe31f255fd62655de63ecc45b0e5d1b0504eabb
tree6842983df71877bc40c01ca152ee5efd30d45360
parentd18ba57c725e71b612f195e527f202a182649595
drm/amdgpu: sw pstate switch should only be for vega20

Driver steered p-state switching is designed for Vega20 only.
Also simplify early return for temporary disable due to SMU FW
bug.

Signed-off-by: Jonathan Kim <Jonathan.Kim@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c