[Intel-gfx] [PATCH 6/9] drm/i915: split out Ironlake pipe bpp picking code
Chris Wilson
chris at chris-wilson.co.uk
Fri Jun 24 11:58:57 CEST 2011
On Wed, 11 May 2011 10:48:07 -0700, Jesse Barnes <jbarnes at 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
More information about the Intel-gfx
mailing list