drm/amdgpu: reserve stollen vram for raven series

to avoid screen corruption during modprobe.

Signed-off-by: Flora Cui <[email protected]>
Reviewed-by: Huang Rui <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
This commit is contained in:
Flora Cui 2019-05-28 15:52:42 +08:00 • committed by Alex Deucher
commit 02122753f1

View file

@ -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: