android_kernel_samsung_msm8976/drivers/gpu/drm/nouveau
Ilia Mirkin 0958fe7e15 drm/nouveau/gem: return only valid domain when there's only one
commit 2a6c521bb41ce862e43db46f52e7681d33e8d771 upstream.

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.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-11-09 10:12:58 -08:00
..
core drm/nouveau/bios: memset dcb struct to zero before parsing 2014-11-14 08:47:56 -08:00
dispnv04
Kconfig
Makefile
nouveau_abi16.c
nouveau_abi16.h
nouveau_acpi.c drm/nouveau/acpi: allow non-optimus setups to load vbios from acpi 2014-06-07 13:25:34 -07:00
nouveau_acpi.h
nouveau_agp.c
nouveau_agp.h
nouveau_backlight.c
nouveau_bios.c
nouveau_bios.h
nouveau_bo.c drm/nouveau: fix m2mf copy to tiled gart 2014-02-13 13:48:03 -08:00
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
nouveau_display.h
nouveau_dma.c
nouveau_dma.h
nouveau_dp.c
nouveau_drm.c drm/nouveau: set irq_enabled manually 2014-03-06 21:30:00 -08:00
nouveau_drm.h
nouveau_encoder.h
nouveau_fbcon.c
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-11-09 10:12:58 -08:00
nouveau_gem.h
nouveau_hwsq.h
nouveau_ioc32.c
nouveau_ioctl.h
nouveau_mem.c
nouveau_perf.c
nouveau_pm.c
nouveau_pm.h
nouveau_prime.c
nouveau_reg.h
nouveau_sgdma.c
nouveau_ttm.c
nouveau_ttm.h
nouveau_vga.c
nouveau_vga.h
nouveau_volt.c
nv04_fbcon.c
nv04_fence.c
nv04_pm.c
nv10_fence.c
nv10_fence.h
nv17_fence.c
nv40_pm.c
nv50_display.c
nv50_display.h
nv50_fbcon.c
nv50_fence.c
nv50_pm.c
nv84_fence.c
nva3_pm.c
nvc0_fbcon.c
nvc0_fence.c
nvc0_pm.c