drm/amdgpu: cleanup amdgpu_cs_parser handling
authorChristian König <christian.koenig@amd.com>
Wed, 4 Nov 2015 14:44:39 +0000 (15:44 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Nov 2015 16:05:52 +0000 (11:05 -0500)
commit7e52a81c2f0326a85d3ebc005829bcd604731c6d
tree6e651ae3f7cac9705cb2f752f705871d9db37900
parente4a58a28b50f30e72292b6659d94410cbf7355ad
drm/amdgpu: cleanup amdgpu_cs_parser handling

No need any more to allocate that structure dynamically, just put it on the
stack. This is a start to cleanup some of the scheduler fallouts.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c