All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 90741] New: Radeon: System pauses on TAHITI
@ 2015-01-04  0:35 bugzilla-daemon
  2015-01-04 14:07 ` [Bug 90741] " bugzilla-daemon
                   ` (79 more replies)
  0 siblings, 80 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-01-04  0:35 UTC (permalink / raw)
  To: dri-devel

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

            Bug ID: 90741
           Summary: Radeon: System pauses on TAHITI
           Product: Drivers
           Version: 2.5
    Kernel Version: 3.18.0 3.18.1
          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: wielkiegie@gmail.com
        Regression: No

The system freezes for 1-3 seconds from time to time. No message is shown in
dmesg. Some of the programs report high display delays in their profiles (maybe
glXSwapBuffers?). The pause is system-wide, probably due to whole-OpenGL stack
(glamor).

This seems to be a 3.18.x regression. The problem does not occur on 3.17.4.

During normal usage the problem is very rare. However, it occurs very often
while playing OpenGL games.

For games like Minecraft, the pauses are less likely while not moving around. I
believe that the game does not upload many buffers then. So the issue may be
due to buffer management.

I am using mesa from git, libdrm from git, xserver 1.16.2.901, xf86-video-ati
7.5. The problem occurs both with compositing enabled and disabled (kwin).

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
@ 2015-01-04 14:07 ` bugzilla-daemon
  2015-01-05  9:01 ` bugzilla-daemon
                   ` (78 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-01-04 14:07 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #1 from Gustaw Smolarczyk <wielkiegie@gmail.com> ---
I have managed to bisect this regression:

f2c24b83ae90292d315aa7ac029c6ce7929e01aa is the first bad commit
commit f2c24b83ae90292d315aa7ac029c6ce7929e01aa
Author: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Date:   Wed Apr 2 17:14:48 2014 +0200

    drm/ttm: flip the switch, and convert to dma_fence

    Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>

:040000 040000 634b9d842856f9a253b8250b6b61423a8b19bf7d
82569dbc605b725ecefac7457b25599158af5fb6 M      drivers
:040000 040000 6ff7fd43b2671ac388b81ec3c9ab47f4a2d39162
0c9d3986f193c83b952b05e7ec1f1c777a44e88e M      include

I am not familiar with the kernel code so I cannot say whether it's a real
regression or is just a problem with a userspace.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
  2015-01-04 14:07 ` [Bug 90741] " bugzilla-daemon
