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 availability of LCD2/LCD3? >
That would be a double check (the function should never be called with channels that are not there), but I am happy to add it. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: OpenPGP digital signature URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160520/4c2a9537/attachment.sig>