mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
Merge "vout: add vout cap get func [1/1]" into amlogic-5.15-dev
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user