From: ville.syrjala@linux.intel.com Subject: [RFC][PATCH] Atomic page flip WIP Date: Wed, 12 Sep 2012 18:47:03 +0300 Message-ID: <1347464827-14187-1-git-send-email-ville.syrjala@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTP id D38089E762 for ; Wed, 12 Sep 2012 08:47:17 -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-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org I'm posting this as rather raw just to get a bit more substance to the discussions. The drm_flip thingy may seem a bit too mid-layerish for people's taste, but at least it is almost completely driven by explicit function calls from the driver (the wq side is the exception naturally). I originally wrote drm_flip for Medfield, where I used it syncronize the pipe's primary layer and one or two video overlays (gen3 style overlays). So it's a fairly well proven tehnology. I can post a version of the video overlay code too in case someone would be interested in having drm_planes on gen3 hardware. This set applies on top of my earlier drm_atomic_4 branch: https://gitorious.org/vsyrjala/linux/commits/drm_atomic_4