amdgpu/vce3: Simplify vce_v3_0_hw_init and ensure both rings default to not ready.
authorTom St Denis <tom.stdenis@amd.com>
Tue, 15 Dec 2015 15:55:34 +0000 (10:55 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Jan 2016 22:20:54 +0000 (17:20 -0500)
commit691ca86a3a15a9c5054edb3c517a1aeb40e9fadc
treeb37b665e7325cc4c2f2e75ce4ae11b21e6dc7920
parent74af12762de65cbbc11e11501dacd652fae75de9
amdgpu/vce3: Simplify vce_v3_0_hw_init and ensure both rings default to not ready.

Simplified the ring test and added logic to ensure rings are marked not ready
by default.

Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/amd/amdgpu/vce_v3_0.c