return lcd_vout_state;
}
-#ifdef CONFIG_AML_VOUT_FRAMERATE_AUTOMATION
+#ifdef CONFIG_AMLOGIC_VOUT_SERVE
struct lcd_vframe_match_s {
int fps;
int frame_rate; /* *100 */
static int lcd_set_vframe_rate_hint(int duration)
{
-#ifdef CONFIG_AML_VOUT_FRAMERATE_AUTOMATION
+#ifdef CONFIG_AMLOGIC_VOUT_SERVE
struct aml_lcd_drv_s *lcd_drv = aml_lcd_get_driver();
struct vinfo_s *info;
int fr_policy;
__func__, fr_policy);
return 0;
}
- fps = get_vsource_fps(duration);
+ fps = vout_get_vsource_fps(duration);
for (i = 0; i < n; i++) {
if (fps == vtable[i].fps) {
frame_rate = vtable[i].frame_rate;
static int lcd_set_vframe_rate_end_hint(void)
{
-#ifdef CONFIG_AML_VOUT_FRAMERATE_AUTOMATION
+#ifdef CONFIG_AMLOGIC_VOUT_SERVE
struct aml_lcd_drv_s *lcd_drv = aml_lcd_get_driver();
struct vinfo_s *info;
static int lcd_set_vframe_rate_policy(int policy)
{
-#ifdef CONFIG_AML_VOUT_FRAMERATE_AUTOMATION
+#ifdef CONFIG_AMLOGIC_VOUT_SERVE
struct aml_lcd_drv_s *lcd_drv = aml_lcd_get_driver();
lcd_drv->fr_auto_policy = policy;
static int lcd_get_vframe_rate_policy(void)
{
-#ifdef CONFIG_AML_VOUT_FRAMERATE_AUTOMATION
+#ifdef CONFIG_AMLOGIC_VOUT_SERVE
struct aml_lcd_drv_s *lcd_drv = aml_lcd_get_driver();
return lcd_drv->fr_auto_policy;
return lcd_vout_state;
}
-#ifdef CONFIG_AML_VOUT_FRAMERATE_AUTOMATION
+#ifdef CONFIG_AMLOGIC_VOUT_SERVE
struct lcd_vframe_match_s {
int fps;
int frame_rate; /* *100 */
static int lcd_set_vframe_rate_hint(int duration)
{
-#ifdef CONFIG_AML_VOUT_FRAMERATE_AUTOMATION
+#ifdef CONFIG_AMLOGIC_VOUT_SERVE
struct aml_lcd_drv_s *lcd_drv = aml_lcd_get_driver();
struct vinfo_s *info;
int fr_policy;
__func__, fr_policy);
return 0;
}
- fps = get_vsource_fps(duration);
+ fps = vout_get_vsource_fps(duration);
for (i = 0; i < n; i++) {
if (fps == vtable[i].fps) {
frame_rate = vtable[i].frame_rate;
static int lcd_set_vframe_rate_end_hint(void)
{
-#ifdef CONFIG_AML_VOUT_FRAMERATE_AUTOMATION
+#ifdef CONFIG_AMLOGIC_VOUT_SERVE
struct aml_lcd_drv_s *lcd_drv = aml_lcd_get_driver();
struct vinfo_s *info;
static int lcd_set_vframe_rate_policy(int policy)
{
-#ifdef CONFIG_AML_VOUT_FRAMERATE_AUTOMATION
+#ifdef CONFIG_AMLOGIC_VOUT_SERVE
struct aml_lcd_drv_s *lcd_drv = aml_lcd_get_driver();
if (lcd_vout_serve_bypass) {
static int lcd_get_vframe_rate_policy(void)
{
-#ifdef CONFIG_AML_VOUT_FRAMERATE_AUTOMATION
+#ifdef CONFIG_AMLOGIC_VOUT_SERVE
struct aml_lcd_drv_s *lcd_drv = aml_lcd_get_driver();
return lcd_drv->fr_auto_policy;
lcd_driver->lcd_status |= LCD_STATUS_ON;
lcd_driver->lcd_config->change_flag = 0;
+ lcd_driver->lcd_mute_flag = (unsigned char)(0 | LCD_MUTE_UPDATE);
+
mutex_unlock(&lcd_vout_mutex);
}