diff options
| author | Jack Xiao <[email protected]> | 2020-03-27 06:50:01 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-05-04 14:43:51 +0000 |
| commit | b04c1d64685ecc45f68c6e3667d662cf8633d027 (patch) | |
| tree | b3c99ab4892a8c161b0b14b3ce27f42bcb2ec18f /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h | |
| parent | drm/amdgpu: add mes queue id mask v2 (diff) | |
| download | kernel-b04c1d64685ecc45f68c6e3667d662cf8633d027.tar.gz kernel-b04c1d64685ecc45f68c6e3667d662cf8633d027.zip | |
drm/amdgpu/mes: initialize/finalize common mes structure v2
Initialize/finalize common mes structure.
v2: add mutex_init for adev->mes.mutex
Cc: Le Ma <[email protected]>
Signed-off-by: Jack Xiao <[email protected]>
Acked-by: Christian König <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h index 35a6bb2b4be8..45c0a246b618 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h @@ -208,6 +208,10 @@ struct amdgpu_mes_funcs { struct mes_resume_gang_input *input); }; + #define amdgpu_mes_kiq_hw_init(adev) (adev)->mes.kiq_hw_init((adev)) +int amdgpu_mes_init(struct amdgpu_device *adev); +void amdgpu_mes_fini(struct amdgpu_device *adev); + #endif /* __AMDGPU_MES_H__ */ |
