[Intel-gfx] [PATCH] disable FBC for IGD

Eric Anholt eric at anholt.net
Tue Oct 13 19:12:55 CEST 2009


On Sat, 2009-10-10 at 15:20 +0800, Shaohua Li wrote:
> On Fri, Oct 09, 2009 at 11:53:16PM +0800, Jesse Barnes wrote:
> > On Fri, 9 Oct 2009 14:06:40 +0800
> > Shaohua Li <shaohua.li at intel.com> wrote:
> > 
> > > IGD doesn't support FBC. Enabling it will cause boot hang.
> > > 
> > > Signed-off-by: Shaohua Li <shaohua.li at intel.com>
> > > 
> > > diff --git a/drivers/gpu/drm/i915/i915_dma.c
> > > b/drivers/gpu/drm/i915/i915_dma.c index 45d507e..6c26bd6 100644
> > > --- a/drivers/gpu/drm/i915/i915_dma.c
> > > +++ b/drivers/gpu/drm/i915/i915_dma.c
> > > @@ -1228,7 +1228,7 @@ static int i915_load_modeset_init(struct
> > > drm_device *dev, 
> > >  	/* Try to set up FBC with a reasonable compressed buffer
> > > size */ if (IS_MOBILE(dev) && (IS_I9XX(dev) || IS_I965G(dev) ||
> > > IS_GM45(dev)) &&
> > > -	    i915_powersave) {
> > > +	    !IS_IGD(dev) && i915_powersave) {
> > >  		int cfb_size;
> > 
> > Can you update this part to use I915_HAS_FBC instead while you're at it?
> ok.
> 
> 
> IGD doesn't support FBC. Enabling it will cause boot hang.
> 
> Signed-off-by: Shaohua Li <shaohua.li at intel.com>

Applied.  Thanks!

-- 
Eric Anholt
eric at anholt.net                         eric.anholt at intel.com


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20091013/25f6986a/attachment.sig>


More information about the Intel-gfx mailing list