From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH] drm/i915: check for kms in dri1 ioctls Date: Wed, 25 Apr 2012 11:56:13 +0200 Message-ID: <20120425095613.GF5079@phenom.ffwll.local> References: <1335220340_31543@CP5-2952> <1335248982-16750-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-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by gabe.freedesktop.org (Postfix) with ESMTP id E65A09E9EB for ; Wed, 25 Apr 2012 02:55:14 -0700 (PDT) Received: by wibhj13 with SMTP id hj13so3727253wib.12 for ; Wed, 25 Apr 2012 02:55:14 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1335248982-16750-1-git-send-email-daniel.vetter@ffwll.ch> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Intel Graphics Development Cc: Daniel Vetter List-Id: intel-gfx@lists.freedesktop.org On Tue, Apr 24, 2012 at 08:29:42AM +0200, Daniel Vetter wrote: > Calling these when gem assumes full control of the hw won't end > in anything else than tears. So be a bit more paranoid here. > > Just serves as documentation. > > v2: Bail out with ENODEV as suggested by Chris Wilson. > > Reviewed-by: Chris Wilson > Signed-off-by: Daniel Vetter I've picked up the first 5 patches of this series, thanks for the review. -Daniel -- Daniel Vetter Mail: daniel@ffwll.ch Mobile: +41 (0)79 365 57 48