drm/amdgpu: cleanup entity picking
authorChristian König <christian.koenig@amd.com>
Wed, 19 Aug 2015 15:37:52 +0000 (17:37 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Aug 2015 14:41:52 +0000 (10:41 -0400)
commitf85a6dd9ebd1bcaeb2f31cca71537e62606a23c2
treefe1fea8f99316d596c2cbf5b3c22b92c51d8ec2d
parent9788ec40322ef40d64f6d4276248f40666dc4505
drm/amdgpu: cleanup entity picking

Cleanup function name, stop checking scheduler ready twice, but
check if kernel thread should stop instead.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
drivers/gpu/drm/amd/scheduler/gpu_scheduler.c