Skip to contentSkip to conversation

drm/amdgpu: keep stolen memory on picasso

PATCH In review Cui, Flora 2 participants 2 messages May 17, 2019 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

Cui, Flora

author
#0 lore raw

PATCH 1/1 drm/amdgpu: keep stolen memory on picasso

otherwise screen corrupts during modprobe.

Change-Id I73bcf3ab0c666077dfe85436a3457a0379382304
---
 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +1 -0
index c221570..5afbb59 100644
@@ -626,6 +626,7 @@ static bool gmc_v9_0_keep_stolen_memory(struct amdgpu_device *adev)
 	case CHIP_VEGA10:
 		return true;
 	case CHIP_RAVEN:
+		return (adev->pdev->device == 0x15d8);
 	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): 1558064879-32517-1-git-send-email-flora.cui-5C7GfCeVMHo@public.gmane.org

Reviewed-by Feifei Xu
#2 lore raw

-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Cui, Flora
Sent: Friday, May 17, 2019 11:48 AM
To: [email protected]
Cc: Cui, Flora <[email protected]>
Subject: [PATCH] drm/amdgpu: keep stolen memory on picasso

[CAUTION: External Email]

otherwise screen corrupts during modprobe.

Change-Id I73bcf3ab0c666077dfe85436a3457a0379382304
---
 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +1 -0
index c221570..5afbb59 100644
@@ -626,6 +626,7 @@ static bool gmc_v9_0_keep_stolen_memory(struct amdgpu_device *adev)
        case CHIP_VEGA10:
                return true;
        case CHIP_RAVEN:
+               return (adev->pdev->device == 0x15d8);
        case CHIP_VEGA12:
        case CHIP_VEGA20:
        default:

--
2.7.4

_______________________________________________
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