drm/amdgpu: enable AGP aperture on gmc10.x
Subsystems (2)
PATCH 1/1 drm/amdgpu: enable AGP aperture on gmc10.x
Just a small optimization for accessing system pages directly. Was missed for gmc v10 since the feature landed for older gmcs while we were still on the emulator or gmc10 and we use the AGP aperture for zfb on the emulator.
--- drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c | 6 +++--- drivers/gpu/drm/amd/amdgpu/gfxhub_v2_1.c | 6 +++--- drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 1 + drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c | 6 +++--- drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c | 4 ++-- 5 files changed, 12 insertions(+), 11 deletions(-)
drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c +3 -3
@@ -153,10 +153,10 @@ static void gfxhub_v2_0_init_system_aperture_regs(struct amdgpu_device *adev)uint64_t value;if (!amdgpu_sriov_vf (adev)) { -/* Disable AGP. */ +/* Program the AGP BAR */ WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_BASE,0 ); -WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_TOP,0 ); -WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_BOT,0x00FFFFFF ); +WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_BOT, adev->gmc.agp_start >>24 ); +WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_TOP, adev->gmc.agp_end >>24 );/* Program the system aperture low logical page number. */ WREG32_SOC15(GC, 0, mmGCMC_VM_SYSTEM_APERTURE_LOW_ADDR,
drivers/gpu/drm/amd/amdgpu/gfxhub_v2_1.c +3 -3
@@ -152,10 +152,10 @@ static void gfxhub_v2_1_init_system_aperture_regs(struct amdgpu_device *adev) {uint64_t value; -/* Disable AGP. */ +/* Program the AGP BAR */ WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_BASE,0 ); -WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_TOP,0 ); -WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_BOT,0x00FFFFFF ); +WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_BOT, adev->gmc.agp_start >>24 ); +WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_TOP, adev->gmc.agp_end >>24 );/* Program the system aperture low logical page number. */ WREG32_SOC15(GC, 0, mmGCMC_VM_SYSTEM_APERTURE_LOW_ADDR,
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c +1 -0
@@ -738,6 +738,7 @@ static void gmc_v10_0_vram_gtt_location(struct amdgpu_device *adev,amdgpu_gmc_vram_location (adev, &adev->gmc, base);amdgpu_gmc_gart_location (adev, mc); +amdgpu_gmc_agp_location (adev, mc);/* base offset of vram pages */ adev->vm_manager.vram_base_offset = adev->gfxhub.funcs->get_mc_fb_offset (adev);
drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c +3 -3
@@ -195,10 +195,10 @@ static void mmhub_v2_0_init_system_aperture_regs(struct amdgpu_device *adev)uint64_t value;uint32_t tmp; -/* Disable AGP. */ +/* Program the AGP BAR */ WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_BASE,0 ); -WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_TOP,0 ); -WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_BOT,0x00FFFFFF ); +WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_BOT, adev->gmc.agp_start >>24 ); +WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_TOP, adev->gmc.agp_end >>24 );if (!amdgpu_sriov_vf (adev)) {/* Program the system aperture low logical page number. */
drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c +2 -2
@@ -152,8 +152,8 @@ static void mmhub_v2_3_init_system_aperture_regs(struct amdgpu_device *adev)/* Disable AGP. */ WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_BASE,0 ); -WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_TOP,0 ); -WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_BOT,0x00FFFFFF ); +WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_BOT, adev->gmc.agp_start >>24 ); +WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_TOP, adev->gmc.agp_end >>24 );/* Program the system aperture low logical page number. */ WREG32_SOC15(MMHUB, 0, mmMMMC_VM_SYSTEM_APERTURE_LOW_ADDR,
Signature · 6 lines
2.25.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Am 30.11.20 um 16:47 schrieb Alex Deucher:
Quoted 6 lines
Just a small optimization for accessing system pages directly. Was missed for gmc v10 since the feature landed for older gmcs while we were still on the emulator or gmc10 and we use the AGP aperture for zfb on the emulator.
Signed-off-by Alex Deucher <[email protected]>
Quoted 79 lines
--- drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c | 6 +++--- drivers/gpu/drm/amd/amdgpu/gfxhub_v2_1.c | 6 +++--- drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 1 + drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c | 6 +++--- drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c | 4 ++-- 5 files changed, 12 insertions(+), 11 deletions(-)drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c +3
-3@@ -153,10 +153,10 @@ static void gfxhub_v2_0_init_system_aperture_regs(struct amdgpu_device *adev)uint64_t value;if (!amdgpu_sriov_vf (adev)) { -/* Disable AGP. */ +/* Program the AGP BAR */ WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_BASE,0 ); -WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_TOP,0 ); -WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_BOT,0x00FFFFFF ); +WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_BOT, adev->gmc.agp_start >>24 ); +WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_TOP, adev->gmc.agp_end >>24 );/* Program the system aperture low logical page number. */ WREG32_SOC15(GC, 0, mmGCMC_VM_SYSTEM_APERTURE_LOW_ADDR,drivers/gpu/drm/amd/amdgpu/gfxhub_v2_1.c +3
-3@@ -152,10 +152,10 @@ static void gfxhub_v2_1_init_system_aperture_regs(struct amdgpu_device *adev) {uint64_t value; -/* Disable AGP. */ +/* Program the AGP BAR */ WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_BASE,0 ); -WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_TOP,0 ); -WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_BOT,0x00FFFFFF ); +WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_BOT, adev->gmc.agp_start >>24 ); +WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_TOP, adev->gmc.agp_end >>24 );/* Program the system aperture low logical page number. */ WREG32_SOC15(GC, 0, mmGCMC_VM_SYSTEM_APERTURE_LOW_ADDR,drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c +1
-0@@ -738,6 +738,7 @@ static void gmc_v10_0_vram_gtt_location(struct amdgpu_device *adev,amdgpu_gmc_vram_location (adev, &adev->gmc, base);amdgpu_gmc_gart_location (adev, mc); +amdgpu_gmc_agp_location (adev, mc);/* base offset of vram pages */ adev->vm_manager.vram_base_offset = adev->gfxhub.funcs->get_mc_fb_offset (adev);drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c +3
-3@@ -195,10 +195,10 @@ static void mmhub_v2_0_init_system_aperture_regs(struct amdgpu_device *adev)uint64_t value;uint32_t tmp; -/* Disable AGP. */ +/* Program the AGP BAR */ WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_BASE,0 ); -WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_TOP,0 ); -WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_BOT,0x00FFFFFF ); +WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_BOT, adev->gmc.agp_start >>24 ); +WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_TOP, adev->gmc.agp_end >>24 );if (!amdgpu_sriov_vf (adev)) {/* Program the system aperture low logical page number. */ drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c +0
-0
drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c static void mmhub_v2_3_init_system_aperture_regs(struct amdgpu_device *adev) · line 159
Quoted 10 lines
drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c +2
-2@@ -152,8 +152,8 @@ static void mmhub_v2_3_init_system_aperture_regs(struct amdgpu_device *adev)/* Disable AGP. */ WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_BASE,0 ); -WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_TOP,0 ); -WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_BOT,0x00FFFFFF ); +WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_BOT, adev->gmc.agp_start >>24 ); +WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_TOP, adev->gmc.agp_end >>24 );/* Program the system aperture low logical page number. */ WREG32_SOC15(MMHUB, 0, mmMMMC_VM_SYSTEM_APERTURE_LOW_ADDR,
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
[AMD Official Use Only - Internal Distribution Only]
Hi Alex,
The followings seem missing in programming mmMMMC_VM_SYSTEM_APERTURE_LOW/HIGH_ADDR. min(adev->gmc.fb_start, adev->gmc.agp_start)max(adev->gmc.fb_end, adev->gmc.agp_end)
BR
Evan
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Alex Deucher
Sent: Monday, November 30, 2020 11:47 PM
To: [email protected]
Cc: Deucher, Alexander <[email protected]>
Subject: [PATCH] drm/amdgpu: enable AGP aperture on gmc10.x
Just a small optimization for accessing system pages directly. Was missed for gmc v10 since the feature landed for older gmcs while we were still on the emulator or gmc10 and we use the AGP aperture for zfb on the emulator.
--- drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c | 6 +++--- drivers/gpu/drm/amd/amdgpu/gfxhub_v2_1.c | 6 +++--- drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 1 + drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c | 6 +++--- drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c | 4 ++-- 5 files changed, 12 insertions(+), 11 deletions(-)
drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c +3 -3
@@ -153,10 +153,10 @@ static void gfxhub_v2_0_init_system_aperture_regs(struct amdgpu_device *adev)uint64_t value;if (!amdgpu_sriov_vf (adev)) { -/* Disable AGP. */ +/* Program the AGP BAR */ WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_BASE,0 ); -WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_TOP,0 ); -WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_BOT,0x00FFFFFF ); +WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_BOT, adev->gmc.agp_start >>24 ); +WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_TOP, adev->gmc.agp_end >>24 );/* Program the system aperture low logical page number. */ WREG32_SOC15(GC, 0, mmGCMC_VM_SYSTEM_APERTURE_LOW_ADDR,
drivers/gpu/drm/amd/amdgpu/gfxhub_v2_1.c +3 -3
@@ -152,10 +152,10 @@ static void gfxhub_v2_1_init_system_aperture_regs(struct amdgpu_device *adev) {uint64_t value; -/* Disable AGP. */ +/* Program the AGP BAR */ WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_BASE,0 ); -WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_TOP,0 ); -WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_BOT,0x00FFFFFF ); +WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_BOT, adev->gmc.agp_start >>24 ); +WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_TOP, adev->gmc.agp_end >>24 );/* Program the system aperture low logical page number. */ WREG32_SOC15(GC, 0, mmGCMC_VM_SYSTEM_APERTURE_LOW_ADDR,
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c +1 -0
@@ -738,6 +738,7 @@ static void gmc_v10_0_vram_gtt_location(struct amdgpu_device *adev,amdgpu_gmc_vram_location (adev, &adev->gmc, base);amdgpu_gmc_gart_location (adev, mc); +amdgpu_gmc_agp_location (adev, mc);/* base offset of vram pages */ adev->vm_manager.vram_base_offset = adev->gfxhub.funcs->get_mc_fb_offset (adev);
drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c +3 -3
@@ -195,10 +195,10 @@ static void mmhub_v2_0_init_system_aperture_regs(struct amdgpu_device *adev)uint64_t value;uint32_t tmp; -/* Disable AGP. */ +/* Program the AGP BAR */ WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_BASE,0 ); -WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_TOP,0 ); -WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_BOT,0x00FFFFFF ); +WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_BOT, adev->gmc.agp_start >>24 ); +WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_TOP, adev->gmc.agp_end >>24 );if (!amdgpu_sriov_vf (adev)) {/* Program the system aperture low logical page number. */
drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c +2 -2
@@ -152,8 +152,8 @@ static void mmhub_v2_3_init_system_aperture_regs(struct amdgpu_device *adev)/* Disable AGP. */ WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_BASE,0 ); -WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_TOP,0 ); -WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_BOT,0x00FFFFFF ); +WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_BOT, adev->gmc.agp_start >>24 ); +WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_TOP, adev->gmc.agp_end >>24 );/* Program the system aperture low logical page number. */ WREG32_SOC15(MMHUB, 0, mmMMMC_VM_SYSTEM_APERTURE_LOW_ADDR,
--
2.25.4
_______________________________________________
amd-gfx mailing list
[email protected]
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&data=04%7C01%7Cevan.quan%40amd.com%7C7f0f5596ad8a48bfa60908d895473f9e%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637423480528407402%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=9I6SUwJnzu7nVwSLszuP9kUV7mYKtzEgePzINgUmVEQ%3D&reserved=0
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
[AMD Official Use Only - Internal Distribution Only]
Never mind. I just saw you fixed this in V2.
-----Original Message-----
From: Quan, Evan
Sent: Tuesday, December 1, 2020 9:54 AM
To: 'Alex Deucher' <[email protected]>; [email protected]
Cc: Deucher, Alexander <[email protected]>
Subject: RE: [PATCH] drm/amdgpu: enable AGP aperture on gmc10.x
Hi Alex,
The followings seem missing in programming mmMMMC_VM_SYSTEM_APERTURE_LOW/HIGH_ADDR. min(adev->gmc.fb_start, adev->gmc.agp_start) max(adev->gmc.fb_end, adev->gmc.agp_end)
BR
Evan
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Alex Deucher
Sent: Monday, November 30, 2020 11:47 PM
To: [email protected]
Cc: Deucher, Alexander <[email protected]>
Subject: [PATCH] drm/amdgpu: enable AGP aperture on gmc10.x
Just a small optimization for accessing system pages directly.
Was missed for gmc v10 since the feature landed for older gmcs while we were still on the emulator or gmc10 and we use the AGP aperture for zfb on the emulator.
--- drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c | 6 +++--- drivers/gpu/drm/amd/amdgpu/gfxhub_v2_1.c | 6 +++--- drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 1 + drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c | 6 +++--- drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c | 4 ++-- 5 files changed, 12 insertions(+), 11 deletions(-)
drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c +3 -3
@@ -153,10 +153,10 @@ static void gfxhub_v2_0_init_system_aperture_regs(struct amdgpu_device *adev)uint64_t value;if (!amdgpu_sriov_vf (adev)) { -/* Disable AGP. */ +/* Program the AGP BAR */ WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_BASE,0 ); -WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_TOP,0 ); -WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_BOT,0x00FFFFFF ); +WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_BOT, adev->gmc.agp_start >>24 ); +WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_TOP, adev->gmc.agp_end >>24 );/* Program the system aperture low logical page number. */ WREG32_SOC15(GC, 0, mmGCMC_VM_SYSTEM_APERTURE_LOW_ADDR,
drivers/gpu/drm/amd/amdgpu/gfxhub_v2_1.c +3 -3
@@ -152,10 +152,10 @@ static void gfxhub_v2_1_init_system_aperture_regs(struct amdgpu_device *adev) {uint64_t value; -/* Disable AGP. */ +/* Program the AGP BAR */ WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_BASE,0 ); -WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_TOP,0 ); -WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_BOT,0x00FFFFFF ); +WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_BOT, adev->gmc.agp_start >>24 ); +WREG32_SOC15 (GC ,0 , mmGCMC_VM_AGP_TOP, adev->gmc.agp_end >>24 );/* Program the system aperture low logical page number. */ WREG32_SOC15(GC, 0, mmGCMC_VM_SYSTEM_APERTURE_LOW_ADDR,
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c +1 -0
@@ -738,6 +738,7 @@ static void gmc_v10_0_vram_gtt_location(struct amdgpu_device *adev,amdgpu_gmc_vram_location (adev, &adev->gmc, base);amdgpu_gmc_gart_location (adev, mc); +amdgpu_gmc_agp_location (adev, mc);/* base offset of vram pages */ adev->vm_manager.vram_base_offset = adev->gfxhub.funcs->get_mc_fb_offset (adev);
drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c +3 -3
@@ -195,10 +195,10 @@ static void mmhub_v2_0_init_system_aperture_regs(struct amdgpu_device *adev)uint64_t value;uint32_t tmp; -/* Disable AGP. */ +/* Program the AGP BAR */ WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_BASE,0 ); -WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_TOP,0 ); -WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_BOT,0x00FFFFFF ); +WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_BOT, adev->gmc.agp_start >>24 ); +WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_TOP, adev->gmc.agp_end >>24 );if (!amdgpu_sriov_vf (adev)) { /* Program the system aperture low logical page number. */ diff --git a/drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c b/drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c
index 3a248c8cd0b9..5372704889cf 100644
drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c +2 -2
@@ -152,8 +152,8 @@ static void mmhub_v2_3_init_system_aperture_regs(struct amdgpu_device *adev)/* Disable AGP. */ WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_BASE,0 ); -WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_TOP,0 ); -WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_BOT,0x00FFFFFF ); +WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_BOT, adev->gmc.agp_start >>24 ); +WREG32_SOC15 (MMHUB ,0 , mmMMMC_VM_AGP_TOP, adev->gmc.agp_end >>24 );/* Program the system aperture low logical page number. */ WREG32_SOC15(MMHUB, 0, mmMMMC_VM_SYSTEM_APERTURE_LOW_ADDR,
--
2.25.4
_______________________________________________
amd-gfx mailing list
[email protected]
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&data=04%7C01%7Cevan.quan%40amd.com%7C7f0f5596ad8a48bfa60908d895473f9e%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637423480528407402%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=9I6SUwJnzu7nVwSLszuP9kUV7mYKtzEgePzINgUmVEQ%3D&reserved=0
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx