drm/amdgpu: reserve stollen vram for raven series
Subsystems (2)
PATCH 1/1 drm/amdgpu: reserve stollen vram for raven series
to avoid screen corruption during modprobe.
--- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +1 -2
@@ -624,9 +624,8 @@ static bool gmc_v9_0_keep_stolen_memory(struct amdgpu_device *adev)*/ switch (adev->asic_type) {case CHIP_VEGA10 : -return true;case CHIP_RAVEN : -return (adev->pdev->device ==0x15d8 ); +return true;case CHIP_VEGA12 :case CHIP_VEGA20 :default :
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 1559030095-19673-1-git-send-email-flora.cui-5C7GfCeVMHo@public.gmane.org
Huang, Ray
Reviewed-by Huang RuiQuoted 8 lines
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Cui, Flora
Sent: Tuesday, May 28, 2019 3:55 PM
To: [email protected]
Cc: Cui, Flora <[email protected]>
Subject: [PATCH] drm/amdgpu: reserve stollen vram for raven series
Quoted 4 lines
to avoid screen corruption during modprobe.
Change-Id I8671de6ed46285585dbe866832c6d2b835ca37f3Signed-off-by Flora Cui <[email protected]>
Thanks. Yes. In raven series, we still found corruption at the start of vram.
Quoted 24 lines
--- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +1
-2@@ -624,9 +624,8 @@ static bool gmc_v9_0_keep_stolen_memory(structamdgpu_device *adev) */ switch (adev->asic_type) {case CHIP_VEGA10 : -return true;case CHIP_RAVEN : -return (adev->pdev->device ==0x15d8 ); +return true;case CHIP_VEGA12 :case CHIP_VEGA20 :default:
--
2.7.4
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx