[PATCH 0/2] Two patches for pageflips

Daniel Vetter daniel.vetter at ffwll.ch
Mon Dec 17 07:58:58 PST 2012


Hi all,

So in the course of beating the pageflip paths senseless to test the new locking
scheme I've hunted down some bugs on g33. Sometimes we seemingly time out
waiting for the event - apparently the pageflip irq is lost somewhere. I've
tried to dig in, but lost myself completely in the rather fickle vblank mess in
drm_irq.c.

To not write off the last few days completely, I've figured I'll submit the two
sane patches for inclusion - the first should fix fbcon doing stupid things, the
second is purely paranoia (I hope at least). Imho longterm we need to seriously
look at the current vblank stuff - since it operates on pipe ides instead of
modeset crtc objects it's all rather fiddly and easily falls appart. But keeping
both ums and kms paths working is a challenge ...

Comments highly welcome.

Yours, Daniel

Daniel Vetter (2):
  drm/fb_helper: check whether fbcon is bound
  drm/i915: wake up all pageflip waiters

 drivers/gpu/drm/drm_fb_helper.c      |   39 +++++++++++++++++++++++++---------
 drivers/gpu/drm/i915/intel_display.c |    2 +-
 2 files changed, 30 insertions(+), 11 deletions(-)

-- 
1.7.10.4



More information about the dri-devel mailing list