diff options
| author | Alex Deucher <[email protected]> | 2023-03-20 16:22:49 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-04-24 22:15:54 +0000 |
| commit | 89d8445e4f5cfaf5c017c0bafb05f8bbaac59bf9 (patch) | |
| tree | 86e6b336df78b0cb6d1cdf87a0c7fc2b7d17c676 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | |
| parent | drm/amd/display: fix flickering caused by S/G mode (diff) | |
| download | kernel-89d8445e4f5cfaf5c017c0bafb05f8bbaac59bf9.tar.gz kernel-89d8445e4f5cfaf5c017c0bafb05f8bbaac59bf9.zip | |
drm/amdgpu/gfx11: add FW version check for new CP GFX shadow feature
Use this to determine if we support the new SET_Q_PREEMPTION_MODE
packet.
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 a2d311a4da5a..6c5f58a34e84 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h @@ -380,6 +380,8 @@ struct amdgpu_gfx { struct amdgpu_ring sw_gfx_ring[AMDGPU_MAX_SW_GFX_RINGS]; struct amdgpu_ring_mux muxer; + bool cp_gfx_shadow; /* for gfx11 */ + enum amdgpu_gfx_partition partition_mode; uint32_t num_xcd; uint32_t num_xcc_per_xcp; |
