On Wed, 11 May 2011 10:48:07 -0700, Jesse Barnes <jbar...@virtuousgeek.org> 
wrote:
> +static bool intel_choose_pipe_bpp_dither(struct drm_crtc *crtc,
> +                                      unsigned int *pipe_bpp)
> +{
> +     struct drm_device *dev = crtc->dev;
> +     struct drm_i915_private *dev_priv = dev->dev_private;
> +     struct drm_encoder *encoder;
> +     struct drm_connector *connector;
> +     unsigned int display_bpc = UINT_MAX, fb_bpc, bpc;
> +
> +     fb_bpc = crtc->fb->depth / 3;

Very misleading. Set but never used.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to