linux_dsm_epyc7002/drivers/gpu/drm/omapdrm/dss
Jyri Sarha acc3a231d3 drm/omapdrm: Add gamma table support to DSS dispc
Add gamma table support to DSS dispc.

DSS driver initializes the default gamma table at component bind time
and holds a copy of all gamma tables in its internal data structure.

Each call to dispc_mgr_set_gamma() updates the internal table and
triggers write to the HW, if it is enabled. The tables are restored to
HW in PM resume callback. The drivers internal data structure match
the HW tables in size and in number of significant bits per color
component. The dispc_mgr_set_gamma() converts the size of any given
table for the internal data structure using linear interpolation.
Default gamma table is restored if NULL is given in place of gamma
lut.

dispc_mgr_gamma_size() gives HW gamma table size for the channel and
returns 0 if gamma table is not supported by the HW or the DSS driver.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-06-07 17:10:49 +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/omapdrm: Add gamma table support to DSS dispc 2016-06-07 17:10:49 +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: Do not include video/omapdss.h directly in drivers 2016-06-03 16:06:37 +03:00
dpi.c Merge omapdss header refactoring 2016-06-07 12:42:58 +03:00
dsi.c Merge omapdss header refactoring 2016-06-07 12:42:58 +03:00
dss_features.c Merge omapdss header refactoring 2016-06-07 12:42:58 +03:00
dss_features.h drm/omap: remove dss_feat_get_clk_source_name() 2016-05-19 20:19:04 +03:00
dss-of.c drm/omap: Do not include video/omapdss.h directly in drivers 2016-06-03 16:06:37 +03:00
dss.c Merge omapdss header refactoring 2016-06-07 12:42:58 +03:00
dss.h drm/omap: generalize dss_pll_calc_b() 2016-05-19 20:19:08 +03:00
hdmi4_core.c drm/omap: fix OMAP4 hdmi_core_powerdown_disable() 2016-05-31 08:20:42 +03:00
hdmi4_core.h
hdmi4.c drm/omapdrm: Add gamma table support to DSS dispc 2016-06-07 17:10:49 +03:00
hdmi5_core.c OMAPDSS: HDMI5: Change DDC timings 2016-05-31 08:20:43 +03:00
hdmi5_core.h
hdmi5.c drm/omapdrm: Add gamma table support to DSS dispc 2016-06-07 17:10:49 +03: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 Merge omapdss header refactoring 2016-06-07 12:42:58 +03:00
hdmi.h Merge omapdss header refactoring 2016-06-07 12:42:58 +03:00
Kconfig
Makefile drm/omap: remove dss compat code 2016-03-03 17:38:24 +02:00
omapdss-boot-init.c
omapdss.h drm/omapdrm: Add gamma table support to DSS dispc 2016-06-07 17:10:49 +03:00
output.c drm/omap: Do not include video/omapdss.h directly in drivers 2016-06-03 16:06:37 +03:00
pll.c Merge omapdss header refactoring 2016-06-07 12:42:58 +03:00
rfbi.c drm/omap: Do not include video/omapdss.h directly in drivers 2016-06-03 16:06:37 +03:00
sdi.c drm/omap: Do not include video/omapdss.h directly in drivers 2016-06-03 16:06:37 +03:00
venc.c drm/omap: Do not include video/omapdss.h directly in drivers 2016-06-03 16:06:37 +03:00
video-pll.c Merge omapdss header refactoring 2016-06-07 12:42:58 +03:00