drm/nv04: Enable context switching on PFIFO init.
Fixes a lockup when coming back from suspend. Signed-off-by: Francisco Jerez <currojerez@riseup.net> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
112d20ad5c
commit
dad9acff50
|
@ -292,6 +292,7 @@ nv04_fifo_init(struct drm_device *dev)
|
|||
|
||||
nv04_fifo_init_intr(dev);
|
||||
pfifo->enable(dev);
|
||||
pfifo->reassign(dev, true);
|
||||
|
||||
for (i = 0; i < dev_priv->engine.fifo.channels; i++) {
|
||||
if (dev_priv->fifos[i]) {
|
||||
|
|
Loading…
Reference in New Issue