]> git.dujemihanovic.xyz Git - linux.git/commit
drm/amdgpu: Fix selfring initialization sequence on soc24
authorDavid Belanger <david.belanger@amd.com>
Wed, 11 Sep 2024 15:16:50 +0000 (11:16 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Sep 2024 20:14:47 +0000 (16:14 -0400)
commit03b5038c0ad069380fab7e251d2bf3f1540d20f4
treee645b6069e208b474e461e07426ac358b3d14768
parent3c75518cf27aa5a7e22e1f8f33339ded3779079b
drm/amdgpu: Fix selfring initialization sequence on soc24

Move enable_doorbell_selfring_aperture from common_hw_init
to common_late_init in soc24, otherwise selfring aperture is
initialized with an incorrect doorbell aperture base.

Port changes from this commit from soc21 to soc24:
commit 1c312e816c40 ("drm/amdgpu: Enable doorbell selfring after resize FB BAR")

Signed-off-by: David Belanger <david.belanger@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 6.11.x
drivers/gpu/drm/amd/amdgpu/soc24.c