summaryrefslogtreecommitdiff
path: root/include/uapi/linux/vesa.h
blob: 81947f5088cdfa17614f07e510f87676064e3b8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef _UAPI_LINUX_VESA_H
#define _UAPI_LINUX_VESA_H

/* VESA Blanking Levels */
enum vesa_blank_mode {
	VESA_NO_BLANKING	= 0,
#define VESA_NO_BLANKING	VESA_NO_BLANKING
	VESA_VSYNC_SUSPEND	= 1,
#define VESA_VSYNC_SUSPEND	VESA_VSYNC_SUSPEND
	VESA_HSYNC_SUSPEND	= 2,
#define VESA_HSYNC_SUSPEND	VESA_HSYNC_SUSPEND
	VESA_POWERDOWN		= VESA_VSYNC_SUSPEND | VESA_HSYNC_SUSPEND,
#define VESA_POWERDOWN		VESA_POWERDOWN
	VESA_BLANK_MAX		= VESA_POWERDOWN,
};

#endif