diff options
| author | Mario Kleiner <[email protected]> | 2017-04-29 04:11:30 +0000 |
|---|---|---|
| committer | Ben Skeggs <[email protected]> | 2017-04-29 12:39:23 +0000 |
| commit | 271393ba6e2ac384a14e581d34d5d72c5953e3c6 (patch) | |
| tree | b2e5bbbc05ed74b98b58122d8ae8452b6525f13e /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | |
| parent | drm/nouveau/secboot/gm20b: fix the error return code in gm20b_secboot_tegra_r... (diff) | |
| download | kernel-271393ba6e2ac384a14e581d34d5d72c5953e3c6.tar.gz kernel-271393ba6e2ac384a14e581d34d5d72c5953e3c6.zip | |
drm/nouveau/fb/gf100-: Fix 32 bit wraparound in new ram detection
A missing u64 cast causes a 32-Bit wraparound from
4096 MiB to 0 MiB and therefore total 0 MiB VRAM detected
if card has 4096 Mib per FBP.
Signed-off-by: Mario Kleiner <[email protected]>
Reviewed-by: Karol Herbst <[email protected]>
Signed-off-by: Ben Skeggs <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
0 files changed, 0 insertions, 0 deletions
