Skip to content

Commit 79af060

Browse files
Lijo Lazaralexdeucher
authored andcommitted
drm/amdgpu: Fix offset for HDP remap in nbio v7.11
APUs in passthrough mode use HDP flush. 0x7F000 offset used for remapping HDP flush is mapped to VPE space which could get power gated. Use another unused offset in BIF space. Signed-off-by: Lijo Lazar <lijo.lazar@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit d8116a3) Cc: stable@vger.kernel.org
1 parent 9397204 commit 79af060

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/amdgpu/nbio_v7_11.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ static void nbio_v7_11_get_clockgating_state(struct amdgpu_device *adev,
360360
*flags |= AMD_CG_SUPPORT_BIF_LS;
361361
}
362362

363-
#define MMIO_REG_HOLE_OFFSET (0x80000 - PAGE_SIZE)
363+
#define MMIO_REG_HOLE_OFFSET 0x44000
364364

365365
static void nbio_v7_11_set_reg_remap(struct amdgpu_device *adev)
366366
{

0 commit comments

Comments
 (0)