linux_dsm_epyc7002/drivers/gpu/drm/nouveau
Ilia Mirkin 2a6c521bb4 drm/nouveau/gem: return only valid domain when there's only one
On nv50+, we restrict the valid domains to just the one where the buffer
was originally created. However after the buffer is evicted to system
memory, we might move it back to a different domain that was not
originally valid. When sharing the buffer and retrieving its GEM_INFO
data, we still want the domain that will be valid for this buffer in a
pushbuf, not the one where it currently happens to be.

This resolves fdo#92504 and several others. These are due to suspend
evicting all buffers, making it more likely that they temporarily end up
in the wrong place.

Cc: stable@vger.kernel.org
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92504
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2015-10-22 09:10:52 +10:00
..
dispnv04
include
nvif
nvkm drm/nouveau/bios: fix OF loading 2015-10-12 13:54:56 +10:00
Kbuild
Kconfig
nouveau_abi16.c
nouveau_abi16.h
nouveau_acpi.c
nouveau_acpi.h
nouveau_backlight.c
nouveau_bios.c
nouveau_bios.h
nouveau_bo.c
nouveau_bo.h
nouveau_chan.c
nouveau_chan.h
nouveau_connector.c
nouveau_connector.h
nouveau_crtc.h
nouveau_debugfs.c
nouveau_debugfs.h
nouveau_display.c drm/nouveau/display: allow up to 16k width/height for fermi+ 2015-10-12 13:48:28 +10:00
nouveau_display.h
nouveau_dma.c
nouveau_dma.h
nouveau_dp.c
nouveau_drm.c
nouveau_drm.h
nouveau_encoder.h
nouveau_fbcon.c drm/nouveau/fbcon: take runpm reference when userspace has an open fd 2015-10-12 13:54:40 +10:00
nouveau_fbcon.h
nouveau_fence.c
nouveau_fence.h
nouveau_gem.c drm/nouveau/gem: return only valid domain when there's only one 2015-10-22 09:10:52 +10:00
nouveau_gem.h
nouveau_hwmon.c
nouveau_hwmon.h
nouveau_ioc32.c
nouveau_ioctl.h
nouveau_nvif.c
nouveau_platform.c
nouveau_platform.h
nouveau_prime.c
nouveau_reg.h
nouveau_sgdma.c
nouveau_sysfs.c
nouveau_sysfs.h
nouveau_ttm.c
nouveau_ttm.h
nouveau_usif.c
nouveau_usif.h
nouveau_vga.c
nouveau_vga.h
nv04_fbcon.c
nv04_fence.c
nv10_fence.c
nv10_fence.h
nv17_fence.c
nv50_display.c
nv50_display.h
nv50_fbcon.c
nv50_fence.c
nv84_fence.c
nvc0_fbcon.c
nvc0_fence.c