From: Alan Cox Subject: Re: [PATCH 12/35] drm/gma500: use drm_modeset_lock_all Date: Thu, 10 Jan 2013 22:36:33 +0000 Message-ID: <20130110223633.6bfaae4b@pyramind.ukuu.org.uk> References: <1357850897-27102-1-git-send-email-daniel.vetter@ffwll.ch> <1357850897-27102-13-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 lxorguk.ukuu.org.uk (lxorguk.ukuu.org.uk [81.2.110.251]) by gabe.freedesktop.org (Postfix) with ESMTP id 5477AE60B7 for ; Thu, 10 Jan 2013 14:29:45 -0800 (PST) In-Reply-To: <1357850897-27102-13-git-send-email-daniel.vetter@ffwll.ch> 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: Daniel Vetter Cc: DRI Development List-Id: dri-devel@lists.freedesktop.org On Thu, 10 Jan 2013 21:47:53 +0100 Daniel Vetter wrote: > Only two places: > - suspend/resume > - Some really strange mode validation tool with too much funny-lucking > hand-rolled conversion code. > - The recently-added lastclose fbdev restore code. > > Better safe than sorry, so convert both places to keep the locking > semantics as much as possible. Seems fine. The last close behaviour really ought to be in the core DRM code. Telling people to discover magic incantations with sysrq is a total fail, especially on tablets and other devices that don't *have* a sysrq key. Alan