drm/nv50-nvc0: switch to tasklet for display isr bh

We need to be able to have the bh run while possibly spinning waiting for
the EVO notifier to signal.  This apparently happens in some circumstances
with preempt disabled, so our workqueue was never being run.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
Ben Skeggs
2011-02-03 20:06:14 +10:00
parent c7ca4d1b6b
commit f13e435c59
3 changed files with 8 additions and 13 deletions

View File

@@ -38,6 +38,7 @@
struct nv50_display {
struct nouveau_channel *master;
struct tasklet_struct tasklet;
struct {
struct dcb_entry *dcb;
u16 script;
@@ -52,7 +53,6 @@ nv50_display(struct drm_device *dev)
return dev_priv->engine.display.priv;
}
void nv50_display_irq_handler_bh(struct work_struct *work);
int nv50_display_early_init(struct drm_device *dev);
void nv50_display_late_takedown(struct drm_device *dev);
int nv50_display_create(struct drm_device *dev);