diff options
author | Marcin Slusarz <marcin.slusarz@gmail.com> | 2012-07-25 20:42:05 +0200 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2012-07-26 10:28:16 +1000 |
commit | 715855457e6bc93e148caf8cb3b5dcabbf605b0d (patch) | |
tree | aabac0fa0c1d1f9426c557aa081865f7fb7d2fce /drivers/gpu/drm/nouveau/nouveau_irq.c | |
parent | 0ade74b6c6843892b52e6c2a4ac02183242eec27 (diff) | |
download | blackbird-op-linux-715855457e6bc93e148caf8cb3b5dcabbf605b0d.tar.gz blackbird-op-linux-715855457e6bc93e148caf8cb3b5dcabbf605b0d.zip |
drm/nouveau: init vblank requests list
Fixes kernel panic when vblank interrupt triggers before first sync to
vblank request.
(Besides init, remove some relevant leftovers from vblank rework)
Reported-by: Ortwin Glück <odi@odi.ch>
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: stable@vger.kernel.org [3.5]
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_irq.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_irq.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_irq.c b/drivers/gpu/drm/nouveau/nouveau_irq.c index 868c7fd74854..b2c2937531a8 100644 --- a/drivers/gpu/drm/nouveau/nouveau_irq.c +++ b/drivers/gpu/drm/nouveau/nouveau_irq.c @@ -41,12 +41,8 @@ void nouveau_irq_preinstall(struct drm_device *dev) { - struct drm_nouveau_private *dev_priv = dev->dev_private; - /* Master disable */ nv_wr32(dev, NV03_PMC_INTR_EN_0, 0); - - INIT_LIST_HEAD(&dev_priv->vbl_waiting); } int |