guam: input add drm support

input add drm
support

Change-Id: I156438665fb27d9a1f5afeaec11ef4fd736ea812
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1510616
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
dengwei1 authored and Gilberto Gambugge committed 2023-06-01 00:43:20 -03:00
1 parent fac316f8af
commit aa252c3330
1 file changed
+1 -12
Regular → Executable
+1 -12
View File
@@ -733,23 +733,12 @@ static int dsi_panel_update_pwm_backlight(struct dsi_panel *panel,
error:
return rc;
}
//temp solution for TP, tinno 20200229 start
#include <linux/notifier.h>
BLOCKING_NOTIFIER_HEAD(backlight_state_notifier_list);
//temp solution for TP, tinno 20200229 end
int dsi_panel_set_backlight(struct dsi_panel *panel, u32 bl_lvl)
{
int rc = 0;
struct dsi_backlight_config *bl = &panel->bl_config;
//temp solution for TP, tinno 20200229 start
static u32 last_bl_lvl = 0;
if ((bl_lvl == 0) || (last_bl_lvl == 0))
{
blocking_notifier_call_chain(&backlight_state_notifier_list, bl_lvl, NULL);
}
last_bl_lvl = bl_lvl;
//temp solution for TP, tinno 20200229 end
if (panel->host_config.ext_bridge_mode)
return 0;