* [Bug 74195] [NVCE] Responsivity to input with vsync on is slower after update
[not found] ` <bug-74195-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
@ 2014-01-29 20:45 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-01-29 21:12 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-01-29 20:45 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1.1: Type: text/plain, Size: 1214 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=74195
Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Responsivity to input with |[NVCE] Responsivity to
|vsync on is slower after |input with vsync on is
|update |slower after update
--- Comment #1 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
On the surface, this should have been a no-op change. You say you tried
different kernel versions... is that to say you did a git bisect? e.g. can you
confirm that 0fa9061ae8c10a9178d696cf48d94c3bf2848f9f has the issue but
0fa9061ae8c10a9178d696cf48d94c3bf2848f9f^ doesn't?
One small difference that I noticed is that if stat == ~0 in the old code it'll
return IRQ_NONE, whereas it will try to handle it in after the patch. I can't
imagine that matters here though.
Something to look at is what it is that the drm framework provided with the
irq's that's not done by nouveau now.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2455 bytes --]
[-- Attachment #2: Type: text/plain, Size: 181 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 8+ messages in thread* [Bug 74195] [NVCE] Responsivity to input with vsync on is slower after update
[not found] ` <bug-74195-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2014-01-29 20:45 ` [Bug 74195] [NVCE] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2014-01-29 21:12 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-01-29 22:38 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-01-29 21:12 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1.1: Type: text/plain, Size: 365 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=74195
--- Comment #2 from Jan Janecek <janjanjanx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
I can confirm that 0fa9061ae8c10a9178d696cf48d94c3bf2848f9f has the problem and
b9a3140ce8fcd616b02533fbdef375a87a910daf (previous commit) does'nt.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1140 bytes --]
[-- Attachment #2: Type: text/plain, Size: 181 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 8+ messages in thread* [Bug 74195] [NVCE] Responsivity to input with vsync on is slower after update
[not found] ` <bug-74195-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2014-01-29 20:45 ` [Bug 74195] [NVCE] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-01-29 21:12 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2014-01-29 22:38 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-01-29 23:08 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-01-29 22:38 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1.1: Type: text/plain, Size: 716 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=74195
--- Comment #3 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
Actually the current code handles the intr == ~0 bit. The only other thing of
mild consequence is that drm_device->irq_enabled is no longer set.
Can you try adding
dev->irq_enabled = true;
to nouveau_drm.c:nouveau_drm_load somewhere after things look like they
succeed? Or perhaps right before the nouveau_display_create, where it was
before the patch. [And in an ideal world, one would also set it to false at
some point, e.g. nouveau_drm_unload, but I doubt that's important for this
experiment.]
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1500 bytes --]
[-- Attachment #2: Type: text/plain, Size: 181 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 8+ messages in thread* [Bug 74195] [NVCE] Responsivity to input with vsync on is slower after update
[not found] ` <bug-74195-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
` (2 preceding siblings ...)
2014-01-29 22:38 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2014-01-29 23:08 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-01-29 23:14 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-01-29 23:08 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1.1: Type: text/plain, Size: 895 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=74195
--- Comment #4 from Jan Janecek <janjanjanx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
(In reply to comment #3)
> Actually the current code handles the intr == ~0 bit. The only other thing
> of mild consequence is that drm_device->irq_enabled is no longer set.
>
> Can you try adding
>
> dev->irq_enabled = true;
>
> to nouveau_drm.c:nouveau_drm_load somewhere after things look like they
> succeed? Or perhaps right before the nouveau_display_create, where it was
> before the patch. [And in an ideal world, one would also set it to false at
> some point, e.g. nouveau_drm_unload, but I doubt that's important for this
> experiment.]
This fix solved the problem for 0fa9061ae8c10a9178d696cf48d94c3bf2848f9f!
That's great!
I will try if it works for 3.13 too.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1779 bytes --]
[-- Attachment #2: Type: text/plain, Size: 181 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 8+ messages in thread* [Bug 74195] [NVCE] Responsivity to input with vsync on is slower after update
[not found] ` <bug-74195-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
` (3 preceding siblings ...)
2014-01-29 23:08 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2014-01-29 23:14 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-01-29 23:21 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-02-19 3:34 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-01-29 23:14 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1.1: Type: text/plain, Size: 269 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=74195
--- Comment #5 from Jan Janecek <janjanjanx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
Yes, the fix works for 3.13 too. Thank you so much!
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1044 bytes --]
[-- Attachment #2: Type: text/plain, Size: 181 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 8+ messages in thread* [Bug 74195] [NVCE] Responsivity to input with vsync on is slower after update
[not found] ` <bug-74195-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
` (4 preceding siblings ...)
2014-01-29 23:14 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2014-01-29 23:21 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-02-19 3:34 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-01-29 23:21 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1.1: Type: text/plain, Size: 593 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=74195
--- Comment #6 from Emil Velikov <emil.l.velikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
Great catch Ilia,
from the DocBook [1]
Manual IRQ Registration
... They must set the
<structname>drm_device</structname> <structfield>irq_enabled</structfield>
field to 1 upon registration of the IRQs, and clear it to 0 after
unregistering the IRQs.
[1]
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/DocBook/drm.tmpl#n374
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1516 bytes --]
[-- Attachment #2: Type: text/plain, Size: 181 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 8+ messages in thread* [Bug 74195] [NVCE] Responsivity to input with vsync on is slower after update
[not found] ` <bug-74195-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
` (5 preceding siblings ...)
2014-01-29 23:21 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2014-02-19 3:34 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-02-19 3:34 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1.1: Type: text/plain, Size: 771 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=74195
Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #7 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
The fix is now upstream and will be included in the next 3.14-rc as well as be
backported to the affected stable kernels.
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=7d3428cd4b2ad51af86fdbdf8284ca38fa95e601
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2356 bytes --]
[-- Attachment #2: Type: text/plain, Size: 181 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 8+ messages in thread