@@ -1224,6 +1224,16 @@ void dispc_enable_zorder(enum omap_plane plane, bool enable)
dispc_write_reg(dispc_reg_att[plane], val);
}
+void dispc_enable_gamma_table(bool enable)
+{
+ /* This is partially implemented to support only
+ * disable the gamma table
+ */
+ BUG_ON(enable);
+
+ REG_FLD_MOD(DISPC_CONFIG, enable, 9, 9);
+}
+
static void _dispc_set_vid_color_conv(enum omap_plane plane, bool enable)
{
u32 val;
@@ -358,6 +358,7 @@ void dispc_set_plane_pos(enum omap_plane plane, u16 x, u16 y);
void dispc_set_plane_size(enum omap_plane plane, u16 width, u16 height);
void dispc_set_channel_out(enum omap_plane plane,
enum omap_channel channel_out);
+void dispc_enable_gamma_table(bool enable);
int dispc_setup_plane(enum omap_plane plane,
u32 paddr, u16 screen_width,
u16 pos_x, u16 pos_y,