drm/amdgpu: fix parameter error of RREG32_PCIE() in amdgpu_regs_pcie
authorKevin Wang <kevin1.wang@amd.com>
Tue, 2 Mar 2021 07:54:00 +0000 (15:54 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Mar 2021 10:11:13 +0000 (11:11 +0100)
commit3868a277e6fcd36eeb175ee43773f24388417fa1
treec2882d551b1dbf705ad2d0d2bcd1ce159aafa5e6
parentc2fee74ea801ad847589fac0d9ca3ba905579d95
drm/amdgpu: fix parameter error of RREG32_PCIE() in amdgpu_regs_pcie

commit 1aa46901ee51c1c5779b3b239ea0374a50c6d9ff upstream.

the register offset isn't needed division by 4 to pass RREG32_PCIE()

Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c