drm/amdgpu: move preamble IB handling into common code
authorChristian König <christian.koenig@amd.com>
Fri, 6 May 2016 12:52:57 +0000 (14:52 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 May 2016 17:30:30 +0000 (13:30 -0400)
commit9f8fb5a2b339ba83493991ca8f1173a939a696d3
tree7a2e13996140d08ee2df803442e43c7e0dcbc529
parent914f9e18c859d9413058c3632aba54d348a6527e
drm/amdgpu: move preamble IB handling into common code

This fixes the handling which was completely broken when you
ad more than one preamble IB.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c