]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm: Use C8 instead of RGB332 when determining the format from depth/bpp
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 31 Jan 2013 17:43:38 +0000 (19:43 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 15 Feb 2013 09:30:46 +0000 (10:30 +0100)
commit1d8edb53fe51c8df37bd1597e0e764af326b7e3e
tree81ee11e9c8c141827d17266c2419b1dd7fd1e805
parent2538212213229fd5abe2a0e5daa7bb1e738c20cd
drm: Use C8 instead of RGB332 when determining the format from depth/bpp

Support for real RGB332 is a rarity, most hardware only really support
C8. So use C8 instead of RGB332 when determining the format based on
depth/bpp.

This fixes 8bpp fbcon on i915, since i915 will only accept C8 and not
RGB332.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59572
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Acked-by: Dave Airlie <airlied@gmail.com>
Tested-by: mlsemon35@gmail.com
Cc: stable@vger.kernel.org
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_crtc.c