From: Daniel Vetter Subject: [PATCH 0/2] Two patches for pageflips Date: Mon, 17 Dec 2012 16:58:58 +0100 Message-ID: <1355759940-7464-1-git-send-email-daniel.vetter@ffwll.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: DRI Development Cc: Daniel Vetter , Intel Graphics Development List-Id: intel-gfx@lists.freedesktop.org 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