linux/drivers/gpu/drm/nouveau
James Jones 4f5746c863 drm/nouveau/kms: Check framebuffer size against bo
Make sure framebuffer dimensions and tiling
parameters will not result in accesses beyond the
end of the GEM buffer they are bound to.

v3: Return EINVAL when creating FB against BO with
    unsupported tiling
v5: Resolved against nouveau_framebuffer cleanup

Signed-off-by: James Jones <jajones@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2020-05-22 11:11:15 +10:00
..
dispnv04 drm/nouveau/kms: Remove field nvbo from struct nouveau_framebuffer 2020-05-22 11:11:14 +10:00
dispnv50 drm/nouveau/kms: Add format mod prop to base/ovly/nvdisp 2020-05-22 11:11:15 +10:00
include drm/nouveau/nvif: protect waits against GPU falling off the bus 2020-04-07 14:37:50 +10:00
nvif drm/nouveau/nvif: protect waits against GPU falling off the bus 2020-04-07 14:37:50 +10:00
nvkm drm/nouveau/acr: ensure falcon providing acr functions is bootstrapped first 2020-05-22 11:11:15 +10:00
Kbuild drm/nouveau: fix out-of-tree module build 2020-05-22 11:11:14 +10:00
Kconfig drm/nouveau: Add HD-audio component notifier support 2020-01-29 15:49:46 +10:00
nouveau_abi16.c
nouveau_abi16.h
nouveau_acpi.c
nouveau_acpi.h
nouveau_backlight.c
nouveau_bios.c
nouveau_bios.h
nouveau_bo.c drm/nouveau/ttm: evict other IO mappings when running out of BAR1 space 2020-04-07 14:37:49 +10:00
nouveau_bo.h
nouveau_chan.c drm/nouveau: signal pending fences when channel has been killed 2020-01-29 15:49:47 +10:00
nouveau_chan.h
nouveau_connector.c
nouveau_connector.h
nouveau_crtc.h
nouveau_debugfs.c drm/nouveau: remove checks for return value of debugfs functions 2020-04-07 14:37:49 +10:00
nouveau_debugfs.h drm: convert .debugfs_init() hook to return void. 2020-03-18 17:53:28 +01:00
nouveau_display.c drm/nouveau/kms: Check framebuffer size against bo 2020-05-22 11:11:15 +10:00
nouveau_display.h drm/nouveau/kms: Add format mod prop to base/ovly/nvdisp 2020-05-22 11:11:15 +10:00
nouveau_dma.c
nouveau_dma.h
nouveau_dmem.c mm/hmm: check the device private page owner in hmm_range_fault() 2020-03-26 14:33:38 -03:00
nouveau_dmem.h
nouveau_dp.c
nouveau_drm.c drm/nouveau: workaround runpm fail by disabling PCI power management on certain intel bridges 2020-04-07 14:37:50 +10:00
nouveau_drv.h drm/nouveau: workaround runpm fail by disabling PCI power management on certain intel bridges 2020-04-07 14:37:50 +10:00
nouveau_encoder.h
nouveau_fbcon.c drm/nouveau/kms: Remove struct nouveau_framebuffer 2020-05-22 11:11:15 +10:00
nouveau_fbcon.h drm/nouveau/kms: Move struct nouveau_framebuffer.vma to struct nouveau_fbdev 2020-05-22 11:11:14 +10:00
nouveau_fence.c drm/nouveau: signal pending fences when channel has been killed 2020-01-29 15:49:47 +10:00
nouveau_fence.h drm/nouveau: signal pending fences when channel has been killed 2020-01-29 15:49:47 +10:00
nouveau_gem.c drm/nouveau: support synchronous pushbuf submission 2020-01-29 15:49:56 +10:00
nouveau_gem.h
nouveau_hwmon.c drm/nouveau: use NULL for pointer assignment. 2020-01-15 10:49:59 +10:00
nouveau_hwmon.h
nouveau_ioc32.c
nouveau_ioctl.h
nouveau_led.c
nouveau_led.h
nouveau_mem.c
nouveau_mem.h
nouveau_nvif.c
nouveau_platform.c
nouveau_platform.h
nouveau_prime.c
nouveau_reg.h
nouveau_sgdma.c
nouveau_svm.c drm fixes for 5.7-rc1 2020-04-07 20:24:34 -07:00
nouveau_svm.h
nouveau_ttm.c drm/nouveau/drm/ttm: Remove set but not used variable 'mem' 2020-01-15 10:50:25 +10:00
nouveau_ttm.h
nouveau_usif.c
nouveau_usif.h
nouveau_vga.c drm: Avoid drm_global_mutex for simple inc/dec of dev->open_count 2020-01-24 17:41:34 +00:00
nouveau_vga.h
nouveau_vmm.c drm/nouveau: zero vma pointer even if we only unreference it rather than free 2020-01-29 15:49:46 +10:00
nouveau_vmm.h
nv04_fbcon.c
nv04_fence.c
nv10_fence.c
nv10_fence.h
nv17_fence.c
nv50_display.h
nv50_fbcon.c drm/nouveau/kms: Move struct nouveau_framebuffer.vma to struct nouveau_fbdev 2020-05-22 11:11:14 +10:00
nv50_fence.c
nv84_fence.c
nvc0_fbcon.c drm/nouveau/kms: Move struct nouveau_framebuffer.vma to struct nouveau_fbdev 2020-05-22 11:11:14 +10:00
nvc0_fence.c