OSDN Git Service

drm/amdgpu: move gfx_v*_0_compute_queue_acquire to common code
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Jun 2017 15:05:26 +0000 (11:05 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Jun 2017 19:43:28 +0000 (15:43 -0400)
commit41f6a99abdb423691b24c12f0a0578755b2c1126
treed3c6b25e148ef331cb29abe10fb2bd9a6f617dd4
parentcf8b611f55a775cc6514485e7dccf1c0e85b938d
drm/amdgpu: move gfx_v*_0_compute_queue_acquire to common code

Same function was duplicated in all gfx IP files.

Reviewed-by: Alex Xie <AlexBin.Xie@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c