diff options
| author | Alex Deucher <[email protected]> | 2023-06-16 20:49:04 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-06-30 17:12:14 +0000 |
| commit | 02ff519e99fc90f6c9aed50def1b6d65e20c1875 (patch) | |
| tree | 496d83221ee88ca682029f88f6cefc218bc27719 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | |
| parent | drm/amd: Don't initialize PSP twice for Navi3x (diff) | |
| download | kernel-02ff519e99fc90f6c9aed50def1b6d65e20c1875.tar.gz kernel-02ff519e99fc90f6c9aed50def1b6d65e20c1875.zip | |
drm/amdgpu: make mcbp a per device setting
So we can selectively enable it on certain devices. No
intended functional change.
Reviewed-and-tested-by: Jiadong Zhu <[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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h index ce0f7a8ad4b8..a4ff515ce896 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h @@ -434,6 +434,7 @@ struct amdgpu_gfx { uint16_t xcc_mask; uint32_t num_xcc_per_xcp; struct mutex partition_mutex; + bool mcbp; /* mid command buffer preemption */ }; struct amdgpu_gfx_ras_reg_entry { |
