mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 03:10:12 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue