diff options
author | 2023-09-06 11:35:04 -0400 | |
---|---|---|
committer | 2023-09-11 18:19:42 -0400 | |
commit | 1832403cd41ca6b19b24e9d64f79cb08d920ca44 (patch) | |
tree | efd5d8f4d50d972e4c02bad4ef3024fe7f1ca5dc /drivers/gpu/drm/amd/amdgpu | |
parent | drm/amd/display: Don't check registers, if using AUX BL control (diff) | |
download | linux-1832403cd41ca6b19b24e9d64f79cb08d920ca44.tar.gz linux-1832403cd41ca6b19b24e9d64f79cb08d920ca44.tar.bz2 linux-1832403cd41ca6b19b24e9d64f79cb08d920ca44.zip |
drm/amdgpu/soc21: don't remap HDP registers for SR-IOV
This matches the behavior for soc15 and nv.
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Timmy Tsai <timmtsai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/soc21.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc21.c b/drivers/gpu/drm/amd/amdgpu/soc21.c index 40d23738ee4e..8b2ff2b281b0 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc21.c +++ b/drivers/gpu/drm/amd/amdgpu/soc21.c @@ -766,7 +766,7 @@ static int soc21_common_hw_init(void *handle) * for the purpose of expose those registers * to process space */ - if (adev->nbio.funcs->remap_hdp_registers) + if (adev->nbio.funcs->remap_hdp_registers && !amdgpu_sriov_vf(adev)) adev->nbio.funcs->remap_hdp_registers(adev); /* enable the doorbell aperture */ adev->nbio.funcs->enable_doorbell_aperture(adev, true); |