[AMD Official Use Only - AMD Internal Distribution Only]

This patch was
Reviewed-by: Likun Gao <[email protected]>.

Regards,
Likun

-----Original Message-----
From: Min, Frank <[email protected]>
Sent: Monday, May 13, 2024 4:56 PM
To: [email protected]
Cc: Deucher, Alexander <[email protected]>; Koenig, Christian 
<[email protected]>; Zhang, Hawking <[email protected]>; Gao, Likun 
<[email protected]>
Subject: [PATCH] drm/amdgpu: add initial value for gfx12 AGP aperture

[AMD Official Use Only - AMD Internal Distribution Only]

From: Frank Min <[email protected]>

add initial value for gfx12 AGP aperture

Signed-off-by: Frank Min <[email protected]>
---
 drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c 
b/drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c
index 34264a33dcdf..b876300bb9f6 100644
--- a/drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c
@@ -622,6 +622,7 @@ static void gmc_v12_0_vram_gtt_location(struct 
amdgpu_device *adev,

        base = adev->mmhub.funcs->get_fb_location(adev);

+       amdgpu_gmc_set_agp_default(adev, mc);
        amdgpu_gmc_vram_location(adev, &adev->gmc, base);
        amdgpu_gmc_gart_location(adev, mc, AMDGPU_GART_PLACEMENT_LOW);
        if (!amdgpu_sriov_vf(adev) && (amdgpu_agp == 1))
--
2.34.1


Reply via email to