diff options
| author | Jiadong Zhu <[email protected]> | 2024-07-04 04:10:59 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-09-02 15:41:03 +0000 |
| commit | 8b2429a13feaee01d62bc248417343586f6fa489 (patch) | |
| tree | 16cc0e028159eea8af3b8f695bc0b1a987f8b39a /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | |
| parent | drm/amdgpu/gfx12: fallback to driver reset compute queue directly (diff) | |
| download | kernel-8b2429a13feaee01d62bc248417343586f6fa489.tar.gz kernel-8b2429a13feaee01d62bc248417343586f6fa489.zip | |
drm/amdgpu/mes: modify mes api for mmio queue reset
Add me/pipe/queue parameters for queue reset input.
v2: fix build (Alex)
Acked-by: Vitaly Prosyak <[email protected]>
Signed-off-by: Jiadong Zhu <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c index 44c74a08987d..0f0790292491 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c @@ -873,7 +873,8 @@ int amdgpu_mes_unmap_legacy_queue(struct amdgpu_device *adev, int amdgpu_mes_reset_legacy_queue(struct amdgpu_device *adev, struct amdgpu_ring *ring, - unsigned int vmid) + unsigned int vmid, + bool use_mmio) { struct mes_reset_legacy_queue_input queue_input; int r; |
