drm/amdgpu: Add APU support in vi_set_vce_clocks
authorRex Zhu <Rex.Zhu@amd.com>
Tue, 10 Apr 2018 09:49:56 +0000 (17:49 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:43:08 +0000 (13:43 -0500)
commit08ebb6e9f4fd7098c28e0ebbb42847cf0488ebb8
treec9d852977b01c860d34eaef8607ec0dc49db77cd
parent819a23f83e3b2513cffbef418458a47ca02c36b3
drm/amdgpu: Add APU support in vi_set_vce_clocks

1. fix set vce clocks failed on Cz/St
   which lead 1s delay when boot up.
2. remove the workaround in vce_v3_0.c

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Acked-by: Shirish S <shirish.s@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/vce_v3_0.c
drivers/gpu/drm/amd/amdgpu/vi.c