From: Daniel Vetter Subject: [PATCH 0/6] fb refcount and crtc helper patches Date: Sat, 15 Jun 2013 00:13:10 +0200 Message-ID: <1371247996-6052-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: Received: from mail-ee0-f52.google.com (mail-ee0-f52.google.com [74.125.83.52]) by gabe.freedesktop.org (Postfix) with ESMTP id 952ADE5C11 for ; Fri, 14 Jun 2013 15:13:23 -0700 (PDT) Received: by mail-ee0-f52.google.com with SMTP id c50so637187eek.11 for ; Fri, 14 Jun 2013 15:13:22 -0700 (PDT) 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 List-Id: dri-devel@lists.freedesktop.org Hi all, Russell found a refcount bug in my fb refcounting conversion, but to also fix i915.ko I've opted for a slightly different approach. While at it I've thought it would be good to backport some of the semantic changes we've implented in i915's ->set_config callback since we've forked our own modeset infrastructure. The intel code receive lots more refactorings and cleanups (most of them right after the code fork) which would be simple to backport, but I'm kinda swamped (hint, hint, ...). But these few patches are the important bits. Cheers, Daniel Daniel Vetter (6): drm/crtc-helpers: Enforce sane set_config api drm/crtc-helper: no need to check for fb->depth/bpp drm/crtc-helper: explicit DPMS on after modeset drm/crtc-helper: don't disable disconnected outputs drm: check that ->set_config properly updates the fb drm: fix fb leak in setcrtc drivers/gpu/drm/drm_crtc.c | 25 +++++++++++++++----- drivers/gpu/drm/drm_crtc_helper.c | 47 +++++++++++++++++-------------------- include/drm/drm_crtc.h | 4 ++++ 3 files changed, 45 insertions(+), 31 deletions(-) -- 1.7.10.4