From: Adam Jackson Subject: Re: [PATCH 1/2] drm/i915: add fbc enable flag, but disable by default Date: Thu, 05 May 2011 18:07:43 -0400 Message-ID: <4DC31FAF.3030303@redhat.com> References: <1304631746-6649-1-git-send-email-jbarnes@virtuousgeek.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by gabe.freedesktop.org (Postfix) with ESMTP id C3BA49E893 for ; Thu, 5 May 2011 15:07:45 -0700 (PDT) In-Reply-To: <1304631746-6649-1-git-send-email-jbarnes@virtuousgeek.org> 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: Jesse Barnes Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On 5/5/11 5:42 PM, Jesse Barnes wrote: > FBC has too many corner cases that we don't currently deal with, so > disable it by default so we can enable more important features like RC6, > which conflicts in some configurations. > > Signed-off-by: Jesse Barnes It's a bit weird to ... > +unsigned int i915_enable_fbc = 0; > +module_param_named(i915_enable_fbc, i915_enable_fbc, int, 0600); > + ... disable fbc by default ... > + if (!i915_enable_fbc) { > + DRM_DEBUG_KMS("fbc disabled manually\n"); > + dev_priv->no_fbc_reason = FBC_MANUAL_DISABLE; > + goto out_disable; > + } ... and then claim the user is to blame. - ajax