On 20/05/16 16:14, Jyri Sarha wrote:
> On 05/20/16 15:51, Tomi Valkeinen wrote:
>>> +u32 dispc_mgr_gamma_size(enum omap_channel channel)
+{
+ const struct dispc_gamma_desc *gdesc = &mgr_desc[channel].gamma;
+
+ if (!dss_has_feature(FEAT_GAMMA_TABLE))
+ return 0;
On 05/20/16 15:51, Tomi Valkeinen wrote:
>> +u32 dispc_mgr_gamma_size(enum omap_channel channel)
>> > +{
>> > + const struct dispc_gamma_desc *gdesc = &mgr_desc[channel].gamma;
>> > +
>> > + if (!dss_has_feature(FEAT_GAMMA_TABLE))
>> > + return 0;
>> > +
> This should probably check the
Hi,
On 20/05/16 09:35, Jyri Sarha wrote:
> 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 it's internal data structure.
"its"
> Each call to dispc_mgr_set_gamma() updates the internal tabl
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 it's internal data structure.
Each call to dispc_mgr_set_gamma() updates the internal table and
triggers write the HW, if it is enabled. The tables a