summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2018-08-22 13:45:25 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-06-20 21:21:06 -0500
commitba0c13b7747ba0157603414366bbe5a00a2f32cd (patch)
tree4335a082dc9eeff01de757dcf95baf9f42572eef /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
parentbc4a6f71355f8abda43b379a5c86735f1de57e58 (diff)
downloadtalos-op-linux-ba0c13b7747ba0157603414366bbe5a00a2f32cd.tar.gz
talos-op-linux-ba0c13b7747ba0157603414366bbe5a00a2f32cd.zip
drm/amdgpu: Add common gfx func Disable kcq via kiq
so can be shared with gfx8 and gfx9 Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
index 14d6f01db27b..b22421f2b6fe 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
@@ -353,6 +353,7 @@ int amdgpu_gfx_kiq_init(struct amdgpu_device *adev,
int amdgpu_gfx_mqd_sw_init(struct amdgpu_device *adev,
unsigned mqd_size);
void amdgpu_gfx_mqd_sw_fini(struct amdgpu_device *adev);
+int amdgpu_gfx_disable_kcq(struct amdgpu_device *adev);
void amdgpu_gfx_compute_queue_acquire(struct amdgpu_device *adev);
void amdgpu_gfx_graphics_queue_acquire(struct amdgpu_device *adev);
OpenPOWER on IntegriCloud