Skip to content

Commit

Permalink
Revert "drm/amdgpu/nbio7.4: add hw bug workaround for vega20"
Browse files Browse the repository at this point in the history
This reverts commit e01f2d4.

VG20 did not require this workaround, as the fix is in the VBIOS.
Leave VG10/12 workaround as some older shipped cards do not have the
VBIOS fix in place, and the kernel workaround is required in those
situations

Signed-off-by: Kent Russell <kent.russell@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
  • Loading branch information
kentrussell committed Sep 25, 2019
1 parent 8c55e44 commit 217c2b3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c
Original file line number Diff line number Diff line change
Expand Up @@ -307,13 +307,7 @@ static void nbio_v7_4_detect_hw_virt(struct amdgpu_device *adev)

static void nbio_v7_4_init_registers(struct amdgpu_device *adev)
{
uint32_t def, data;

def = data = RREG32_PCIE(smnPCIE_CI_CNTL);
data = REG_SET_FIELD(data, PCIE_CI_CNTL, CI_SLV_ORDERING_DIS, 1);

if (def != data)
WREG32_PCIE(smnPCIE_CI_CNTL, data);
}

static void nbio_v7_4_handle_ras_controller_intr_no_bifring(struct amdgpu_device *adev)
Expand Down

0 comments on commit 217c2b3

Please sign in to comment.