drm/amd/powerplay: enable vcn powergating v2
authorKenneth Feng <kenneth.feng@amd.com>
Tue, 16 Apr 2019 08:47:10 +0000 (16:47 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:27 +0000 (18:59 -0500)
commitc4b76d23df24b096893efd315da9e44a732fd7a6
treea7a176daeb6ad8b2b4ffc2c2e8daf9e5b56d5b6e
parentc113ba157f41325e62e434f21e7235e9e829ea65
drm/amd/powerplay: enable vcn powergating v2

enable vcn powergating in driver for navi10

v2: set vcn pg bit according to AMD_PG_SUPPORT_VCN flag

Signed-off-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Jack Xiao <Jack.Xiao@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/navi10_ppt.c