From cda0fc9ebcf23137c861d5af84bf7c26a744481a Mon Sep 17 00:00:00 2001 From: Zhibin Huang Date: Tue, 16 Apr 2024 20:33:13 +0800 Subject: [PATCH] drm/panel: panel-simple: add panel notifier for tp resume/suspend The tp of some screens has strict timing requirements (especially the display and tp are integrated on a screen IC), while kernel-6.1 does not have fb function. The notifier is added to correlate the sleep and wake-up timing of display and tp. For screens with low requirements for tp and display timing, you can choose whether to use it to notify on wake-up and sleep. Type: Function Redmine ID: #474634 #468692 Associated modifications: N/A Test: N/A Signed-off-by: Zhibin Huang Change-Id: I11cb63564fce97b6ca6b02cf12bc19db5d82124b --- drivers/gpu/drm/panel/panel-simple.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index b38b48fc378e..2ba0ab03c2bf 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -31,6 +31,7 @@ #include #include #include +#include #include