dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 79051] New: Panic with radeon hd 5750, bisected
Date: Fri, 27 Jun 2014 12:52:18 +0000	[thread overview]
Message-ID: <bug-79051-2300@https.bugzilla.kernel.org/> (raw)

https://bugzilla.kernel.org/show_bug.cgi?id=79051

            Bug ID: 79051
           Summary: Panic with radeon hd 5750, bisected
           Product: Drivers
           Version: 2.5
    Kernel Version: 3.14.6 - 3.16-rc2
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: drivers_video-dri@kernel-bugs.osdl.org
          Reporter: jonathan@unbiased.name
        Regression: No

Happens usually within first minute of starting weston (drm on archlinux.) just
opening windows and moving mouse. (no panic within X.)

Bisected to
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-3.14.y&id=19aef29eea6e5b42e4097c2ccdd80e944e9f9f6f

Still same with 3.16-rc2.

Panic only dumped to screen so don't have exact copy.
RIP in drm_vblank_put
radeon_crt_handle_flip
evergreen_irq_process
notice_schd_clock
radeon_irq_handler_kms
handle_irq_events_percpu
...

Removing the one line stops the panic so does this;

diff --git a/drivers/gpu/drm/radeon/evergreen.c
b/drivers/gpu/drm/radeon/evergre
index 971d933..e31d936 100644
--- a/drivers/gpu/drm/radeon/evergreen.c
+++ b/drivers/gpu/drm/radeon/evergreen.c
@@ -4967,7 +4967,8 @@ restart_ih:
                case 16: /* D5 page flip */
                case 18: /* D6 page flip */
                        DRM_DEBUG("IH: D%d flip\n", ((src_id - 8) >> 1) + 1);
-                       radeon_crtc_handle_flip(rdev, (src_id - 8) >> 1);
+                       if (atomic_read(&rdev->irq.pflip[(src_id - 8) >> 1]))
+                               radeon_crtc_handle_flip(rdev, (src_id - 8) >>
1)
                        break;
                case 42: /* HPD hotplug */
                        switch (src_data) {

Only guess work on my part. Needs someone with knowledge of code determine real
fix.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

             reply	other threads:[~2014-06-27 12:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-27 12:52 bugzilla-daemon [this message]
2014-06-27 21:06 ` [Bug 79051] Panic with radeon hd 5750, bisected bugzilla-daemon
2014-06-28 14:02 ` bugzilla-daemon
2014-07-11 16:32 ` bugzilla-daemon

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=bug-79051-2300@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=dri-devel@lists.freedesktop.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox