diff options
| author | Tianci.Yin <[email protected]> | 2022-04-06 18:11:38 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-05-04 13:57:26 +0000 |
| commit | 1c2014da77858af2da85b2f2917dbb00858bd869 (patch) | |
| tree | 9fa254cb7b1b81338b23a9b4edc63facbc980abb /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | |
| parent | drm/amdgpu: save the setting of VM_CONTEXT_CNTL (diff) | |
| download | kernel-1c2014da77858af2da85b2f2917dbb00858bd869.tar.gz kernel-1c2014da77858af2da85b2f2917dbb00858bd869.zip | |
drm/amdgpu: add gmc v11_0 ip block (v3)
Add support for GPU memory controller v11.
v1: Add support for gmc v11.0
Add gmc 11 block (Tianci)
v2: drop unused amdgpu_bo_late_init (Hawking)
v3: squash in various fix
Signed-off-by: Tianci.Yin <[email protected]>
Signed-off-by: Likun Gao <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-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 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h index ad8e7d486a7d..8e18d3fc4fab 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h @@ -335,8 +335,10 @@ struct amdgpu_gfx { DECLARE_BITMAP (pipe_reserve_bitmap, AMDGPU_MAX_COMPUTE_QUEUES); /*ras */ - struct ras_common_if *ras_if; - struct amdgpu_gfx_ras *ras; + struct ras_common_if *ras_if; + struct amdgpu_gfx_ras *ras; + + bool is_poweron; }; #define amdgpu_gfx_get_gpu_clock_counter(adev) (adev)->gfx.funcs->get_gpu_clock_counter((adev)) |
