]> git.baikalelectronics.ru Git - kernel.git/commit
drm/panel: Add display timing support
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 11 Dec 2014 17:32:44 +0000 (18:32 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 2 Apr 2015 17:04:12 +0000 (19:04 +0200)
commit34e6ae38c413159b042ca6a85dd18f2037c2d519
tree4f08dd05bd203e91000989c1dea8804a35c735df
parent92eccbea6e55638ad3e35d96a9a622c86a93658c
drm/panel: Add display timing support

Many panel data sheets, additionally to typical values, list allowed
ranges for timings such as hsync/vsync lengths, porches, and the pixel
clock rate. These can be stored in a struct display_timing, to be used
by an encoder mode_fixup callback to clamp user provided timing values
or to validate workarounds for clock source limitations.

This patch adds a new drm_panel_funcs callback that returns the panel's
available display_timing entries.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Thierry Reding <treding@nvidia.com>
include/drm/drm_panel.h