RTEMS 6.1-rc5
Loading...
Searching...
No Matches
rpi-fb.h
Go to the documentation of this file.
1
10/*
11 * Copyright (c) 2015 Yang Qiao
12 *
13 * The license and distribution terms for this file may be
14 * found in the file LICENSE in this distribution or at
15 *
16 * http://www.rtems.org/license/LICENSE
17 *
18 */
19
20#ifndef LIBBSP_ARM_RASPBERRYPI_FB_H
21#define LIBBSP_ARM_RASPBERRYPI_FB_H
22
23#include <rtems/fb.h>
24
35enum rpi_fb_init_result {
36 RPI_FB_INIT_OK = 0,
37 RPI_FB_INIT_ALREADY_INITIALIZED = 1,
38 RPI_FB_INIT_GENERIC_ERROR = -1,
39 RPI_FB_INIT_NO_DISPLAY = -2,
40 RPI_FB_INIT_CMDLINE_BAD_FORMAT = -3,
41 RPI_FB_INIT_CMDLINE_DONT_INIT = -4,
42 RPI_FB_INIT_CMDLINE_NO_MODE_REQ = -5,
43 RPI_FB_INIT_MODE_PROBE_ERROR = -6,
44 RPI_FB_INIT_SETUP_FAILED = -7,
45 RPI_FB_INIT_START_ADDR_UNKNOWN = -8,
46};
47
48int rpi_fb_init( void );
49int rpi_get_fix_screen_info( struct fb_fix_screeninfo *info );
50int rpi_get_var_screen_info( struct fb_var_screeninfo *info );
51bool rpi_fb_hdmi_is_present( void );
52
55#endif /* LIBBSP_ARM_RASPBERRYPI_FB_H */
Frame Buffer Device Driver.
Definition: fb.h:78
Definition: fb.h:68