From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [RFCv1 11/12] drm: Atomic modeset ioctl Date: Mon, 7 Oct 2013 19:56:02 +0200 Message-ID: <20131007175602.GB2676@phenom.ffwll.local> References: <1381020350-1125-1-git-send-email-robdclark@gmail.com> <1381020350-1125-12-git-send-email-robdclark@gmail.com> <20131007132812.GG9395@intel.com> <20131007141802.GL9395@intel.com> <20131007150522.GN9395@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ee0-f43.google.com (mail-ee0-f43.google.com [74.125.83.43]) by gabe.freedesktop.org (Postfix) with ESMTP id D63BAE5D0D for ; Mon, 7 Oct 2013 10:55:45 -0700 (PDT) Received: by mail-ee0-f43.google.com with SMTP id e52so3454416eek.16 for ; Mon, 07 Oct 2013 10:55:43 -0700 (PDT) Content-Disposition: inline In-Reply-To: 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: Rob Clark Cc: "dri-devel@lists.freedesktop.org" List-Id: dri-devel@lists.freedesktop.org On Mon, Oct 07, 2013 at 11:20:54AM -0400, Rob Clark wrote: > yeah, current atomic patch is almost an afterthought in this series. > I still need to get planes working on msm and find some test code (I > guess you have some somewhere?).. so other than just rebasing it > enough to compile, I didn't really spend any time on it yet. Right > now I was more interested in getting folks to have a look at the > atomic funcs and helpers. One in-kernel test user we have is the fbdev restore code - it needs to get rid of all planes, cursors and set up its new config on all crtcs. I think this would be a fairly nice (albeit really basic testcase): You can set up a bunch of planes/cursors, then vt-switch to the fbcon - this way we can exercise the atomic stuff in drivers a bit better even without needing to add any ioctl. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch