/***************************************************************
** Copyright (C),  2020,  OPLUS Mobile Comm Corp.,  Ltd
** OPLUS_BUG_STABILITY
** File : oplus_display_panel_seed.h
** Description : oplus display panel seed feature
** Version : 1.0
** Date : 2020/06/13
**
** ------------------------------- Revision History: -----------
**  <author>        <data>        <version >        <desc>
**  Li.Sheng       2020/06/13        1.0           Build this moudle
******************************************************************/
#ifndef _OPLUS_DISPLAY_PANEL_SEED_H_
#define _OPLUS_DISPLAY_PANEL_SEED_H_

#include <linux/err.h>
#include "dsi_display.h"
#include "dsi_panel.h"
#include "dsi_ctrl.h"
#include "dsi_ctrl_hw.h"
#include "dsi_drm.h"
#include "dsi_clk.h"
#include "dsi_pwr.h"
#include "sde_dbg.h"

#define OPLUS_SEED_MODE0 0
#define OPLUS_SEED_MODE1 1
#define OPLUS_SEED_MODE2 2
#define OPLUS_SEED_MODE3 3
#define OPLUS_SEED_MODE4 4

int oplus_display_panel_get_seed(void *data);
int oplus_display_panel_set_seed(void *data);
int oplus_dsi_update_seed_mode(void);
int __oplus_display_set_seed(int mode);
int dsi_panel_seed_mode(struct dsi_panel *panel, int mode);
int dsi_panel_seed_mode_unlock(struct dsi_panel *panel, int mode);
int dsi_display_seed_mode(struct dsi_display *display, int mode);
int dsi_panel_dc_seed_mode_unlock(struct dsi_panel *panel, int mode);

#endif
