xref: /haiku/src/add-ons/accelerants/radeon_hd/display.h (revision 820dca4df6c7bf955c46e8f6521b9408f50b2900)
1 /*
2  * Copyright 2006-2011, Haiku, Inc. All Rights Reserved.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  *      Alexander von Gluck, kallisti5@unixzen.com
7  */
8 #ifndef RADEON_HD_DISPLAY_H
9 #define RADEON_HD_DISPLAY_H
10 
11 
12 #include <video_configuration.h>
13 
14 #include "accelerant.h"
15 #include "pll.h"
16 
17 
18 status_t init_registers(register_info* reg, uint8 crtid);
19 status_t detect_crt_ranges(uint32 crtid);
20 status_t detect_displays();
21 void debug_displays();
22 
23 uint32 display_get_encoder_mode(uint32 connectorIndex);
24 void display_crtc_ss(pll_info* pll, int command);
25 void display_crtc_lock(uint8 crtcID, int command);
26 void display_crtc_blank(uint8 crtcID, int command);
27 void display_crtc_dpms(uint8 crtcID, int mode);
28 void display_crtc_scale(uint8 crtcID, display_mode* mode);
29 void display_crtc_fb_set(uint8 crtcID, display_mode* mode);
30 void display_crtc_set(uint8 crtcID, display_mode* mode);
31 void display_crtc_set_dtd(uint8 crtcID, display_mode* mode);
32 void display_crtc_power(uint8 crtcID, int command);
33 void display_crtc_memreq(uint8 crtcID, int command);
34 void display_avivo_crtc_load_lut(uint8 crtcID);
35 void display_dce45_crtc_load_lut(uint8 crtcID);
36 
37 
38 #endif /* RADEON_HD_DISPLAY_H */
39