RTEMS 6.1-rc2
Loading...
Searching...
No Matches
fb_vesa.h
Go to the documentation of this file.
1
9/*
10 * Copyright (C) 2014 Jan Doležal (dolezj21@fel.cvut.cz)
11 * CTU in Prague.
12 *
13 * The license and distribution terms for this file may be
14 * found in the file LICENSE in this distribution or at
15 * http://www.rtems.org/license/LICENSE.
16 */
17
18#include <bsp/vbe3.h>
19#include <edid.h>
20
21#ifndef _FB_VESA_H
22#define _FB_VESA_H
23
24#ifndef ASM /* ASM */
25
26#include <stdint.h>
27
28#ifdef __cplusplus
29extern "C" {
30#endif /* __cplusplus */
31
32
33/* ----- Prototypes ----- */
34
48 VBE_vbe_info_block *info_block,
49 uint16_t queried_VBE_Version
50);
51
62uint32_t VBE_mode_information (
63 VBE_mode_info_block *info_block,
64 uint16_t mode_number
65);
66
76uint32_t VBE_set_mode (
77 uint16_t mode_number,
78 VBE_CRTC_info_block *info_block
79);
80
88uint32_t VBE_current_mode (
89 uint16_t *mode_number
90);
91
105 uint16_t controller_unit_number,
106 uint8_t *seconds_to_transfer_EDID_block,
107 uint8_t *DDC_level_supported
108);
109
120uint32_t VBE_read_EDID (
121 uint16_t controller_unit_number,
122 uint16_t EDID_block_number,
123 EDID_edid1 *buffer
124);
125
126#ifdef __cplusplus
127}
128#endif /* __cplusplus */
129
130#endif /* ASM */
131
132#endif /* _FB_VESA_H */
VESA EDID definitions.
uint32_t VBE_read_EDID(uint16_t controller_unit_number, uint16_t EDID_block_number, EDID_edid1 *buffer)
Reads selected EDID block from display attached to controller's interface.
Definition: fb_vesa_rm.c:214
uint32_t VBE_set_mode(uint16_t mode_number, VBE_CRTC_info_block *info_block)
Sets graphics mode selected. If mode has refreshRateCtrl bit set, than the info_block must be filled ...
Definition: fb_vesa_rm.c:167
uint32_t VBE_report_DDC_capabilities(uint16_t controller_unit_number, uint8_t *seconds_to_transfer_EDID_block, uint8_t *DDC_level_supported)
Gets information about display data channel implemented in the graphic's controller.
Definition: fb_vesa_rm.c:197
uint32_t VBE_current_mode(uint16_t *mode_number)
Get currently set mode number.
Definition: fb_vesa_rm.c:187
uint32_t VBE_mode_information(VBE_mode_info_block *info_block, uint16_t mode_number)
Fills structure info_block with informations about selected mode in mode_number variable.
Definition: fb_vesa_rm.c:144
uint32_t VBE_controller_information(VBE_vbe_info_block *info_block, uint16_t queried_VBE_Version)
Returns information about graphic's controller in the info_block structure.
Definition: fb_vesa_rm.c:113
VESA Bios Extension definitions.