All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Galbraith <efault@gmx.de>
To: Ilia Mirkin <imirkin@alum.mit.edu>,
	Peter Zijlstra <peterz@infradead.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
	"dri-devel@lists.freedesktop.org"
	<dri-devel@lists.freedesktop.org>,
	"nouveau@lists.freedesktop.org" <nouveau@lists.freedesktop.org>,
	David Airlie <airlied@linux.ie>, Ben Skeggs <bskeggs@redhat.com>
Subject: Re: [regression drm/noveau] suspend to ram -> BOOM: exception RIP: drm_calc_vbltimestamp_from_scanoutpos+335
Date: Fri, 14 Jul 2017 15:41:33 +0200	[thread overview]
Message-ID: <1500039693.5763.15.camel@gmx.de> (raw)
In-Reply-To: <1500039368.5763.12.camel@gmx.de>

On Fri, 2017-07-14 at 15:36 +0200, Mike Galbraith wrote:
>  All DRM did was to slip a
> WARN_ON_ONCE() that nouveau triggers into a kernel module where such
> things no longer warn, they blow the box out of the water.

BTW, turn that irksome WARN_ON_ONCE() in drivers/gpu/drm/drm_vblank.c
into a WARN_ONCE(), and all is peachy, you get the warning, box lives.

---
 drivers/gpu/drm/drm_vblank.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- a/drivers/gpu/drm/drm_vblank.c
+++ b/drivers/gpu/drm/drm_vblank.c
@@ -605,7 +605,8 @@ bool drm_calc_vbltimestamp_from_scanoutp
 	 */
 	if (mode->crtc_clock == 0) {
 		DRM_DEBUG("crtc %u: Noop due to uninitialized mode.\n", pipe);
-		WARN_ON_ONCE(drm_drv_uses_atomic_modeset(dev));
+		WARN_ONCE(drm_drv_uses_atomic_modeset(dev), "%s: report me.\n",
+			  dev->driver->name);
 
 		return false;
 	}

  reply	other threads:[~2017-07-14 13:41 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-11 17:32 [regression drm/noveau] suspend to ram -> BOOM: exception RIP: drm_calc_vbltimestamp_from_scanoutpos+335 Mike Galbraith
     [not found] ` <1499794333.5315.8.camel-Mmb7MZpHnFY@public.gmane.org>
2017-07-11 17:51   ` Ilia Mirkin
2017-07-11 17:51     ` Ilia Mirkin
2017-07-11 18:08     ` Mike Galbraith
     [not found]       ` <1499796510.5315.27.camel-Mmb7MZpHnFY@public.gmane.org>
2017-07-11 18:22         ` Ilia Mirkin
2017-07-11 18:22           ` Ilia Mirkin
2017-07-11 18:53           ` Mike Galbraith
2017-07-12  7:45             ` Mike Galbraith
     [not found]           ` <CAKb7UvgOOzVj=tygh4-BDRXGFUr2Y8U0pkV+-oYjy6EVYsQ+hg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-07-11 22:30             ` Tobias Klausmann
2017-07-12  9:55           ` [regression drm/noveau] " Mike Galbraith
2017-07-12 11:25             ` Mike Galbraith
2017-07-12 11:37               ` Ilia Mirkin
2017-07-12 11:37                 ` Ilia Mirkin
2017-07-12 17:19                 ` Mike Galbraith
     [not found]                   ` <1499879972.23742.50.camel-Mmb7MZpHnFY@public.gmane.org>
2017-07-12 19:33                     ` Tobias Klausmann
2017-07-12 19:33                       ` Tobias Klausmann
     [not found]                       ` <adddc17c-9ed6-81f2-ca93-8c958b519bd4-AqjdNwhu20eELgA04lAiVw@public.gmane.org>
2017-07-12 21:56                         ` [PATCH] drm/nouveau: split nouveau_drm_postclose back in pre/postclose Tobias Klausmann
     [not found]                           ` <20170712215654.30172-1-tobias.johannes.klausmann-AqjdNwhu20eELgA04lAiVw@public.gmane.org>
2017-07-12 22:00                             ` Tobias Klausmann
2017-07-13 20:30                             ` Lucas Stach
2017-07-14 13:36                 ` [regression drm/noveau] suspend to ram -> BOOM: exception RIP: drm_calc_vbltimestamp_from_scanoutpos+335 Mike Galbraith
2017-07-14 13:41                   ` Mike Galbraith [this message]
     [not found]                     ` <1500039693.5763.15.camel-Mmb7MZpHnFY@public.gmane.org>
2017-07-14 15:05                       ` Tobias Klausmann
2017-07-14 15:05                         ` Tobias Klausmann
     [not found]                         ` <6341f91f-1c56-2188-f55b-2f47d23262fc-AqjdNwhu20eELgA04lAiVw@public.gmane.org>
2017-07-14 15:10                           ` Karol Herbst
2017-07-14 15:10                             ` [Nouveau] " Karol Herbst
2017-07-14 15:15                             ` Mike Galbraith
     [not found]                               ` <1500045346.5763.21.camel-Mmb7MZpHnFY@public.gmane.org>
2017-07-14 15:16                                 ` Ilia Mirkin
2017-07-14 15:16                                   ` [Nouveau] " Ilia Mirkin
2017-07-14 15:19                             ` Tobias Klausmann
     [not found]                               ` <31d327dd-bc3d-cb80-45a9-6a8eb9eb2a9d-AqjdNwhu20eELgA04lAiVw@public.gmane.org>
2017-07-14 15:20                                 ` Ilia Mirkin
2017-07-14 15:20                                   ` [Nouveau] " Ilia Mirkin
2017-07-14 15:55                                   ` Peter Zijlstra
2017-07-14 15:55                                     ` Peter Zijlstra
2017-07-14 15:11                         ` Mike Galbraith
2017-07-14 15:50                   ` Peter Zijlstra
2017-07-14 15:58                     ` Mike Galbraith
2017-07-14 16:10                       ` Peter Zijlstra
2017-07-14 16:10                         ` Peter Zijlstra
2017-07-14 16:33                         ` Mike Galbraith
2017-07-14 19:42                           ` Josh Poimboeuf
2017-07-14 19:42                             ` Josh Poimboeuf
2017-07-15  2:45                             ` Mike Galbraith
2017-07-17 17:20                         ` Jessica Yu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1500039693.5763.15.camel@gmx.de \
    --to=efault@gmx.de \
    --cc=airlied@linux.ie \
    --cc=bskeggs@redhat.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=imirkin@alum.mit.edu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nouveau@lists.freedesktop.org \
    --cc=peterz@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.