From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Barnes Subject: Re: [PATCH] drm/i915: add modeset_global_pipes callback for global config adjustments Date: Fri, 1 Nov 2013 12:28:28 -0700 Message-ID: <20131101122828.50db093c@jbarnes-desktop> References: <1383333216-1428-1-git-send-email-jbarnes@virtuousgeek.org> <1383333846-805-1-git-send-email-jbarnes@virtuousgeek.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from oproxy4-pub.mail.unifiedlayer.com (oproxy4-pub.mail.unifiedlayer.com [74.220.216.66]) by gabe.freedesktop.org (Postfix) with SMTP id AEC45EFF2A for ; Fri, 1 Nov 2013 12:27:49 -0700 (PDT) Received: from [67.161.37.189] (port=49242 helo=jbarnes-desktop) by box514.bluehost.com with esmtpsa (TLSv1:CAMELLIA128-SHA:128) (Exim 4.80) (envelope-from ) id 1VcKNo-0001Po-Oc for intel-gfx@lists.freedesktop.org; Fri, 01 Nov 2013 13:27:48 -0600 In-Reply-To: <1383333846-805-1-git-send-email-jbarnes@virtuousgeek.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Fri, 1 Nov 2013 12:24:06 -0700 Jesse Barnes wrote: > In some cases we may need to turn off more pipes than just the ones > affected by a connector or encoder change, probably due to modifying > some global resource that requires all pipes to shut down. Add a hook > for this purpose to allow platform code to adjust the prepare_pipes > mask, which allows otherwise active pipes to get shut down for the > duration of the mode set, then restored at the end. > > Signed-off-by: Jesse Barnes Oops just went back in time with the wrong commit... will resend yet again. -- Jesse Barnes, Intel Open Source Technology Center