drm/amdgpu: cleanup entity init
authorChristian König <christian.koenig@amd.com>
Mon, 7 Sep 2015 16:07:14 +0000 (18:07 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Sep 2015 21:23:37 +0000 (17:23 -0400)
commit0f75aee75112934bcaf42410df5c51d7194b5896
tree5c0cf18ae6527c7c55960bc18ce1e2d74567e375
parenta6db8a33e164ae72fb5429ab637e8cfee057a722
drm/amdgpu: cleanup entity init

Reorder the fields and properly return the kfifo_alloc error code.

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