drm/amdgpu: Enable mcbp under sriov by default
Subsystems (2)
PATCH 1/1 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.
--- drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c +2 -2
@@ -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 ; }
Signature · 1 line
2.25.1
[AMD Official Use Only - General]
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of YuBiao Wang
Sent: Friday, April 28, 2023 2:05 PM
To: [email protected]
Cc: Wang, YuBiao <[email protected]>; Xu, Feifei <[email protected]>; Chen, Horace <[email protected]>; Kevin Wang <[email protected]>; Tuikov, Luben <[email protected]>; Deucher, Alexander <[email protected]>; Quan, Evan <[email protected]>; Koenig, Christian <[email protected]>; Liu, Monk <[email protected]>; Zhang, Hawking <[email protected]>
Subject: [PATCH] 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.
--- drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c +2 -2
@@ -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 ; }
--
2.25.1