2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-08 13:44:01 +08:00
linux-next/drivers/gpu/drm/nouveau
Ben Skeggs bb7e501a66 drm/nouveau/bar: prevent BAR2 mapping of objects during destructor
GP100's page table nests a lot more deeply than the GF100-compatible
layout we're currently using, which means our hackish-but-simple way
of dealing with BAR2 VMM teardown won't work anymore.

In order to sanely handle the chicken-and-egg (BAR2's PTs get mapped
into themselves) problem, we need prevent page tables getting mapped
back into BAR2 during the destruction of its VMM.

To do this, we simply key off the state that's now maintained by the
BAR2 init/fini functions.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2017-11-02 13:32:18 +10:00
..
dispnv04 drm/nouveau/core/object: allow arguments to be passed to map function 2017-11-02 13:32:16 +10:00
include drm/nouveau/bar: modify interface to bar2 vmm mapping 2017-11-02 13:32:18 +10:00
nvif drm/nouveau/core/object: allow arguments to be passed to map function 2017-11-02 13:32:16 +10:00
nvkm drm/nouveau/bar: prevent BAR2 mapping of objects during destructor 2017-11-02 13:32:18 +10:00
Kbuild drm/nouveau: fix include notation and remove -Iinclude/drm flag 2017-05-17 14:36:01 +02:00
Kconfig
nouveau_abi16.c
nouveau_abi16.h
nouveau_acpi.c ACPI: Switch to use generic guid_t in acpi_evaluate_dsm() 2017-06-07 12:20:49 +02:00
nouveau_acpi.h
nouveau_backlight.c
nouveau_bios.c drm/nouveau/kms: add 8.1Gbps DP link rate 2017-11-02 13:32:15 +10:00
nouveau_bios.h
nouveau_bo.c drm/nouveau/bar: modify interface to bar1 vmm mapping 2017-11-02 13:32:18 +10:00
nouveau_bo.h drm/nouveau: size is u64 everywhere 2017-02-17 17:38:04 +10:00
nouveau_chan.c drm/nouveau/core/object: allow arguments to be passed to map function 2017-11-02 13:32:16 +10:00
nouveau_chan.h drm/nouveau: request notifications for channels that have been killed 2017-02-17 17:38:09 +10:00
nouveau_connector.c drm: Pass struct drm_file * to __drm_mode_object_find [v2] 2017-10-12 10:03:04 +10:00
nouveau_connector.h
nouveau_crtc.h drm: nouveau: remove dead code and pointless local lut storage 2017-08-04 11:36:11 +02:00
nouveau_debugfs.c drm/nouveau: Remove nouveau_drm_debugfs_cleanup() 2017-03-01 16:09:52 +01:00
nouveau_debugfs.h drm/nouveau: Remove nouveau_drm_debugfs_cleanup() 2017-03-01 16:09:52 +01:00
nouveau_display.c drm/nouveau/kms/nv04-nv40: prevent undisplayable framebuffers from creation 2017-08-22 18:04:34 +10:00
nouveau_display.h drm/vblank: drop the mode argument from drm_calc_vbltimestamp_from_scanoutpos 2017-05-10 10:21:31 +02:00
nouveau_dma.c
nouveau_dma.h
nouveau_dp.c
nouveau_drm.c drm/nouveau: silence suspend/resume debugging messages 2017-08-22 18:04:36 +10:00
nouveau_drv.h drm/nouveau: Document nouveau support for Tegra in DRIVER_DESC 2017-11-02 13:32:15 +10:00
nouveau_encoder.h drm/nouveau/disp: introduce acquire/release display path methods 2017-06-16 14:04:57 +10:00
nouveau_fbcon.c drm/nouveau/fbcon: fix oops without fbdev emulation 2017-10-19 07:27:55 +10:00
nouveau_fbcon.h
nouveau_fence.c Less anger inducing pull request for 4.11 2017-02-23 18:58:18 -08:00
nouveau_fence.h
nouveau_gem.c treewide: use kv[mz]alloc* rather than opencoded variants 2017-05-08 17:15:13 -07:00
nouveau_gem.h drm/nouveau: size is u64 everywhere 2017-02-17 17:38:04 +10:00
nouveau_hwmon.c drm/nouveau/hwmon: Change permissions to numeric 2017-06-16 14:05:03 +10:00
nouveau_hwmon.h
nouveau_ioc32.c
nouveau_ioctl.h
nouveau_led.c drm/nouveau/drm/nouveau/led: prevent a possible use-after-free 2017-02-17 17:38:07 +10:00
nouveau_led.h
nouveau_nvif.c
nouveau_platform.c drm/nouveau/platform: support for probing GP10B 2017-04-06 14:39:04 +10:00
nouveau_platform.h
nouveau_prime.c
nouveau_reg.h
nouveau_sgdma.c
nouveau_ttm.c drm/nouveau: fix handling of GART OOM on pre-NV50 chipsets 2017-11-02 13:32:16 +10:00
nouveau_ttm.h
nouveau_usif.c drm: Remove drm_pending_event->pid 2017-03-14 14:38:33 +01:00
nouveau_usif.h
nouveau_vga.c drm/nouveau: Skip vga_fini on non-PCI device 2017-06-16 14:05:04 +10:00
nouveau_vga.h
nv04_fbcon.c
nv04_fence.c
nv10_fence.c
nv10_fence.h
nv17_fence.c
nv50_display.c drm/nouveau/core/object: allow arguments to be passed to map function 2017-11-02 13:32:16 +10:00
nv50_display.h
nv50_fbcon.c
nv50_fence.c
nv84_fence.c Linux 4.10-rc8 2017-02-23 12:10:12 +10:00
nvc0_fbcon.c
nvc0_fence.c