summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJyri Sarha <jsarha@ti.com>2016-06-07 15:09:15 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-06-07 17:10:49 +0300
commitacc3a231d3d145b23d1f975b9be89b7cfb09885b (patch)
tree0c8ff7ff364413e528a1ffb4cdf08263aacd7576 /Documentation
parentf8ed34ac7b453296cf36d6eb7ae911de353e1351 (diff)
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions