drm/amd/pm: enable DCS
authorKenneth Feng <kenneth.feng@amd.com>
Wed, 3 Feb 2021 10:40:52 +0000 (18:40 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Feb 2021 20:27:57 +0000 (15:27 -0500)
commit680602d6c2d6ac850302b0cf4c03dcc6d9ea0fae
treefd13fc3ae0aae0d1feec0588a0e68d942e3ad7de
parente83db77487d3cf9d42a5d417d39fc7af16fb6f1c
drm/amd/pm: enable DCS

Enable DCS

V1: Enable Async DCS.
V2: Add the ppfeaturemask bit to enable from the modprobe parameter.
V3:
1. add the flag to skip APU support.
2. remove the hunk for workload selection since
it doesn't impact the function.

Signed-off-by: Kenneth Feng <kenneth.feng@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/include/amd_shared.h
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c