]> git.itanic.dy.fi Git - linux-stable/commit
drm/amdgpu: fix AGP init order
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Nov 2023 19:07:44 +0000 (14:07 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Nov 2023 21:59:46 +0000 (16:59 -0500)
commitbff3315ba8b1d81655743136bfc38514e820a739
tree1059ab23f989f96c9ced2608115567ee13d87022
parent20238a2cc9a6a926f9f47ae4ae9edd1bc98f278c
drm/amdgpu: fix AGP init order

The default AGP settings were overwriting the IP selected
ones since the default was getting set after the IP ones
were selected.

Fixes: de59b69932e6 ("drm/amdgpu/gmc: set a default disable value for AGP")
Link: https://lists.freedesktop.org/archives/amd-gfx/2023-November/100966.html
Tested-by: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c