drm/tegra: Fix color expansion
authorThierry Reding <thierry.reding@avionic-design.de>
Thu, 21 Feb 2013 07:11:57 +0000 (08:11 +0100)
committerThierry Reding <thierry.reding@avionic-design.de>
Fri, 22 Feb 2013 07:21:35 +0000 (08:21 +0100)
commit84ff6b270893cd8b054bae371a315c905ffa3ac9
tree246e62c85ad887f33d18c58481fd21b3855af09d
parent3b9e71eae5ac5ded28ad1dcded7c01ae73dd9581
drm/tegra: Fix color expansion

bpp stores the number of bytes per pixel, but color expansion needs to
be enabled for less than 24 bits per pixel.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
drivers/gpu/drm/tegra/dc.c