OSDN Git Service

drm/amdgpu/vcn2: notify SMU power up/down VCN
authorJack Xiao <Jack.Xiao@amd.com>
Thu, 18 Apr 2019 08:20:10 +0000 (16:20 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:27 +0000 (18:59 -0500)
commitc113ba157f41325e62e434f21e7235e9e829ea65
tree6bb15a4fdb33392a4762a1516e9a4ac2c500cc15
parent8a33c4f1945cdecc585eee6a94aa06fb9c85668c
drm/amdgpu/vcn2: notify SMU power up/down VCN

For sw control power gating, it needs notify SMU to power up/down VCN
when enter/exit working state.

Signed-off-by: Jack Xiao <Jack.Xiao@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c