Commit 2e4bd852 authored by Flora Cui's avatar Flora Cui Committed by Greg Kroah-Hartman

drm/amdgpu: keep stolen memory on picasso

[ Upstream commit 37910935 ]

otherwise screen corrupts during modprobe.
Signed-off-by: default avatarFlora Cui <flora.cui@amd.com>
Reviewed-by: default avatarFeifei Xu <Feifei.Xu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 8193f14f
......@@ -715,6 +715,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:
......
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