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

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
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment