dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: "Michel Dänzer" <michel@daenzer.net>
To: "Dieter Nützel" <Dieter@nuetzel-hh.de>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH 1/2] Revert "drm/radeon: remove drm_vblank_get|put from pflip handling"
Date: Thu, 26 Jun 2014 18:34:12 +0900	[thread overview]
Message-ID: <53ABE914.5010308@daenzer.net> (raw)
In-Reply-To: <cadfa5a13fb6db05b6fb692315b99169@mail.ud03.udmedia.de>

On 26.06.2014 08:34, Dieter Nützel wrote:
> Am 25.06.2014 09:57, schrieb Michel Dänzer:
>> 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.
>>>>
>>>> [...]
>>>
>>> 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.
> 
> Tested-by: Dieter@nuetzel-hh.de on top of 3.16-rc2.
> Can't trigger any of the above problems with your three patches applied.

Great, thanks for testing. I've submitted the first two patches for
inclusion.

I'm still pondering if the third patch is the right thing to do or even
necessary. Maybe we should instead fix the X radeon driver to deal more
gracefully with page flips completing earlier than expected. E.g. weston
doesn't seem to have any trouble with that.


> Shouldn't this go into -rc3 if Christian and Alex ACKed it?

These fixes should go in before the 3.16 release, yes. And I don't see
why they wouldn't.


-- 
Earthling Michel Dänzer            |                  http://www.amd.com
Libre software enthusiast          |                Mesa and X developer
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

      reply	other threads:[~2014-06-26  9:34 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-17 10:12 [PATCH 1/2] Revert "drm/radeon: remove drm_vblank_get|put from pflip handling" Michel Dänzer
2014-06-17 10:12 ` [PATCH 2/2] drm/radeon: Fix radeon_irq_kms_pflip_irq_get/put() imbalance Michel Dänzer
2014-06-17 11:41 ` [PATCH 1/2] Revert "drm/radeon: remove drm_vblank_get|put from pflip handling" Christian König
2014-06-17 13:45   ` Alex Deucher
2014-06-18  5:53   ` Michel Dänzer
2014-06-18  9:14     ` Christian König
2014-06-23  9:34       ` Michel Dänzer
2014-06-23 12:45         ` Christian König
2014-06-23 19:46         ` Dieter Nützel
2014-06-23 20:32           ` Dieter Nützel
2014-06-24 10:05             ` Michel Dänzer
2014-06-24 19:58               ` Dieter Nützel
2014-06-24 21:52               ` Dieter Nützel
     [not found]               ` <1d171bd5e2e5a09d6016b07936e5293c@mail.ud03.udmedia.de>
2014-06-25  7:57                 ` Michel Dänzer
2014-06-25 23:34                   ` Dieter Nützel
2014-06-26  9:34                     ` Michel Dänzer [this message]

Reply instructions:

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

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

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

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

  git send-email \
    --in-reply-to=53ABE914.5010308@daenzer.net \
    --to=michel@daenzer.net \
    --cc=Dieter@nuetzel-hh.de \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

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

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).