diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2020-11-14 13:50:44 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2020-11-14 14:19:17 +1000 |
commit | 6c27ffabeb19ebf7dd6d4ccc29f1e57d1ef445d8 (patch) | |
tree | 67b0a4907979a5a83cd40c15f72e2ced08991808 /drivers/vdpa | |
parent | 630f512280604eecae0ddc2b3f8402f7931c56fd (diff) | |
download | linux-6c27ffabeb19ebf7dd6d4ccc29f1e57d1ef445d8.tar.bz2 |
drm/nouveau/ttm: avoid using nouveau_drm.ttm.type_vram prior to nv50
Pre-NV50 chipsets don't currently use the MMU subsystem that later
chipsets use, and type_vram is negative here, leading to an OOB memory
access.
This was previously guarded by a chipset check, restore that.
Reported-by: Thomas Zimmermann <tzimmermann@suse.de>
Fixes: 5839172f0980 ("drm/nouveau: explicitly specify caching to use")
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/vdpa')
0 files changed, 0 insertions, 0 deletions