amdgpu/vce3: Simplify idle and wait for idle code
authorTom St Denis <tom.stdenis@amd.com>
Tue, 15 Dec 2015 15:35:56 +0000 (10:35 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Jan 2016 22:20:13 +0000 (17:20 -0500)
commit92988e604b8a7c7d541396905433021eedfc28bb
tree3761d0dae4bcb3346d61163eed810a1d970a3cba
parent1dab5f067e1371e5ed88aa6c47a3cd800f061cfa
amdgpu/vce3: Simplify idle and wait for idle code

More LOC reductions in VCE3 code.  This patch simplifies the is_idle and
wait_for_idle logic.

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