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

Jesse Barnes jbarnes at virtuousgeek.org
Fri Oct 9 17:53:16 CEST 2009


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?

Thanks,
-- 
Jesse Barnes, Intel Open Source Technology Center



More information about the Intel-gfx mailing list