diff options
author | Zongmin Zhou <[email protected]> | 2021-12-15 17:23:37 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2021-12-28 16:05:21 -0500 |
commit | 11544d77e3974924c5a9c8a8320b996a3e9b2f8b (patch) | |
tree | 4282928d5d852620e842fda170804798447e4095 /drivers/gpu/drm/amd/pm/amdgpu_pm.c | |
parent | 88eabcb8e6965b38331618f60567dfe92ad3c42c (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<[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions