]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3f4e87e44ba7d30ad806b72156add806b62adf87
tree3761d0dae4bcb3346d61163eed810a1d970a3cba
parent397c71c846b8cdf22d282d46e322ceaeb035a770
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