@ 2015-01-05  9:01 ` bugzilla-daemon
  2015-01-05  9:14 ` bugzilla-daemon
                   ` (77 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-01-05  9:01 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #2 from Michel Dänzer <michel@daenzer.net> ---
Does it still happen with a 3.19-rc kernel?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
  2015-01-04 14:07 ` [Bug 90741] " bugzilla-daemon
  2015-01-05  9:01 ` bugzilla-daemon
@ 2015-01-05  9:14 ` bugzilla-daemon
  2015-01-05 19:15 ` bugzilla-daemon
                   ` (76 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-01-05  9:14 UTC (permalink / raw)
  To: dri-devel

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

Maarten Lankhorst <bugs@mblankhorst.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugs@mblankhorst.nl

--- Comment #3 from Maarten Lankhorst <bugs@mblankhorst.nl> ---
Ok so that commit introduces the bad behavior, does commit
39e7f6f84b3a3aa4520504473f2e2bac1f949ffa "drm/radeon: use rcu waits in some
ioctls"
or commit "drm/ttm: use rcu in core ttm" change the bad behavior in any way?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (2 preceding siblings ...)
  2015-01-05  9:14 ` bugzilla-daemon
@ 2015-01-05 19:15 ` bugzilla-daemon
  2015-01-06  2:17 ` bugzilla-daemon
                   ` (75 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-01-05 19:15 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #4 from Gustaw Smolarczyk <wielkiegie@gmail.com> ---
There seems to be no substantial difference in 3.19-rc2,
39e7f6f84b3a3aa4520504473f2e2bac1f949ffa or
472db7ab3093bf2a2999f6b5aa64a030466d6f92.

The only thing (that may be subjective) is that there seems to be a bit less
pauses in final 3.18 and later. (did not bisect that, may be totally
subjective)

Also of importance can be that I am using 2 GPUs (discrete AMD TAHITI and
integrated Intel gen7 (IVB)) in randr 1.4 offloading configuration:

xrandr --setprovideroutputsource Intel radeon
xrandr --output HDMI2 --mode 1280x1024 --rate 60 --right-of DVI-0

Where:
  DVI-0 is my main monitor and is connected to TAHITI
  HDMI2 is my secondary monitor and is connected to IVB
  The OpenGL window is on the main monitor

If that may be the source of these problems, I could disable the second monitor
along with the iGPU in order to test that hypothesis.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (3 preceding siblings ...)
  2015-01-05 19:15 ` bugzilla-daemon
@ 2015-01-06  2:17 ` bugzilla-daemon
  2015-01-06 11:14 ` bugzilla-daemon
                   ` (74 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-01-06  2:17 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #5 from Michel Dänzer <michel@daenzer.net> ---
(In reply to Gustaw Smolarczyk from comment #4)
> If that may be the source of these problems, I could disable the second
> monitor along with the iGPU in order to test that hypothesis.

That would be interesting.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (4 preceding siblings ...)
  2015-01-06  2:17 ` bugzilla-daemon
@ 2015-01-06 11:14 ` bugzilla-daemon
  2015-01-06 12:55 ` bugzilla-daemon
                   ` (73 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-01-06 11:14 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #6 from Maarten Lankhorst <bugs@mblankhorst.nl> ---
I think that right now i915 doesn't use the fence stuff yet so it's probably
not causing the problem, still it would be useful to check.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (5 preceding siblings ...)
  2015-01-06 11:14 ` bugzilla-daemon
@ 2015-01-06 12:55 ` bugzilla-daemon
  2015-01-06 13:47 ` bugzilla-daemon
                   ` (72 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-01-06 12:55 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #7 from Gustaw Smolarczyk <wielkiegie@gmail.com> ---
Unfortunately, it was a false lead. Disabling iGPU didn't help in any way on
3.18.1.

Additionally, I take back the "less pauses in 3.18.0 and later" thing. 3.18.1
was horrible just now (same as any kernel after the commit bisected).

Is there any way I can help investigating it more?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (6 preceding siblings ...)
  2015-01-06 12:55 ` bugzilla-daemon
@ 2015-01-06 13:47 ` bugzilla-daemon
  2015-01-06 13:50 ` bugzilla-daemon
                   ` (71 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-01-06 13:47 UTC (permalink / raw)
  To: dri-devel

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

Christian König <deathsimple@vodafone.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |deathsimple@vodafone.de

--- Comment #8 from Christian König <deathsimple@vodafone.de> ---
Just a shot into the dark, but can you please post the content of
/proc/interrupts.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (7 preceding siblings ...)
  2015-01-06 13:47 ` bugzilla-daemon
@ 2015-01-06 13:50 ` bugzilla-daemon
  2015-01-06 14:23 ` bugzilla-daemon
                   ` (70 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-01-06 13:50 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #9 from Gustaw Smolarczyk <wielkiegie@gmail.com> ---
Created attachment 162601
  --> https://bugzilla.kernel.org/attachment.cgi?id=162601&action=edit
/proc/interrupts on 3.17.4

I have attached the contents of /proc/interrupts on 3.17.4. Should I attach one
with a faulty kernel too?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (8 preceding siblings ...)
  2015-01-06 13:50 ` bugzilla-daemon
@ 2015-01-06 14:23 ` bugzilla-daemon
  2015-01-20  8:34 ` bugzilla-daemon
                   ` (69 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-01-06 14:23 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #10 from Christian König <deathsimple@vodafone.de> ---
(In reply to Gustaw Smolarczyk from comment #9)
> Created attachment 162601 [details]
> /proc/interrupts on 3.17.4
> 
> I have attached the contents of /proc/interrupts on 3.17.4. Should I attach
> one with a faulty kernel too?

No, all I wanted to check is that interrupts work as expected. And that indeed
seems to be the case here:

 26:      40191      12200       8939       6450      22186      15970      
9307       6821   PCI-MSI-edge      radeon

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (9 preceding siblings ...)
  2015-01-06 14:23 ` bugzilla-daemon
@ 2015-01-20  8:34 ` bugzilla-daemon
  2015-01-20 20:15 ` bugzilla-daemon
                   ` (68 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-01-20  8:34 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #11 from Maarten Lankhorst <bugs@mblankhorst.nl> ---
Created attachment 163871
  --> https://bugzilla.kernel.org/attachment.cgi?id=163871&action=edit
Restore old fence wait behavior

Ok the only difference I can see is the fence wait function being different in
that commit. The new one should be correct, so lets see if it that's what
causes it, or if it's the introduction of timeouts in ttm.

Does this hack change things?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (10 preceding siblings ...)
  2015-01-20  8:34 ` bugzilla-daemon
@ 2015-01-20 20:15 ` bugzilla-daemon
  2015-01-21  9:24 ` bugzilla-daemon
                   ` (67 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-01-20 20:15 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #12 from Gustaw Smolarczyk <wielkiegie@gmail.com> ---
This hack, when applied on top of 3.19-rc5, seems to fix the problem.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (11 preceding siblings ...)
  2015-01-20 20:15 ` bugzilla-daemon
@ 2015-01-21  9:24 ` bugzilla-daemon
  2015-01-21  9:50 ` bugzilla-daemon
                   ` (66 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-01-21  9:24 UTC (permalink / raw)
  To: dri-devel

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

Maarten Lankhorst <bugs@mblankhorst.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #163871|0                           |1
        is obsolete|                            |

--- Comment #13 from Maarten Lankhorst <bugs@mblankhorst.nl> ---
Created attachment 164121
  --> https://bugzilla.kernel.org/attachment.cgi?id=164121&action=edit
Use exclusive wait to put the waiter at the end of the waitqueue

Ok seems I made a thinko. wait_event_interruptible_timeout and
wait_event_timeout add items to the front of the queue instead of the back,
this may result in fences never signalling.

Can you test the attached patch?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (12 preceding siblings ...)
  2015-01-21  9:24 ` bugzilla-daemon
@ 2015-01-21  9:50 ` bugzilla-daemon
  2015-01-21 14:47 ` bugzilla-daemon
                   ` (65 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-01-21  9:50 UTC (permalink / raw)
  To: dri-devel

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

Maarten Lankhorst <bugs@mblankhorst.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #164121|0                           |1
        is obsolete|                            |

--- Comment #14 from Maarten Lankhorst <bugs@mblankhorst.nl> ---
Created attachment 164131
  --> https://bugzilla.kernel.org/attachment.cgi?id=164131&action=edit
Working patch

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (13 preceding siblings ...)
  2015-01-21  9:50 ` bugzilla-daemon
@ 2015-01-21 14:47 ` bugzilla-daemon
  2015-01-21 18:02 ` bugzilla-daemon
                   ` (64 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-01-21 14:47 UTC (permalink / raw)
  To: dri-devel

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

Maarten Lankhorst <bugs@mblankhorst.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #164131|0                           |1
        is obsolete|                            |

--- Comment #15 from Maarten Lankhorst <bugs@mblankhorst.nl> ---
Created attachment 164141
  --> https://bugzilla.kernel.org/attachment.cgi?id=164141&action=edit
Final version.

Can you test if this thing fixes it? Forget the other patch, this one should
fix the bug.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (14 preceding siblings ...)
  2015-01-21 14:47 ` bugzilla-daemon
@ 2015-01-21 18:02 ` bugzilla-daemon
  2015-01-22 19:30 ` bugzilla-daemon
                   ` (63 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-01-21 18:02 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #16 from Gustaw Smolarczyk <wielkiegie@gmail.com> ---
Unfortunately, the last patch doesn't seem to help in any way. Should I test
the other two too?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (15 preceding siblings ...)
  2015-01-21 18:02 ` bugzilla-daemon
@ 2015-01-22 19:30 ` bugzilla-daemon
  2015-01-22 19:48 ` bugzilla-daemon
                   ` (62 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-01-22 19:30 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #17 from Maarten Lankhorst <bugs@mblankhorst.nl> ---
Created attachment 164421
  --> https://bugzilla.kernel.org/attachment.cgi?id=164421&action=edit
Another approach

Don't need to test anything but final version, can you test this version
though? I want to see if the bug's in the wait code or something with the
interrupt handling..

If this version fails too, can you uncomment the sw_irq_get and sw_irq_put
calls added in the patch?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (16 preceding siblings ...)
  2015-01-22 19:30 ` bugzilla-daemon
@ 2015-01-22 19:48 ` bugzilla-daemon
  2015-01-23 19:19 ` bugzilla-daemon
                   ` (61 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-01-22 19:48 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #18 from Gustaw Smolarczyk <wielkiegie@gmail.com> ---
Only the second version (with the 2 lines uncommented) of the new patch does
fix the problem.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (17 preceding siblings ...)
  2015-01-22 19:48 ` bugzilla-daemon
@ 2015-01-23 19:19 ` bugzilla-daemon
  2015-01-23 22:58 ` bugzilla-daemon
                   ` (60 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-01-23 19:19 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #19 from Maarten Lankhorst <bugs@mblankhorst.nl> ---
Created attachment 164511
  --> https://bugzilla.kernel.org/attachment.cgi?id=164511&action=edit
Clear irqs before processing.. Patch on top of 'another approach'

Can you try with the irq_put/get lines commented, and this patch applied? Lets
see if clearing irqs before processing helps..

Also there is a line in radeon_fence.c with
"radeon_irq_kms_sw_irq_get_delayed", can you add a WARN_ON_ONCE above that line
after the else? To check if that path is taken...

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (18 preceding siblings ...)
  2015-01-23 19:19 ` bugzilla-daemon
@ 2015-01-23 22:58 ` bugzilla-daemon
  2015-01-24 12:57 ` bugzilla-daemon
                   ` (59 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-01-23 22:58 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #20 from Gustaw Smolarczyk <wielkiegie@gmail.com> ---
I will try that on Sunday since I have no access to the radeonsi hardware at
the moment.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (19 preceding siblings ...)
  2015-01-23 22:58 ` bugzilla-daemon
@ 2015-01-24 12:57 ` bugzilla-daemon
  2015-01-25 19:55 ` bugzilla-daemon
                   ` (58 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-01-24 12:57 UTC (permalink / raw)
  To: dri-devel

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

Jon Arne Jørgensen <jonjon.arnearne@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonjon.arnearne@gmail.com

--- Comment #21 from Jon Arne Jørgensen <jonjon.arnearne@gmail.com> ---
Hi,
I'm the reporter of bug 90861, which migth be related to this bug.

I'm now trying to compile a kernel with the patch from Maarten (attachment
164421) to see if it changes anything, but I can't get it to compile:

[...snip...]
  Building modules, stage 2.
  MODPOST 238 modules
  OBJCOPY arch/x86/boot/compressed/vmlinux.bin
  GZIP    arch/x86/boot/compressed/vmlinux.bin.gz
ERROR: "__tracepoint_fence_enable_signal" [drivers/gpu/drm/radeon/radeon.ko]
undefined!
make[2]: *** [__modpost] Error 1
make[1]: *** [modules] Error 2
make[1]: *** Waiting for unfinished jobs....
[...snip...]

I've tried to enable everythoing I could find related to tracepoint in the
kernel config, but with no success.

Any pointers?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (20 preceding siblings ...)
  2015-01-24 12:57 ` bugzilla-daemon
@ 2015-01-25 19:55 ` bugzilla-daemon
  2015-01-25 20:03 ` bugzilla-daemon
                   ` (57 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-01-25 19:55 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #22 from Gustaw Smolarczyk <wielkiegie@gmail.com> ---
@Maarten Lankhorst

The "Clear irqs..." patch doesn't seem to help.

Also, the WARN_ON_ONCE() doesn't seem to be hit (I have added
'WARN_ON_ONCE(1);' in the else block). The dmesg doesn't have anything related
to it. Am I right that the WARN_ON_ONCE line should appear in dmesg in case it
is reached?

@Jon Arne Jørgensen

About patch compilation: I have applied it on top of 3.19-rc5. Are you by any
chance using 3.18?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (21 preceding siblings ...)
  2015-01-25 19:55 ` bugzilla-daemon
@ 2015-01-25 20:03 ` bugzilla-daemon
  2015-01-25 23:00 ` bugzilla-daemon
                   ` (56 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-01-25 20:03 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #23 from Jon Arne Jørgensen <jonjon.arnearne@gmail.com> ---
@Gustaw:

~/Development/c/kernel/src% git describe --long --tags                 
v3.19-rc5-0-gec6f34e

So, that should be 3.19-rc5 :)

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (22 preceding siblings ...)
  2015-01-25 20:03 ` bugzilla-daemon
@ 2015-01-25 23:00 ` bugzilla-daemon
  2015-01-28 12:21 ` bugzilla-daemon
                   ` (55 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-01-25 23:00 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #24 from Jon Arne Jørgensen <jonjon.arnearne@gmail.com> ---
I just commented out the trace_fence_enable_signal call to get it to compile.
Figured I don't need the tracepoint debug to test the patch.

I also uncommented the sw_irq_get and sw_irq_put calls, and can report that the
patch seems to fix bug 90861.

I guess this is proof that the bug is related.

I didn't try the patch with sw_irq_get/set disabled. Just ask, and I will give
it a try.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (23 preceding siblings ...)
  2015-01-25 23:00 ` bugzilla-daemon
@ 2015-01-28 12:21 ` bugzilla-daemon
  2015-01-28 12:24 ` bugzilla-daemon
                   ` (54 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-01-28 12:21 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #25 from Maarten Lankhorst <bugs@mblankhorst.nl> ---
Oke, can you test without the calls to sw_irq_get/put?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (24 preceding siblings ...)
  2015-01-28 12:21 ` bugzilla-daemon
@ 2015-01-28 12:24 ` bugzilla-daemon
  2015-01-28 15:34 ` bugzilla-daemon
                   ` (53 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-01-28 12:24 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #26 from Jon Arne Jørgensen <jonjon.arnearne@gmail.com> ---
I've tested, and can confirm that they are needed for the patch to fix the
crash.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (25 preceding siblings ...)
  2015-01-28 12:24 ` bugzilla-daemon
@ 2015-01-28 15:34 ` bugzilla-daemon
  2015-01-28 19:43 ` bugzilla-daemon
                   ` (52 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-01-28 15:34 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #27 from Maarten Lankhorst <bugs@mblankhorst.nl> ---
Created attachment 165071
  --> https://bugzilla.kernel.org/attachment.cgi?id=165071&action=edit
Print refcounts on sw irq, panic on disabled.

Can you test this patch on top of 'another approach', keep the sw_irq_get/put
commented?
Also enable CONFIG_FENCE_TRACE please.

And then print the entire dmesg..

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (26 preceding siblings ...)
  2015-01-28 15:34 ` bugzilla-daemon
@ 2015-01-28 19:43 ` bugzilla-daemon
  2015-01-29 12:14 ` bugzilla-daemon
                   ` (51 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-01-28 19:43 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #28 from Gustaw Smolarczyk <wielkiegie@gmail.com> ---
Created attachment 165091
  --> https://bugzilla.kernel.org/attachment.cgi?id=165091&action=edit
dmesg after "Print refcounts..." patch

I have applied this patch on top of original "another approach" one.

I think the pauses are now shorter, but more frequent.

The contents of dmesg has been attached. I have taken it from
/var/log/messages, since the in-kernel dmesg buffer was overwritten many times
over. I truncated the messages a bit, since I stopped testing a game at ~80s of
uptime.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (27 preceding siblings ...)
  2015-01-28 19:43 ` bugzilla-daemon
@ 2015-01-29 12:14 ` bugzilla-daemon
  2015-01-29 12:21 ` bugzilla-daemon
                   ` (50 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-01-29 12:14 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #29 from Maarten Lankhorst <bugs@mblankhorst.nl> ---
Thanks, that rules out 1 possibility. There is probably no bug in refcounting
irqs. :P

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (28 preceding siblings ...)
  2015-01-29 12:14 ` bugzilla-daemon
@ 2015-01-29 12:21 ` bugzilla-daemon
  2015-01-29 12:35 ` bugzilla-daemon
                   ` (49 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-01-29 12:21 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #30 from Maarten Lankhorst <bugs@mblankhorst.nl> ---
Can you empty the contents of the radeon_fence_schedule_check function in
radeon_fence.c?

It should make the pauses worse, giving me a chance to find them in the log.
:-)

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (29 preceding siblings ...)
  2015-01-29 12:21 ` bugzilla-daemon
@ 2015-01-29 12:35 ` bugzilla-daemon
  2015-01-29 13:29 ` bugzilla-daemon
                   ` (48 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-01-29 12:35 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #31 from Gustaw Smolarczyk <wielkiegie@gmail.com> ---
Do you mean on top of the latest patch?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (30 preceding siblings ...)
  2015-01-29 12:35 ` bugzilla-daemon
@ 2015-01-29 13:29 ` bugzilla-daemon
  2015-01-29 13:38 ` bugzilla-daemon
                   ` (47 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-01-29 13:29 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #32 from Maarten Lankhorst <bugs@mblankhorst.nl> ---
You can keep print refcounts or remove it, it doesn't matter much either way. I
just want to have at least 'another approach' applied.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (31 preceding siblings ...)
  2015-01-29 13:29 ` bugzilla-daemon
@ 2015-01-29 13:38 ` bugzilla-daemon
  2015-02-05  9:10 ` bugzilla-daemon
                   ` (46 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-01-29 13:38 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #33 from Gustaw Smolarczyk <wielkiegie@gmail.com> ---
Created attachment 165161
  --> https://bugzilla.kernel.org/attachment.cgi?id=165161&action=edit
dmesg after disabling radeon_fence_schedule_check()

I chose to leave the refcount printing patch as it is.

The pauses now are much much longer (~10-20s).

The 2h time difference in the messages log is due to local time not being set
correctly and ntp-client daemon fixing it after some time.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (32 preceding siblings ...)
  2015-01-29 13:38 ` bugzilla-daemon
@ 2015-02-05  9:10 ` bugzilla-daemon
  2015-02-05  9:13 ` bugzilla-daemon
                   ` (45 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-02-05  9:10 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #34 from Jon Arne Jørgensen <jonjon.arnearne@gmail.com> ---
Created attachment 165901
  --> https://bugzilla.kernel.org/attachment.cgi?id=165901&action=edit
dmesg with refcount on sw irq

Hi, Maarten I finaly got around to append the patch you posted in comment 27.
Not sure if you still need this.

I'm also not sure if I should stick with my original bug report (bug 90861) to
not clutter this one?

PS. I had to compile the radeon driver into the kernel to get it to compile.
If I compile the radeon driver as module, the compile will break with this
error:
ERROR: "__tracepoint_fence_enable_signal" [drivers/gpu/drm/radeon/radeon.ko]
undefined!

But I guess that is another bug report :)

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (33 preceding siblings ...)
  2015-02-05  9:10 ` bugzilla-daemon
@ 2015-02-05  9:13 ` bugzilla-daemon
  2015-02-12  8:35 ` bugzilla-daemon
                   ` (44 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-02-05  9:13 UTC (permalink / raw)
  To: dri-devel

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

Jon Arne Jørgensen <jonjon.arnearne@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #165901|0                           |1
        is obsolete|                            |

--- Comment #35 from Jon Arne Jørgensen <jonjon.arnearne@gmail.com> ---
Created attachment 165911
  --> https://bugzilla.kernel.org/attachment.cgi?id=165911&action=edit
dmesg with refcount on sw irq

Hm, seems that auto-detect mime failed with the last attachment?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (34 preceding siblings ...)
  2015-02-05  9:13 ` bugzilla-daemon
@ 2015-02-12  8:35 ` bugzilla-daemon
  2015-02-12  9:47 ` bugzilla-daemon
                   ` (43 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-02-12  8:35 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #36 from Maarten Lankhorst <bugs@mblankhorst.nl> ---
Ugh.. can you test "another approach" again, but change the list_add to
list_add_tail ? Looks like I messed it up there..

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (35 preceding siblings ...)
  2015-02-12  8:35 ` bugzilla-daemon
@ 2015-02-12  9:47 ` bugzilla-daemon
  2015-02-12  9:49 ` bugzilla-daemon
                   ` (42 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-02-12  9:47 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #37 from Maarten Lankhorst <bugs@mblankhorst.nl> ---
Never mind, that won't matter much..

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (36 preceding siblings ...)
  2015-02-12  9:47 ` bugzilla-daemon
@ 2015-02-12  9:49 ` bugzilla-daemon
  2015-02-12  9:53 ` bugzilla-daemon
                   ` (41 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-02-12  9:49 UTC (permalink / raw)
  To: dri-devel

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

Maarten Lankhorst <bugs@mblankhorst.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #164141|0                           |1
        is obsolete|                            |
 Attachment #164421|0                           |1
        is obsolete|                            |

--- Comment #38 from Maarten Lankhorst <bugs@mblankhorst.nl> ---
Created attachment 166571
  --> https://bugzilla.kernel.org/attachment.cgi?id=166571&action=edit
Use fence_add/remove_callback

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (37 preceding siblings ...)
  2015-02-12  9:49 ` bugzilla-daemon
@ 2015-02-12  9:53 ` bugzilla-daemon
  2015-02-12 14:35 ` bugzilla-daemon
                   ` (40 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-02-12  9:53 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #39 from Gustaw Smolarczyk <wielkiegie@gmail.com> ---
Should I apply it on top of 3.19.0? Or is it an extension of some previous
patch?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (38 preceding siblings ...)
  2015-02-12  9:53 ` bugzilla-daemon
@ 2015-02-12 14:35 ` bugzilla-daemon
  2015-02-12 18:28 ` bugzilla-daemon
                   ` (39 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-02-12 14:35 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #40 from Maarten Lankhorst <bugs@mblankhorst.nl> ---
It replaces the previous attempts to fix the bug.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (39 preceding siblings ...)
  2015-02-12 14:35 ` bugzilla-daemon
@ 2015-02-12 18:28 ` bugzilla-daemon
  2015-02-23 11:48 ` bugzilla-daemon
                   ` (38 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-02-12 18:28 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #41 from Gustaw Smolarczyk <wielkiegie@gmail.com> ---
Unfortunately, still no good.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (40 preceding siblings ...)
  2015-02-12 18:28 ` bugzilla-daemon
@ 2015-02-23 11:48 ` bugzilla-daemon
  2015-03-02  8:29 ` bugzilla-daemon
                   ` (37 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-02-23 11:48 UTC (permalink / raw)
  To: dri-devel

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

Damien Grassart <damien@grassart.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |damien@grassart.com

--- Comment #42 from Damien Grassart <damien@grassart.com> ---
Hi, is there any progress on this bug? The current kernel makes Dota 2
unplayable on my Radeon HD 7870. I can also confirm that the "another approach"
patch with the two lines uncommented fixes the problem (as Gustaw already
mentioned above).

Is there anything I can do or provide that might help resolve this?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (41 preceding siblings ...)
  2015-02-23 11:48 ` bugzilla-daemon
@ 2015-03-02  8:29 ` bugzilla-daemon
  2015-03-02  9:15 ` bugzilla-daemon
                   ` (36 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-02  8:29 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #43 from Maarten Lankhorst <bugs@mblankhorst.nl> ---
After applying attachment 166571 can you add a usleep(50000); in
radeon_fence_enable_signaling after the line "radeon_irq_kms_sw_irq_get(rdev,
fence->ring);" but before the line "if (radeon_fence_activity(rdev,
fence->ring))"?

It's a hack, to confirm if my suspicions are correct. It will probably make
everything a lot slower, but I only care if the pauses are gone or not..

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (42 preceding siblings ...)
  2015-03-02  8:29 ` bugzilla-daemon
@ 2015-03-02  9:15 ` bugzilla-daemon
  2015-03-02  9:27 ` bugzilla-daemon
                   ` (35 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-02  9:15 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #44 from Gustaw Smolarczyk <wielkiegie@gmail.com> ---
I think you meant udelay(50000). (I just used msleep(50) and got a nice lock-up
since the call was in an atomic context).

Just a sec.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (43 preceding siblings ...)
  2015-03-02  9:15 ` bugzilla-daemon
@ 2015-03-02  9:27 ` bugzilla-daemon
  2015-03-02  9:46 ` bugzilla-daemon
                   ` (34 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-02  9:27 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #45 from Gustaw Smolarczyk <wielkiegie@gmail.com> ---
(In the end I had to use mdelay(50))

The performance was really traumatic (8-11fps). But on a positive side, there
seemed to be no pauses. There was one moment when fps dropped to 0 (for ~1/3 of
a second), but it may have been due to completely different reason.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (44 preceding siblings ...)
  2015-03-02  9:27 ` bugzilla-daemon
@ 2015-03-02  9:46 ` bugzilla-daemon
  2015-03-02  9:55 ` bugzilla-daemon
                   ` (33 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-02  9:46 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #46 from Maarten Lankhorst <bugs@mblankhorst.nl> ---
Ok what about udelay(500), should be a smaller pause?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (45 preceding siblings ...)
  2015-03-02  9:46 ` bugzilla-daemon
@ 2015-03-02  9:55 ` bugzilla-daemon
  2015-03-02 10:03 ` bugzilla-daemon
                   ` (32 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-02  9:55 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #47 from Gustaw Smolarczyk <wielkiegie@gmail.com> ---
With 500us delay, the performance is nearly back to how it was (~70fps). And
the pauses are still gone.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (46 preceding siblings ...)
  2015-03-02  9:55 ` bugzilla-daemon
@ 2015-03-02 10:03 ` bugzilla-daemon
  2015-03-02 10:11 ` bugzilla-daemon
                   ` (31 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-02 10:03 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #48 from Maarten Lankhorst <bugs@mblankhorst.nl> ---
Created attachment 168571
  --> https://bugzilla.kernel.org/attachment.cgi?id=168571&action=edit
flush hdp harder

No idea if this does anything, adding a bunch of flushes instead of doing a
sleep.. pauses still occur?

If not can you check if it still works with only the chunk in
radeon_fence_enable_signalling?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (47 preceding siblings ...)
  2015-03-02 10:03 ` bugzilla-daemon
@ 2015-03-02 10:11 ` bugzilla-daemon
  2015-03-02 10:19 ` bugzilla-daemon
                   ` (30 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-02 10:11 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #49 from Gustaw Smolarczyk <wielkiegie@gmail.com> ---
(had to remove "robj->" from the patch).

Doesn't help.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (48 preceding siblings ...)
  2015-03-02 10:11 ` bugzilla-daemon
@ 2015-03-02 10:19 ` bugzilla-daemon
  2015-03-02 10:21 ` bugzilla-daemon
                   ` (29 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-02 10:19 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #50 from Maarten Lankhorst <bugs@mblankhorst.nl> ---
Ok never mind that approach then..

in radeon_fence.c, add a
WARN_ON((int)atomic_read(&rdev->irq.ring_int[fence->ring]) <= 0); after the
sw_irq_get, it should never fire.

in si.c you have a few lines like this:

    if (atomic_read(&rdev->irq.ring_int[RADEON_RING_TYPE_GFX_INDEX])) {
        DRM_DEBUG("si_irq_set: sw int gfx\n");
        cp_int_cntl |= TIME_STAMP_INT_ENABLE;
    }
    if (atomic_read(&rdev->irq.ring_int[CAYMAN_RING_TYPE_CP1_INDEX])) {
        DRM_DEBUG("si_irq_set: sw int cp1\n");
        cp_int_cntl1 |= TIME_STAMP_INT_ENABLE;
    }
    if (atomic_read(&rdev->irq.ring_int[CAYMAN_RING_TYPE_CP2_INDEX])) {
        DRM_DEBUG("si_irq_set: sw int cp2\n");
        cp_int_cntl2 |= TIME_STAMP_INT_ENABLE;
    }

Can you first change all of the conditions to atomic_read(..) || 1 so it always
sets the irqs? That should fix the hangs at some cpu overhead..

If that works and you no longer get hangs, can you remove the || 1 for
RADEON_RING_TYPE_GFX_INDEX, see if the hangs are still gone?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (49 preceding siblings ...)
  2015-03-02 10:19 ` bugzilla-daemon
@ 2015-03-02 10:21 ` bugzilla-daemon
  2015-03-02 10:22 ` bugzilla-daemon
                   ` (28 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-02 10:21 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #51 from Gustaw Smolarczyk <wielkiegie@gmail.com> ---
Should I apply it on top of attachment 166571?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (50 preceding siblings ...)
  2015-03-02 10:21 ` bugzilla-daemon
@ 2015-03-02 10:22 ` bugzilla-daemon
  2015-03-02 10:41 ` bugzilla-daemon
                   ` (27 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-02 10:22 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #52 from Maarten Lankhorst <bugs@mblankhorst.nl> ---
Yes, and also add a WARN_ON(!rdev->ih.enabled); to
radeon_fence_enable_signaling, just to be thorough..

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (51 preceding siblings ...)
  2015-03-02 10:22 ` bugzilla-daemon
@ 2015-03-02 10:41 ` bugzilla-daemon
  2015-03-02 10:54 ` bugzilla-daemon
                   ` (26 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-02 10:41 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #53 from Gustaw Smolarczyk <wielkiegie@gmail.com> ---
At first, I added "|| 1" only to GFX, CP1 and CP2 (I omitted the two DMA
conditions). This did NOT fix the pauses.

However, after converting these final two DMA conditions, the pauses are gone.
Reverting GFX condition didn't change that.

Also - is there an easy way to check whether the WARN_ON have been fired or
not?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (52 preceding siblings ...)
  2015-03-02 10:41 ` bugzilla-daemon
@ 2015-03-02 10:54 ` bugzilla-daemon
  2015-03-02 11:00 ` bugzilla-daemon
                   ` (25 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-02 10:54 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #54 from Maarten Lankhorst <bugs@mblankhorst.nl> ---
Just look if there's some output in dmesg or not.

To verify, only having interrupts enabled on the DMA conditions fixes your bug?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (53 preceding siblings ...)
  2015-03-02 10:54 ` bugzilla-daemon
@ 2015-03-02 11:00 ` bugzilla-daemon
  2015-03-02 11:04 ` bugzilla-daemon
                   ` (24 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-02 11:00 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #55 from Maarten Lankhorst <bugs@mblankhorst.nl> ---
Do you happen to know if it's DMA or DMA1?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (54 preceding siblings ...)
  2015-03-02 11:00 ` bugzilla-daemon
@ 2015-03-02 11:04 ` bugzilla-daemon
  2015-03-02 11:05 ` bugzilla-daemon
                   ` (23 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-02 11:04 UTC (permalink / raw)
  To: dri-devel

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

Maarten Lankhorst <bugs@mblankhorst.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #168571|0                           |1
        is obsolete|                            |

--- Comment #56 from Maarten Lankhorst <bugs@mblankhorst.nl> ---
Created attachment 168581
  --> https://bugzilla.kernel.org/attachment.cgi?id=168581&action=edit
reshuffle evergreen_dma_fence_ring_emit

Try this patch perhaps, and remove the || 1's?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (55 preceding siblings ...)
  2015-03-02 11:04 ` bugzilla-daemon
@ 2015-03-02 11:05 ` bugzilla-daemon
  2015-03-02 17:09 ` bugzilla-daemon
                   ` (22 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-02 11:05 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #57 from Gustaw Smolarczyk <wielkiegie@gmail.com> ---
Will try when I return home.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (56 preceding siblings ...)
  2015-03-02 11:05 ` bugzilla-daemon
@ 2015-03-02 17:09 ` bugzilla-daemon
  2015-03-02 18:46 ` bugzilla-daemon
                   ` (21 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-02 17:09 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #58 from Gustaw Smolarczyk <wielkiegie@gmail.com> ---
This patch doesn't help.

I have been experimenting with forcing interrupts on only some rings. In the
end I have found that by adding "|| 1" only to R600_RING_TYPE_DMA_INDEX ring I
have removed the pauses.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (57 preceding siblings ...)
  2015-03-02 17:09 ` bugzilla-daemon
@ 2015-03-02 18:46 ` bugzilla-daemon
  2015-03-02 18:49 ` bugzilla-daemon
                   ` (20 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-02 18:46 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #59 from Maarten Lankhorst <bugs@mblankhorst.nl> ---
I was afraid of that, that's the ring used for eviction.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (58 preceding siblings ...)
  2015-03-02 18:46 ` bugzilla-daemon
@ 2015-03-02 18:49 ` bugzilla-daemon
  2015-03-02 19:19 ` bugzilla-daemon
                   ` (19 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-02 18:49 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #60 from Maarten Lankhorst <bugs@mblankhorst.nl> ---
can you add a if (fence->ring == R600_RING_TYPE_DMA_INDEX) udelay(50); to
radeon_fence_enable_signaling? after the irq_get again. If that works try
udelay(5), if it doesn't udelay(500) ?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (59 preceding siblings ...)
  2015-03-02 18:49 ` bugzilla-daemon
@ 2015-03-02 19:19 ` bugzilla-daemon
  2015-03-02 19:24 ` bugzilla-daemon
                   ` (18 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-02 19:19 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #61 from Gustaw Smolarczyk <wielkiegie@gmail.com> ---
5us is ok.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (60 preceding siblings ...)
  2015-03-02 19:19 ` bugzilla-daemon
@ 2015-03-02 19:24 ` bugzilla-daemon
  2015-03-02 20:02 ` bugzilla-daemon
                   ` (17 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-02 19:24 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #62 from Gustaw Smolarczyk <wielkiegie@gmail.com> ---
Even 1us works.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (61 preceding siblings ...)
  2015-03-02 19:24 ` bugzilla-daemon
@ 2015-03-02 20:02 ` bugzilla-daemon
  2015-03-02 20:23 ` bugzilla-daemon
                   ` (16 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-02 20:02 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #63 from Maarten Lankhorst <bugs@mblankhorst.nl> ---
What about changing the udelay to a RREG32(DMA_CNTL + DMA0_REGISTER_OFFSET); ?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (62 preceding siblings ...)
  2015-03-02 20:02 ` bugzilla-daemon
@ 2015-03-02 20:23 ` bugzilla-daemon
  2015-03-02 20:27 ` bugzilla-daemon
                   ` (15 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-02 20:23 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #64 from Gustaw Smolarczyk <wielkiegie@gmail.com> ---
Yes, the fix still works.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (63 preceding siblings ...)
  2015-03-02 20:23 ` bugzilla-daemon
@ 2015-03-02 20:27 ` bugzilla-daemon
  2015-03-02 20:29 ` bugzilla-daemon
                   ` (14 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-02 20:27 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #65 from Maarten Lankhorst <bugs@mblankhorst.nl> ---
So attachment 166571 and the rreg32 addition is enough?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (64 preceding siblings ...)
  2015-03-02 20:27 ` bugzilla-daemon
@ 2015-03-02 20:29 ` bugzilla-daemon
  2015-03-02 20:33 ` bugzilla-daemon
                   ` (13 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-02 20:29 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #66 from Gustaw Smolarczyk <wielkiegie@gmail.com> ---
It seems that way. I hope others can check that too.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (65 preceding siblings ...)
  2015-03-02 20:29 ` bugzilla-daemon
@ 2015-03-02 20:33 ` bugzilla-daemon
  2015-03-02 20:40 ` bugzilla-daemon
                   ` (12 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-02 20:33 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #67 from Maarten Lankhorst <bugs@mblankhorst.nl> ---
what about a rmb(); there instead?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (66 preceding siblings ...)
  2015-03-02 20:33 ` bugzilla-daemon
@ 2015-03-02 20:40 ` bugzilla-daemon
  2015-03-02 20:48 ` bugzilla-daemon
                   ` (11 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-02 20:40 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #68 from Gustaw Smolarczyk <wielkiegie@gmail.com> ---
rmb(); doesn't seem to be enough.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (67 preceding siblings ...)
  2015-03-02 20:40 ` bugzilla-daemon
@ 2015-03-02 20:48 ` bugzilla-daemon
  2015-03-02 21:07 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-02 20:48 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #69 from Maarten Lankhorst <bugs@mblankhorst.nl> ---
Hm full mb(); ?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (68 preceding siblings ...)
  2015-03-02 20:48 ` bugzilla-daemon
@ 2015-03-02 21:07 ` bugzilla-daemon
  2015-03-02 22:00 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-02 21:07 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #70 from Gustaw Smolarczyk <wielkiegie@gmail.com> ---
mb(); is ok.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (69 preceding siblings ...)
  2015-03-02 21:07 ` bugzilla-daemon
@ 2015-03-02 22:00 ` bugzilla-daemon
  2015-03-02 22:11 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-02 22:00 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #71 from Maarten Lankhorst <bugs@mblankhorst.nl> ---
Thanks for helping investigate, I will send the attachment as a bugfix to bug
90861, that bug is specifically about the waitqueue ordering in
radeon_fence_default_wait. That one was really caused by me.

The bug here just happened to be triggered more reliably because there is a lot
less wait time between sw_irq_get and radeon_fence_read. It needs some kind of
barrier but I'm not sure which one. The radeon dev Alex Deucher will look into
it and talk with some other people about the proper way to fix this.

Thanks for all your help, I'll cc you when I send my bugfix.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (70 preceding siblings ...)
  2015-03-02 22:00 ` bugzilla-daemon
@ 2015-03-02 22:11 ` bugzilla-daemon
  2015-03-03  1:44 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-02 22:11 UTC (permalink / raw)
  To: dri-devel

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

Alex Deucher <alexdeucher@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alexdeucher@gmail.com

--- Comment #72 from Alex Deucher <alexdeucher@gmail.com> ---
Does reading any arbitrary register also work?  E.g., SRBM_STATUS

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (71 preceding siblings ...)
  2015-03-02 22:11 ` bugzilla-daemon
@ 2015-03-03  1:44 ` bugzilla-daemon
  2015-03-03  1:47 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-03  1:44 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #73 from Michel Dänzer <michel@daenzer.net> ---
(In reply to Alex Deucher from comment #72)
> Does reading any arbitrary register also work?  E.g., SRBM_STATUS

I think that would indeed be the right thing to do here, to prevent the PCIe
bridge from delaying the register writes.

Probably better to also check the fence status again after enabling the IRQ, to
handle the case where the hardware might signal the fence after we check its
status but before we enable the IRQ.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (72 preceding siblings ...)
  2015-03-03  1:44 ` bugzilla-daemon
@ 2015-03-03  1:47 ` bugzilla-daemon
  2015-03-03  6:34 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-03  1:47 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #74 from Alex Deucher <alexdeucher@gmail.com> ---
posting reads implemented here:
http://cgit.freedesktop.org/~agd5f/linux/log/?h=posting-read

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (73 preceding siblings ...)
  2015-03-03  1:47 ` bugzilla-daemon
@ 2015-03-03  6:34 ` bugzilla-daemon
  2015-03-03 17:59 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-03  6:34 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #75 from Maarten Lankhorst <bugs@mblankhorst.nl> ---
Michel, enabling irqs before checking the fence signaling was exactly what I
was doing already, I'm hoping the attachment plus the branch is enough. :)

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (74 preceding siblings ...)
  2015-03-03  6:34 ` bugzilla-daemon
@ 2015-03-03 17:59 ` bugzilla-daemon
  2015-03-03 18:52 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-03 17:59 UTC (permalink / raw)
  To: dri-devel

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

Dieter Nützel <Dieter@nuetzel-hh.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Dieter@nuetzel-hh.de

--- Comment #76 from Dieter Nützel <Dieter@nuetzel-hh.de> ---
Hello Maarten,

is https://bugzilla.kernel.org/attachment.cgi?id=168581
needed or obsolete with Alex's patches?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (75 preceding siblings ...)
  2015-03-03 17:59 ` bugzilla-daemon
@ 2015-03-03 18:52 ` bugzilla-daemon
  2015-03-03 21:50 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-03 18:52 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #77 from Gustaw Smolarczyk <wielkiegie@gmail.com> ---
No pauses after I applied attachment 166571 and "drm/radeon: do a posting read
in si_set_irq" from posting-read branch on top of v3.19. So I guess these
commits combined fix this issue.

@Dieter: I did not need to apply this patch in order to fix this issue.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (76 preceding siblings ...)
  2015-03-03 18:52 ` bugzilla-daemon
@ 2015-03-03 21:50 ` bugzilla-daemon
  2015-03-04  9:21 ` bugzilla-daemon
  2017-04-26 13:35 ` bugzilla-daemon
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-03 21:50 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #78 from Dieter Nützel <Dieter@nuetzel-hh.de> ---
(In reply to Gustaw Smolarczyk from comment #77)
> No pauses after I applied attachment 166571 [details] and "drm/radeon: do a
> posting read in si_set_irq" from posting-read branch on top of v3.19. So I
> guess these commits combined fix this issue.
> 
> @Dieter: I did not need to apply this patch in order to fix this issue.

Thanks Gustaw!

In the meantime I have it running on r600g/NI/Turks XT with:

drm-next-4.1-wip
+
HDMI fixes from 'audio-fixes'
+
' posting-read'
drm-radeon-do-a-posting-read-in-evergreen_set_irq.patch
drm-radeon-do-a-posting-read-in-r600_set_irq.patch (better more than less...;-)
+
attachment 166571
drm-radeon-fix-wait-to-actually-occur-after-the-signaling-callback.patch
+
drm-radeon-fix-DRM_IOCTL_RADEON_CS-oops.patch

Cheers,
   Dieter

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (77 preceding siblings ...)
  2015-03-03 21:50 ` bugzilla-daemon
@ 2015-03-04  9:21 ` bugzilla-daemon
  2017-04-26 13:35 ` bugzilla-daemon
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2015-03-04  9:21 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #79 from Maarten Lankhorst <bugs@mblankhorst.nl> ---
Yeah all patches are obsolete except attachment 166571 and the posting read
patches..

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

* [Bug 90741] Radeon: System pauses on TAHITI
  2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
                   ` (78 preceding siblings ...)
  2015-03-04  9:21 ` bugzilla-daemon
@ 2017-04-26 13:35 ` bugzilla-daemon
  79 siblings, 0 replies; 81+ messages in thread
From: bugzilla-daemon @ 2017-04-26 13:35 UTC (permalink / raw)
  To: dri-devel

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

Julien Isorce (julien.isorce@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |julien.isorce@gmail.com

--- Comment #80 from Julien Isorce (julien.isorce@gmail.com) ---
This bug should be closed:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v4.4&id=0586915ec10d0ae60de5cd3381ad25a704760402

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 81+ messages in thread

end of thread, other threads:[~2017-04-26 13:35 UTC | newest]

Thread overview: 81+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-04  0:35 [Bug 90741] New: Radeon: System pauses on TAHITI bugzilla-daemon
2015-01-04 14:07 ` [Bug 90741] " bugzilla-daemon
2015-01-05  9:01 ` bugzilla-daemon
2015-01-05  9:14 ` bugzilla-daemon
2015-01-05 19:15 ` bugzilla-daemon
2015-01-06  2:17 ` bugzilla-daemon
2015-01-06 11:14 ` bugzilla-daemon
2015-01-06 12:55 ` bugzilla-daemon
2015-01-06 13:47 ` bugzilla-daemon
2015-01-06 13:50 ` bugzilla-daemon
2015-01-06 14:23 ` bugzilla-daemon
2015-01-20  8:34 ` bugzilla-daemon
2015-01-20 20:15 ` bugzilla-daemon
2015-01-21  9:24 ` bugzilla-daemon
2015-01-21  9:50 ` bugzilla-daemon
2015-01-21 14:47 ` bugzilla-daemon
2015-01-21 18:02 ` bugzilla-daemon
2015-01-22 19:30 ` bugzilla-daemon
2015-01-22 19:48 ` bugzilla-daemon
2015-01-23 19:19 ` bugzilla-daemon
2015-01-23 22:58 ` bugzilla-daemon
2015-01-24 12:57 ` bugzilla-daemon
2015-01-25 19:55 ` bugzilla-daemon
2015-01-25 20:03 ` bugzilla-daemon
2015-01-25 23:00 ` bugzilla-daemon
2015-01-28 12:21 ` bugzilla-daemon
2015-01-28 12:24 ` bugzilla-daemon
2015-01-28 15:34 ` bugzilla-daemon
2015-01-28 19:43 ` bugzilla-daemon
2015-01-29 12:14 ` bugzilla-daemon
2015-01-29 12:21 ` bugzilla-daemon
2015-01-29 12:35 ` bugzilla-daemon
2015-01-29 13:29 ` bugzilla-daemon
2015-01-29 13:38 ` bugzilla-daemon
2015-02-05  9:10 ` bugzilla-daemon
2015-02-05  9:13 ` bugzilla-daemon
2015-02-12  8:35 ` bugzilla-daemon
2015-02-12  9:47 ` bugzilla-daemon
2015-02-12  9:49 ` bugzilla-daemon
2015-02-12  9:53 ` bugzilla-daemon
2015-02-12 14:35 ` bugzilla-daemon
2015-02-12 18:28 ` bugzilla-daemon
2015-02-23 11:48 ` bugzilla-daemon
2015-03-02  8:29 ` bugzilla-daemon
2015-03-02  9:15 ` bugzilla-daemon
2015-03-02  9:27 ` bugzilla-daemon
2015-03-02  9:46 ` bugzilla-daemon
2015-03-02  9:55 ` bugzilla-daemon
2015-03-02 10:03 ` bugzilla-daemon
2015-03-02 10:11 ` bugzilla-daemon
2015-03-02 10:19 ` bugzilla-daemon
2015-03-02 10:21 ` bugzilla-daemon
2015-03-02 10:22 ` bugzilla-daemon
2015-03-02 10:41 ` bugzilla-daemon
2015-03-02 10:54 ` bugzilla-daemon
2015-03-02 11:00 ` bugzilla-daemon
2015-03-02 11:04 ` bugzilla-daemon
2015-03-02 11:05 ` bugzilla-daemon
2015-03-02 17:09 ` bugzilla-daemon
2015-03-02 18:46 ` bugzilla-daemon
2015-03-02 18:49 ` bugzilla-daemon
2015-03-02 19:19 ` bugzilla-daemon
2015-03-02 19:24 ` bugzilla-daemon
2015-03-02 20:02 ` bugzilla-daemon
2015-03-02 20:23 ` bugzilla-daemon
2015-03-02 20:27 ` bugzilla-daemon
2015-03-02 20:29 ` bugzilla-daemon
2015-03-02 20:33 ` bugzilla-daemon
2015-03-02 20:40 ` bugzilla-daemon
2015-03-02 20:48 ` bugzilla-daemon
2015-03-02 21:07 ` bugzilla-daemon
2015-03-02 22:00 ` bugzilla-daemon
2015-03-02 22:11 ` bugzilla-daemon
2015-03-03  1:44 ` bugzilla-daemon
2015-03-03  1:47 ` bugzilla-daemon
2015-03-03  6:34 ` bugzilla-daemon
2015-03-03 17:59 ` bugzilla-daemon
2015-03-03 18:52 ` bugzilla-daemon
2015-03-03 21:50 ` bugzilla-daemon
2015-03-04  9:21 ` bugzilla-daemon
2017-04-26 13:35 ` bugzilla-daemon

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.