[PATCH 1/2] Revert "drm/radeon: remove drm_vblank_get|put from pflip handling"

Michel Dänzer michel at daenzer.net
Wed Jun 25 00:57:11 PDT 2014


On 25.06.2014 03:13, Dieter Nützel wrote:
> Am 24.06.2014 12:05, schrieb Michel Dänzer:
>> On 24.06.2014 05:32, Dieter Nützel wrote:
>>> Am 23.06.2014 21:46, schrieb Dieter Nützel:
>>>> Am 23.06.2014 11:34, schrieb Michel Dänzer:
>>>>> On 18.06.2014 18:14, Christian König wrote:
>>>>>> Am 18.06.2014 07:53, schrieb Michel Dänzer:
>>>>>>>
>>>>>>>   (WW) RADEON(0): radeon_dri2_flip_event_handler: Pageflip
>>>>>>> completion
>>>>>>> event has impossible msc [x-1] < target_msc [x]
>>> [...]
>>> I can reliable generate such lines in Xorg.0.log with KWin cube desktop
>>> effect.
>>>
>>> Rotate screens with mouse wheel or screen switcher => new entry in
>>> Xorg.0.log. If it happens I notice ('see') flip delay.
>>
>> I was only able to reproduce it a couple of times even with that, but not
>> at all yet with the patch below. Does it help for you as well?
> 
> Will try in the next run.
> 
> My daughter generated kernel crash for us.;-)
> See would open up a zoom image in Konqi of a new Waveboard for here girl
> friends...
> 
> But I could only take images with my mobile.
> kernel BUG at drivers/gpu/drm/drm_irq.c:976!

I was able to reproduce all these issues, and the attached three patches
fix them for me. Please let me know if you can still trigger the panic
or the diagnostic error messages in patch 2 somehow. If everything works
fine for you as well with these, I'll submit them with the error
messages in patch 2 changed to debug messages.


-- 
Earthling Michel Dänzer            |                  http://www.amd.com
Libre software enthusiast          |                Mesa and X developer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-drm-radeon-Only-enable-and-handle-pageflip-interrupt.patch
Type: text/x-patch
Size: 7644 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140625/8fe306b3/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-drm-radeon-Track-the-status-of-a-page-flip-more-expl.patch
Type: text/x-patch
Size: 4049 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140625/8fe306b3/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-drm-radeon-Avoid-sending-page-flip-completion-event-.patch
Type: text/x-patch
Size: 2814 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140625/8fe306b3/attachment-0005.bin>


More information about the dri-devel mailing list