drm/amdgpu: Move common code to amdgpu_gfx.c
authorHawking Zhang <Hawking.Zhang@amd.com>
Tue, 5 Mar 2019 14:05:02 +0000 (22:05 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 02:24:54 +0000 (21:24 -0500)
commit849aca9f9c033af8e8342193425bcbf1a9340817
treefa0b1cb2fc1b53f81db85b64b1ec9805a0119e9f
parentba0c13b7747ba0157603414366bbe5a00a2f32cd
drm/amdgpu: Move common code to amdgpu_gfx.c

move common code to amdgpu_gfx_enable_kcq,so
this function can be shared with gfx8 and gfx9

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@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