livedisplay: Migrate to ioctl()

Change-Id: I2039c94eb3239f2d88ab67076b52f58493d9b43e
This commit is contained in:
LuK1337
2022-07-11 12:08:45 +02:00
committed by jabashque
parent 33b71bd0c3
commit 7b65e6e8d9
7 changed files with 32 additions and 45 deletions

View File

@@ -20,5 +20,9 @@
#define OPLUS_PANEL_IOCTL_BASE 'o'
#define PANEL_IOCTL_SET_HBM _IOW(OPLUS_PANEL_IOCTL_BASE, 0x0F, unsigned int)
#define PANEL_IOCTL_GET_HBM _IOWR(OPLUS_PANEL_IOCTL_BASE, 0x10, unsigned int)
#define PANEL_IOCTL_SET_DIMLAYER_HBM _IOW(OPLUS_PANEL_IOCTL_BASE, 0x1F, unsigned int)
#define PANEL_IOCTL_SET_DIMLAYER_BL_EN _IOW(OPLUS_PANEL_IOCTL_BASE, 0x21, unsigned int)
#define PANEL_IOCTL_GET_DIMLAYER_BL_EN _IOWR(OPLUS_PANEL_IOCTL_BASE, 0x22, unsigned int)
#define PANEL_IOCTL_SET_FP_PRESS _IOW(OPLUS_PANEL_IOCTL_BASE, 0x29, unsigned int)