]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitad9e66d62e15213cbdad8283b3dfb71abd24729a
tree68da6c05a6b5f829944577a9aa2ffb4eded32e1c
parentecaba3dcec9dcfbf2a86b15dac2fc46c649e0e94
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