Skip to content

Commit

Permalink
drm/nv04: Enable context switching on PFIFO init.
Browse files Browse the repository at this point in the history
Fixes a lockup when coming back from suspend.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Francisco Jerez authored and Ben Skeggs committed Jul 13, 2010
1 parent 112d20a commit dad9acf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/nouveau/nv04_fifo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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]) {
Expand Down

0 comments on commit dad9acf

Please sign in to comment.