diff options
| author | YuBiao Wang <[email protected]> | 2023-04-28 06:00:40 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-06-09 13:25:50 +0000 |
| commit | d446127107e8185c2dc750cd4d0c5ff697a694f6 (patch) | |
| tree | 302753a1e0686f67a00502c97d6d8307632ea2ed /drivers/gpu/drm/amd/amdgpu | |
| parent | drm/amdgpu: remove pasid_src field from IV entry (diff) | |
| download | kernel-d446127107e8185c2dc750cd4d0c5ff697a694f6.tar.gz kernel-d446127107e8185c2dc750cd4d0c5ff697a694f6.zip | |
drm/amdgpu: Enable mcbp under sriov by default
Enable mcbp under sriov by default. Asics with soc21 supports mcbp now
so we should set it enabled.
Signed-off-by: YuBiao Wang <[email protected]>
Reviewed-by: Horace Chen <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c index 9dd474262c29..1311e42ab8e9 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c @@ -65,8 +65,8 @@ void amdgpu_virt_init_setting(struct amdgpu_device *adev) adev->cg_flags = 0; adev->pg_flags = 0; - /* enable mcbp for sriov asic_type before soc21 */ - amdgpu_mcbp = (adev->asic_type < CHIP_IP_DISCOVERY) ? 1 : 0; + /* enable mcbp for sriov */ + amdgpu_mcbp = 1; } |
