diff options
| author | Alex Deucher <alexander.deucher@amd.com> | 2023-09-06 11:35:04 -0400 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2023-09-11 17:14:50 -0400 |
| commit | 8a6e26e7efd5b04a529bbb2f028b7dee1dda5a2d (patch) | |
| tree | b8681b7fd3d5ba96d9105ab62bf4f2d77b5f6a62 | |
| parent | drm/amd/display: [FW Promotion] Release 0.0.181.0 (diff) | |
| download | linux-8a6e26e7efd5b04a529bbb2f028b7dee1dda5a2d.tar.gz linux-8a6e26e7efd5b04a529bbb2f028b7dee1dda5a2d.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>
| -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 ef297b41623b..2ecc8c9a078b 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc21.c +++ b/drivers/gpu/drm/amd/amdgpu/soc21.c @@ -778,7 +778,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); |
