OSDN Git Service

drm/amd/powerplay: Change the allocate method of dpm context for smu11.
authorLikun Gao <Likun.Gao@amd.com>
Wed, 26 Dec 2018 03:07:57 +0000 (11:07 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:56 +0000 (15:03 -0500)
commitd76c9e2412667e54740a52c7c582b02351ad633c
tree6255f5222165aad7349c4eb57d328ccc25cfa1f5
parent00bfaec829c3d2cc89d4f36236d85c6f139aedaf
drm/amd/powerplay: Change the allocate method of dpm context for smu11.

Change the allocate method of dpm context as dpm_table is different bewteen
vega20 and smu11.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/smu_v11_0.c
drivers/gpu/drm/amd/powerplay/vega20_ppt.c
drivers/gpu/drm/amd/powerplay/vega20_ppt.h