From: Daniel Vetter Date: Sun, 2 Jun 2013 11:26:23 +0000 (+0200) Subject: drm/i915: refactor sink bpp clamping X-Git-Tag: v3.11-rc1~65^2~61^2~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=050f7aeb129c1b9fb63dd523ca9bc1101bbae6cc;p=pandora-kernel.git drm/i915: refactor sink bpp clamping As a prep work to fix it up: - Use intel_connector instead of drm_connector to avoid too much upcasting in the bugfix patch. - Extract the connector bpp clamping from the loop-over-connectors logic. - Bikeshed function names (to make it clearer that acompute_baseline_pipe_bpp runs in the compute stage of the modeset sequence) and add a comment to make it clearer what it does. No functional change in this patch. Cc: Chris Wilson Reviewed-by: Chris Wilson Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed