summaryrefslogtreecommitdiff
path: root/components/drivers/include
diff options
context:
space:
mode:
authorGuEe-GUI <[email protected]>2026-07-23 11:00:30 +0800
committerRbb666 <[email protected]>2026-08-07 09:26:42 +0800
commit871d9f5922b455c1582a79acd41b702920840d0d (patch)
tree61532ac1ccf4b57236c4fb7618bc11fc91f5ad05 /components/drivers/include
parent621a074a41088f0c85fa75c16828f2efd62328de (diff)
[dm][graphic] update graphic
1. Add FB_ACTIVATE_* cmd 2. Fixup the vsync 3. Update the graphic test Signed-off-by: GuEe-GUI <[email protected]>
Diffstat (limited to 'components/drivers/include')
-rw-r--r--components/drivers/include/drivers/lcd.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/components/drivers/include/drivers/lcd.h b/components/drivers/include/drivers/lcd.h
index 11fa8e6dcc..35530b8f37 100644
--- a/components/drivers/include/drivers/lcd.h
+++ b/components/drivers/include/drivers/lcd.h
@@ -40,6 +40,15 @@
#define FBIOGET_DISPINFO 0x4618
#define FBIO_WAITFORVSYNC 0x4620
+/* fb_var_screeninfo.activate */
+#define FB_ACTIVATE_NOW 0
+#define FB_ACTIVATE_NXTOPEN 1
+#define FB_ACTIVATE_TEST 2
+#define FB_ACTIVATE_MASK 15
+#define FB_ACTIVATE_VBL 16
+#define FB_ACTIVATE_ALL 64
+#define FB_ACTIVATE_FORCE 128
+
struct fb_bitfield
{
uint32_t offset; /* beginning of bitfield */