diff options
| author | Emily Deng <[email protected]> | 2025-02-07 06:00:00 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-03-14 03:13:02 +0000 |
| commit | 2da3af5f0b4deda735898f5c587be4324dda3fbd (patch) | |
| tree | e1ddda141ce489e9197922657bdade26f15293a4 /drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c | |
| parent | drm/amdgpu: Add amdgpu_sriov_multi_vf_mode function (diff) | |
| download | kernel-2da3af5f0b4deda735898f5c587be4324dda3fbd.tar.gz kernel-2da3af5f0b4deda735898f5c587be4324dda3fbd.zip | |
drm/amdgpu: set CP_HQD_PQ_DOORBELL_CONTROL.DOORBELL_MODE to 1 for sriov multiple vf.
In sriov multiple vf, Set CP_HQD_PQ_DOORBELL_CONTROL.DOORBELL_MODE to 1 to read WPTR from MQD.
Signed-off-by: Emily Deng <[email protected]>
Acked-by: Lijo Lazar <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c index 476542b6e7b5..efe45e4edfd7 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c @@ -1821,7 +1821,7 @@ static int gfx_v9_4_3_xcc_mqd_init(struct amdgpu_ring *ring, int xcc_id) DOORBELL_SOURCE, 0); tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_DOORBELL_CONTROL, DOORBELL_HIT, 0); - if (amdgpu_sriov_vf(adev)) + if (amdgpu_sriov_multi_vf_mode(adev)) tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_DOORBELL_CONTROL, DOORBELL_MODE, 1); } else { |
