Skip to content
Commit 11544d77 authored by Zongmin Zhou's avatar Zongmin Zhou Committed by Alex Deucher
Browse files

drm/amdgpu: fixup bad vram size on gmc v8



Some boards(like RX550) seem to have garbage in the upper
16 bits of the vram size register.  Check for
this and clamp the size properly.  Fixes
boards reporting bogus amounts of vram.

after add this patch,the maximum GPU VRAM size is 64GB,
otherwise only 64GB vram size will be used.

Signed-off-by: default avatarZongmin <Zhou&lt;zhouzongmin@kylinos.cn>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 88eabcb8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment