drm/nouveau: allocate GPFIFOs and fences coherently
authorAlexandre Courbot <acourbot@nvidia.com>
Mon, 27 Oct 2014 09:49:18 +0000 (18:49 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 2 Dec 2014 05:43:59 +0000 (15:43 +1000)
commita81349a7b27adc66cc318ac0bc0f657b0b73a5af
tree68da6c05a6b5f829944577a9aa2ffb4eded32e1c
parentc3a0c771e582a74a344fa9dd805662222f896181
drm/nouveau: allocate GPFIFOs and fences coherently

Specify TTM_PL_FLAG_UNCACHED when allocating GPFIFOs and fences to
allow them to be safely accessed by the kernel without being synced
on non-coherent architectures.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_chan.c
drivers/gpu/drm/nouveau/nv84_fence.c