e6c4880e4a
The Patch based on QualComm release TAG:LA.UM.8.15.r1-06600-KAMORTA.0 Change-Id: Ib9d15104771f7f8b5ba7b7e55353387231cc5ea9 Signed-off-by: starlight5234 <starlight5234@protonmail.ch>
33 lines
668 B
C
33 lines
668 B
C
#ifndef _DRM_NOTIFIER_H_
|
|
#define _DRM_NOTIFIER_H_
|
|
|
|
/*
|
|
* This include file is intended for touch panel that to receive
|
|
* blank/unblank event.
|
|
*
|
|
*/
|
|
|
|
#define DRM_EARLY_EVENT_BLANK 0x01
|
|
#define DRM_EVENT_BLANK 0x02
|
|
#define DRM_R_EARLY_EVENT_BLANK 0x03
|
|
|
|
enum {
|
|
DRM_BLANK_UNBLANK = 0,
|
|
DRM_BLANK_LP1,
|
|
DRM_BLANK_LP2,
|
|
DRM_BLANK_STANDBY,
|
|
DRM_BLANK_SUSPEND,
|
|
DRM_BLANK_POWERDOWN,
|
|
};
|
|
|
|
|
|
struct drm_notify_data {
|
|
bool is_primary;
|
|
void *data;
|
|
};
|
|
|
|
extern int drm_register_client(struct notifier_block *nb);
|
|
extern int drm_unregister_client(struct notifier_block *nb);
|
|
extern int drm_notifier_call_chain(unsigned long val, void *v);
|
|
|
|
#endif /*_DRM_NOTIFIER_H*/
|