]> git.baikalelectronics.ru Git - kernel.git/commit
drm/omap: change default signal polarities and drives
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 17 Apr 2020 11:41:51 +0000 (14:41 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 5 May 2020 06:58:37 +0000 (09:58 +0300)
commitf81f045d46d79500389841fbed1305709a758223
tree35e410d4e33ec51362dbc8d0bcf8086ae5f4ec1c
parent237ae67a28f2cc27b45deba1d4b5bdb799c1833b
drm/omap: change default signal polarities and drives

If the given videomode does not specify DISPLAY_FLAG_* for the specific
signal property, the driver used a default value. These defaults were
never thought through, as the expectation was that all the DISPLAY_FLAGS
are always set explicitly.

With DRM bridge and panel drivers this is not the case, and while that
issue should be resolved in the future, it's still good to have sane
signal defaults.

This patch changes the defaults to what the hardware has as reset
defaults. Also, based on my experience, I think they make sense and are
more likely correct than the defaults without this patch.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200417114151.25843-1-tomi.valkeinen@ti.com
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/gpu/drm/omapdrm/dss/dispc.c