drm/nouveau/pageflip: kick flip handling out of engsw and into fence
authorBen Skeggs <bskeggs@redhat.com>
Sun, 22 Jul 2012 01:55:54 +0000 (11:55 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 3 Oct 2012 03:12:55 +0000 (13:12 +1000)
commitf589be88caf32501a734e531180d5df5d6089ef3
treec6653b5d6aa47aade8abc79c0bb73462f82eef01
parentbc9e7b9a61e9e92ddb58920cb2cb5c2e2825ca8a
drm/nouveau/pageflip: kick flip handling out of engsw and into fence

This is all very much a policy thing, and hence will not belong in SW
after the rework.

engsw now only handles receiving the event to say "can flip now" and makes
a callback to perform the actual work.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
17 files changed:
drivers/gpu/drm/nouveau/Makefile
drivers/gpu/drm/nouveau/core/engine/fifo/nvc0.c
drivers/gpu/drm/nouveau/core/engine/fifo/nve0.c
drivers/gpu/drm/nouveau/nouveau_display.c
drivers/gpu/drm/nouveau/nouveau_fence.c
drivers/gpu/drm/nouveau/nouveau_fence.h
drivers/gpu/drm/nouveau/nouveau_software.h
drivers/gpu/drm/nouveau/nouveau_state.c
drivers/gpu/drm/nouveau/nv04_software.c
drivers/gpu/drm/nouveau/nv10_fence.c
drivers/gpu/drm/nouveau/nv50_display.c
drivers/gpu/drm/nouveau/nv50_fence.c [new file with mode: 0644]
drivers/gpu/drm/nouveau/nv50_software.c
drivers/gpu/drm/nouveau/nv84_fence.c
drivers/gpu/drm/nouveau/nvc0_fence.c
drivers/gpu/drm/nouveau/nvc0_software.c
drivers/gpu/drm/nouveau/nvd0_display.c