Merge "vout: add vout cap get func [1/1]" into amlogic-5.15-dev

This commit is contained in:
gerrit autosubmit
2024-08-28 04:10:56 -07:00
committed by Gerrit Code Review
4 changed files with 30 additions and 0 deletions
@@ -300,6 +300,15 @@ static int set_vout2_mode(char *name)
return ret;
}
int get_vout2_mode_cap(char *buf)
{
if (!get_vout2_disp_cap(buf))
sprintf(buf, "null\n");
return 0;
}
EXPORT_SYMBOL(get_vout2_mode_cap);
static int set_vout2_init_mode(void)
{
enum vmode_e vmode;
@@ -301,6 +301,15 @@ static int set_vout3_mode(char *name)
return ret;
}
int get_vout3_mode_cap(char *buf)
{
if (!get_vout3_disp_cap(buf))
sprintf(buf, "null\n");
return 0;
}
EXPORT_SYMBOL(get_vout3_mode_cap);
static int set_vout3_init_mode(void)
{
enum vmode_e vmode;
@@ -358,6 +358,15 @@ int set_vout_mode(char *name)
}
EXPORT_SYMBOL(set_vout_mode);
int get_vout_mode_cap(char *buf)
{
if (!get_vout_disp_cap(buf))
sprintf(buf, "null\n");
return 0;
}
EXPORT_SYMBOL(get_vout_mode_cap);
static int set_vout_init_mode(void)
{
enum vmode_e vmode;
@@ -399,6 +399,9 @@ int get_vout3_mode_uboot_state(void);
char *get_uboot_connector0_type(void);
int set_vout_mode(char *name);
int get_vout_mode_cap(char *buf);
int get_vout_mode2_cap(char *buf);
int get_vout_mode3_cap(char *buf);
void set_vout_init(enum vmode_e mode);
void update_vout_viu(void);
int set_vout_vmode(enum vmode_e mode);