2 * Copyright 2006-2011, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
6 * Alexander von Gluck, kallisti5@unixzen.com
8 #ifndef RADEON_HD_DISPLAY_H
9 #define RADEON_HD_DISPLAY_H
12 #include <video_configuration.h>
14 #include "accelerant.h"
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();
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
);
38 #endif /* RADEON_HD_DISPLAY_H */