diff options
| author | Alex Deucher <[email protected]> | 2023-04-24 18:24:20 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-06-09 13:28:28 +0000 |
| commit | 1156e1a60f024ce29fbb88dd330c2be81c4303ea (patch) | |
| tree | 312e3263e808d17e34ada06ee5f8d1eb7c1d67bd /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | |
| parent | drm/amd/display: 3.2.234 (diff) | |
| download | kernel-1156e1a60f024ce29fbb88dd330c2be81c4303ea.tar.gz kernel-1156e1a60f024ce29fbb88dd330c2be81c4303ea.zip | |
drm/amdgpu: add [en/dis]able_kgq() functions
To replace the IP specific variants which are largely
duplicate.
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h index f1a2ce7b6aca..2755f00ac19a 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h @@ -433,6 +433,8 @@ int amdgpu_gfx_mqd_sw_init(struct amdgpu_device *adev, void amdgpu_gfx_mqd_sw_fini(struct amdgpu_device *adev, int xcc_id); int amdgpu_gfx_disable_kcq(struct amdgpu_device *adev, int xcc_id); int amdgpu_gfx_enable_kcq(struct amdgpu_device *adev, int xcc_id); +int amdgpu_gfx_disable_kgq(struct amdgpu_device *adev, int xcc_id); +int amdgpu_gfx_enable_kgq(struct amdgpu_device *adev, int xcc_id); void amdgpu_gfx_compute_queue_acquire(struct amdgpu_device *adev); void amdgpu_gfx_graphics_queue_acquire(struct amdgpu_device *adev); |
