drm/panel: simple: Add bits-per-color support
authorStéphane Marchesin <marcheu@chromium.org>
Fri, 20 Jun 2014 01:18:28 +0000 (18:18 -0700)
committerThierry Reding <treding@nvidia.com>
Fri, 1 Aug 2014 10:41:14 +0000 (12:41 +0200)
commit0208d51112b65e27490bc21ab6872358903f7d61
tree3609703017b52948a7a9a0a2a8d4cf3cf584aac6
parentea44739db37f7e187a2e684c1f9d5662b9dba94a
drm/panel: simple: Add bits-per-color support

The bits-per-color is provided by the EDID normally, but if we're using
panels, we need to store it somewhere. So we add a field to the panel
descriptor for it.

Signed-off-by: Stéphane Marchesin <marcheu@chromium.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/panel/panel-simple.c