Commit 02122753 authored by Flora Cui's avatar Flora Cui Committed by Alex Deucher
Browse files

drm/amdgpu: reserve stollen vram for raven series



to avoid screen corruption during modprobe.

Signed-off-by: default avatarFlora Cui <flora.cui@amd.com>
Reviewed-by: default avatarHuang Rui <ray.huang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent c08e56c6
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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: