linux/drivers/gpu/drm/omapdrm/dss
Tomi Valkeinen be2d68c69e drm/omap: fix replication logic
DSS uses "replication logic" to convert color components from smaller
bit widths to bigger bit widths. Without replication logic, the color
component would be shifted and the least significant bits would be left
at 0, whereas with replication logic, the least significat bits will be
filled with the most significant bit.

For some reason omapdrm leaves replication logic always to off, which,
in the most common case, means that showing 16-bit RGB colors on 24-bit
display gives a bit darker colors than expected.

The reset value of the replication logic bit is enabled, and it should
always be set, as there's no practical reason to disable it. This patch
removes the option to disable it from omapdrm, and always sets it to
enabled in dispc.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2017-04-03 12:36:40 +03:00
..
base.c drm/omap: add dispc_ops 2017-04-03 12:36:40 +03:00
core.c drm/omap: Do not include video/omapdss.h directly in drivers 2016-06-03 16:06:37 +03:00
dispc_coefs.c drm/omap: Do not include video/omapdss.h directly in drivers 2016-06-03 16:06:37 +03:00
dispc.c drm/omap: fix replication logic 2017-04-03 12:36:40 +03:00
dispc.h drm/omapdrm: Add gamma table support to DSS dispc 2016-06-07 17:10:49 +03:00
display.c drm/omap: move display, dss-of, output to omapdss-base 2017-04-03 12:36:40 +03:00
dpi.c drm/omap: improve DPI clock selection on DRA7xx 2017-04-03 12:36:40 +03:00
dsi.c drm/omap: display: don't use dsi_get_pixel_size() 2017-04-03 12:36:40 +03:00
dss_features.c drm/omap: move dispc related dss-feat funcs to dispc 2017-04-03 12:36:40 +03:00
dss_features.h drm/omap: move dispc related dss-feat funcs to dispc 2017-04-03 12:36:40 +03:00
dss-of.c drm/omap: move display, dss-of, output to omapdss-base 2017-04-03 12:36:40 +03:00
dss.c drm/omap: move dss_initialized to omapdss-base 2017-04-03 12:36:40 +03:00
dss.h drm/omap: remove unused dispc_wb_enable & dispc_wb_is_enabled 2017-04-03 12:36:40 +03:00
hdmi4_core.c drm/omap: Use consistent name for struct videomode 2016-11-02 10:48:18 +02:00
hdmi4_core.h
hdmi4.c drm/omap: Use consistent name for struct videomode 2016-11-02 10:48:18 +02:00
hdmi5_core.c drm/omap: Use consistent name for struct videomode 2016-11-02 10:48:18 +02:00
hdmi5_core.h
hdmi5.c drm/omap: Use consistent name for struct videomode 2016-11-02 10:48:18 +02:00
hdmi_common.c drm/omap: Do not include video/omapdss.h directly in drivers 2016-06-03 16:06:37 +03:00
hdmi_phy.c Merge omapdss header refactoring 2016-06-07 12:42:58 +03:00
hdmi_pll.c Merge omapdss header refactoring 2016-06-07 12:42:58 +03:00
hdmi_wp.c drm/omap: fix HDMI sync polarities 2017-04-03 12:36:40 +03:00
hdmi.h drm/omap: Use consistent name for struct videomode 2016-11-02 10:48:18 +02:00
Kconfig drm/omap: add omapdss-base.ko 2017-04-03 12:36:40 +03:00
Makefile drm/omap: move display, dss-of, output to omapdss-base 2017-04-03 12:36:40 +03:00
omapdss-boot-init.c drm: omapdrm: Use sizeof(*var) instead of sizeof(type) for structures 2016-12-19 11:25:05 +02:00
omapdss.h drm/omap: fix replication logic 2017-04-03 12:36:40 +03:00
output.c drm/omap: move display, dss-of, output to omapdss-base 2017-04-03 12:36:40 +03:00
pll.c drm/omap: work-around for errata i886 2017-04-03 12:36:40 +03:00
rfbi.c drm/omap: Use consistent name for struct videomode 2016-11-02 10:48:18 +02:00
sdi.c drm/omap: Use consistent name for struct videomode 2016-11-02 10:48:18 +02:00
venc.c drm/omap: Use consistent name for struct videomode 2016-11-02 10:48:18 +02:00
video-pll.c Merge omapdss header refactoring 2016-06-07 12:42:58 +03:00