blob: 82ef42f1c77674956a32e14a33f771cb071426c5 [file] [log] [blame]
Chirayu Desai0a336cc2012-07-12 14:37:05 +05301/*
2 * Copyright@ Samsung Electronics Co. LTD
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifndef _SEC_FB_LCD_
18#define _SEC_FB_LCD_
19
20/*
21 * S T R U C T U R E S F O R C U S T O M I O C T L S
22 *
23*/
24struct secfb_user_window {
25 int x;
26 int y;
27};
28
29/*
30 * C U S T O M I O C T L S
31 *
32*/
33
34#define FBIO_WAITFORVSYNC _IO ('F', 32)
35#define SECFB_WIN_POSITION _IOW ('F', 203, struct secfb_user_window)
36#define S3CFB_SET_VSYNC_INT _IOW ('F', 206, uint32_t)
Michael Brehm3c938a72012-09-15 02:03:39 -050037#define S3CFB_WAIT_FOR_VSYNC _IOR ('F', 311, uint64_t)
Chirayu Desai0a336cc2012-07-12 14:37:05 +053038
39#define DEFAULT_LCD_WIDTH (480)
40#define DEFAULT_LCD_HEIGHT (800)
41#define DEFAULT_LCD_BPP (32)
42
43/***************** LCD frame buffer *****************/
44#define FB0_NAME "/dev/fb0"
45#define FB1_NAME "/dev/fb1"
46#define FB2_NAME "/dev/fb2"
47#define FB3_NAME "/dev/fb3"
48#define FB4_NAME "/dev/fb4"
49
50#endif