drm/nouveau: use dedicated channel for async moves on GT/GF chipsets.
authorBen Skeggs <bskeggs@redhat.com>
Tue, 9 Jul 2013 04:20:15 +0000 (14:20 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 10 Jul 2013 00:48:01 +0000 (10:48 +1000)
commit00fc6f6f731efb7b76b839598e494b01890d901d
treee23c7501a572dbfce5217d18d7f3e5e01c18b2ee
parent06b237ef3903a0a5e33785105ea5203153323dd8
drm/nouveau: use dedicated channel for async moves on GT/GF chipsets.

The moves themselves were generally async to graphics previously, with
the exception that if the "main" channel is used to synchronise a
page flip at the same time, it can end up blocked for a noticable amount
of time for large buffer moves.

Not really critical, and there's better ways of handling this, but they
are all rather invasive, so this is fine for now.

Based on a patch by Maarten Lankhorst addressing the same issue.

Reported-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Acked-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
drivers/gpu/drm/nouveau/nouveau_bo.c
drivers/gpu/drm/nouveau/nouveau_drm.c