OSDN Git Service

drm/nouveau/fifo/gf100: take runlist target into account
authorAlexandre Courbot <acourbot@nvidia.com>
Tue, 1 Mar 2016 07:51:57 +0000 (16:51 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 14 Mar 2016 00:13:30 +0000 (10:13 +1000)
commitc694ecad9dc4b2b367e33387c4407532b706dab7
treefdd12b41ef4f43d9a9c3ad8fc3aa66f0386d102a
parent0689aad70d719842c3a07f5782b7d35bb12efe9d
drm/nouveau/fifo/gf100: 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/gf100.c