drm/i915: use pipe bpp when setting HDMI bpc
authorJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 24 Jun 2011 19:19:25 +0000 (12:19 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 7 Jul 2011 20:20:46 +0000 (13:20 -0700)
commit020f6704b5fbf687534ce53aeedc0364a995ae8a
treef2a0b90c6b803083833ddf87a86a3d397a9b9291
parent858fa03527ded333dc5701f546bd5d1b5d7515ad
drm/i915: use pipe bpp when setting HDMI bpc

The Intel HDMI encoder can support 8bpc or 12bpc.  Set the appropriate
value based on the pipe bpp when configuring the output.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/intel_hdmi.c