summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c
diff options
context:
space:
mode:
authorZongmin Zhou <zhouzongmin@kylinos.cn>2021-12-15 17:23:37 +0800
committerAlex Deucher <alexander.deucher@amd.com>2021-12-28 16:05:21 -0500
commit11544d77e3974924c5a9c8a8320b996a3e9b2f8b (patch)
tree4282928d5d852620e842fda170804798447e4095 /drivers/gpu/drm/amd/amdgpu/psp_v11_0.c
parent88eabcb8e6965b38331618f60567dfe92ad3c42c (diff)
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: Zongmin Zhou<zhouzongmin@kylinos.cn> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/psp_v11_0.c')
0 files changed, 0 insertions, 0 deletions