drm/nouveau/fifo/gk104: take runlist target into account
authorAlexandre Courbot <acourbot@nvidia.com>
Tue, 1 Mar 2016 07:51:58 +0000 (16:51 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 14 Mar 2016 00:13:31 +0000 (10:13 +1000)
commita2e435a1b0a3c2bc766d40356151610cc54b8772
tree35b0ac667f8e8570ecbf8940f39a642454efdd2e
parentc694ecad9dc4b2b367e33387c4407532b706dab7
drm/nouveau/fifo/gk104: take runlist target into account

Bits 28:29 of RUNLIST_BASE specify the memory target of the runlist. Set
it to 0x3 (SYS_MEM_NONCOHERENT) if the runlist object resides in system
memory.

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