diff options
| author | Jack Xiao <[email protected]> | 2020-03-26 16:38:05 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-05-04 14:03:17 +0000 |
| commit | 2bc956ef54415e0f7240ebb6d269c5ec1e12a46d (patch) | |
| tree | 023bd61ef61d73a2e1f7b424bffb360e94cfdf3c /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
| parent | drm/amdgpu: add helper function to initialize mqd from ring v4 (diff) | |
| download | kernel-2bc956ef54415e0f7240ebb6d269c5ec1e12a46d.tar.gz kernel-2bc956ef54415e0f7240ebb6d269c5ec1e12a46d.zip | |
drm/amdgpu: add the per-context meta data v3
The per-context meta data is a per-context data structure associated
with a mes-managed hardware ring, which includes MCBP CSA, ring buffer
and etc.
v2: fix typo
v3: a. use structure instead of typedef
b. move amdgpu_mes_ctx_get_offs_* to amdgpu_ring.h
c. use __aligned to make alignement
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.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index b31321be2c25..c10c3d50bfd8 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h @@ -91,6 +91,7 @@ #include "amdgpu_dm.h" #include "amdgpu_virt.h" #include "amdgpu_csa.h" +#include "amdgpu_mes_ctx.h" #include "amdgpu_gart.h" #include "amdgpu_debugfs.h" #include "amdgpu_job.h" |
