Include file style cleanup, no functional change
This commit is contained in:
@@ -9,6 +9,9 @@
|
|||||||
#define _VIDEO_CONFIGURATION_H
|
#define _VIDEO_CONFIGURATION_H
|
||||||
|
|
||||||
|
|
||||||
|
#include <SupportDefs.h>
|
||||||
|
|
||||||
|
|
||||||
// Video connector types
|
// Video connector types
|
||||||
#define VIDEO_CONNECTOR_UNKNOWN 0x00
|
#define VIDEO_CONNECTOR_UNKNOWN 0x00
|
||||||
#define VIDEO_CONNECTOR_VGA 0x01
|
#define VIDEO_CONNECTOR_VGA 0x01
|
||||||
|
|||||||
@@ -7,9 +7,18 @@
|
|||||||
* Alexander von Gluck, [email protected]
|
* Alexander von Gluck, [email protected]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "accelerant.h"
|
||||||
|
|
||||||
|
#include <AGP.h>
|
||||||
|
#include <Debug.h>
|
||||||
|
#include <errno.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <syslog.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "accelerant_protos.h"
|
#include "accelerant_protos.h"
|
||||||
#include "accelerant.h"
|
|
||||||
|
|
||||||
#include "bios.h"
|
#include "bios.h"
|
||||||
#include "connector.h"
|
#include "connector.h"
|
||||||
@@ -18,17 +27,6 @@
|
|||||||
#include "pll.h"
|
#include "pll.h"
|
||||||
#include "utility.h"
|
#include "utility.h"
|
||||||
|
|
||||||
#include <Debug.h>
|
|
||||||
|
|
||||||
#include <errno.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
#include <syslog.h>
|
|
||||||
|
|
||||||
#include <AGP.h>
|
|
||||||
|
|
||||||
|
|
||||||
#undef TRACE
|
#undef TRACE
|
||||||
|
|
||||||
|
|||||||
@@ -10,15 +10,14 @@
|
|||||||
#define RADEON_HD_ACCELERANT_H
|
#define RADEON_HD_ACCELERANT_H
|
||||||
|
|
||||||
|
|
||||||
|
#include <ByteOrder.h>
|
||||||
|
#include <edid.h>
|
||||||
|
|
||||||
#include "atom.h"
|
#include "atom.h"
|
||||||
#include "encoder.h"
|
#include "encoder.h"
|
||||||
#include "mode.h"
|
#include "mode.h"
|
||||||
#include "radeon_hd.h"
|
|
||||||
#include "pll.h"
|
#include "pll.h"
|
||||||
|
#include "radeon_hd.h"
|
||||||
|
|
||||||
#include <ByteOrder.h>
|
|
||||||
#include <edid.h>
|
|
||||||
|
|
||||||
|
|
||||||
#define MAX_DISPLAY 2
|
#define MAX_DISPLAY 2
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#include <Accelerant.h>
|
#include <Accelerant.h>
|
||||||
|
|
||||||
#include "video_overlay.h"
|
#include "video_overlay.h"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -28,9 +28,10 @@
|
|||||||
#include "atombios.h"
|
#include "atombios.h"
|
||||||
#include "ObjectID.h"
|
#include "ObjectID.h"
|
||||||
|
|
||||||
|
#include <ByteOrder.h>
|
||||||
|
#include <kernel/OS.h>
|
||||||
#include <String.h>
|
#include <String.h>
|
||||||
#include <SupportDefs.h>
|
#include <SupportDefs.h>
|
||||||
#include <ByteOrder.h>
|
|
||||||
|
|
||||||
|
|
||||||
struct card_info {
|
struct card_info {
|
||||||
|
|||||||
@@ -7,10 +7,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <Debug.h>
|
|
||||||
|
|
||||||
#include "bios.h"
|
#include "bios.h"
|
||||||
|
|
||||||
|
#include <Debug.h>
|
||||||
|
|
||||||
#include "accelerant.h"
|
#include "accelerant.h"
|
||||||
#include "accelerant_protos.h"
|
#include "accelerant_protos.h"
|
||||||
|
|
||||||
|
|||||||
@@ -7,15 +7,17 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#include "connector.h"
|
||||||
|
|
||||||
|
#include <Debug.h>
|
||||||
|
|
||||||
#include "accelerant_protos.h"
|
#include "accelerant_protos.h"
|
||||||
#include "accelerant.h"
|
#include "accelerant.h"
|
||||||
#include "bios.h"
|
#include "bios.h"
|
||||||
#include "connector.h"
|
#include "encoder.h"
|
||||||
#include "gpu.h"
|
#include "gpu.h"
|
||||||
#include "utility.h"
|
#include "utility.h"
|
||||||
|
|
||||||
#include <Debug.h>
|
|
||||||
|
|
||||||
|
|
||||||
#undef TRACE
|
#undef TRACE
|
||||||
|
|
||||||
|
|||||||
@@ -11,6 +11,8 @@
|
|||||||
|
|
||||||
#include <video_configuration.h>
|
#include <video_configuration.h>
|
||||||
|
|
||||||
|
#include "accelerant.h"
|
||||||
|
|
||||||
|
|
||||||
// From the VESA DisplayPort spec
|
// From the VESA DisplayPort spec
|
||||||
// TODO: may want to move these into common code
|
// TODO: may want to move these into common code
|
||||||
|
|||||||
@@ -12,15 +12,17 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include "accelerant_protos.h"
|
|
||||||
#include "accelerant.h"
|
|
||||||
#include "bios.h"
|
|
||||||
#include "connector.h"
|
|
||||||
#include "display.h"
|
#include "display.h"
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#include "accelerant.h"
|
||||||
|
#include "accelerant_protos.h"
|
||||||
|
#include "bios.h"
|
||||||
|
#include "connector.h"
|
||||||
|
#include "encoder.h"
|
||||||
|
|
||||||
|
|
||||||
#define TRACE_DISPLAY
|
#define TRACE_DISPLAY
|
||||||
#ifdef TRACE_DISPLAY
|
#ifdef TRACE_DISPLAY
|
||||||
|
|||||||
@@ -11,6 +11,8 @@
|
|||||||
|
|
||||||
#include <video_configuration.h>
|
#include <video_configuration.h>
|
||||||
|
|
||||||
|
#include "accelerant.h"
|
||||||
|
|
||||||
|
|
||||||
status_t init_registers(register_info* reg, uint8 crtid);
|
status_t init_registers(register_info* reg, uint8 crtid);
|
||||||
status_t detect_crt_ranges(uint32 crtid);
|
status_t detect_crt_ranges(uint32 crtid);
|
||||||
|
|||||||
@@ -7,17 +7,19 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include "accelerant_protos.h"
|
#include "encoder.h"
|
||||||
#include "accelerant.h"
|
|
||||||
#include "bios.h"
|
|
||||||
#include "display.h"
|
|
||||||
#include "utility.h"
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
|
#include "accelerant.h"
|
||||||
|
#include "accelerant_protos.h"
|
||||||
|
#include "bios.h"
|
||||||
|
#include "display.h"
|
||||||
|
#include "utility.h"
|
||||||
|
|
||||||
|
|
||||||
#define TRACE_ENCODER
|
#define TRACE_ENCODER
|
||||||
#ifdef TRACE_ENCODER
|
#ifdef TRACE_ENCODER
|
||||||
|
|||||||
@@ -9,6 +9,9 @@
|
|||||||
#define RADEON_HD_ENCODER_H
|
#define RADEON_HD_ENCODER_H
|
||||||
|
|
||||||
|
|
||||||
|
#include <SupportDefs.h>
|
||||||
|
|
||||||
|
|
||||||
void encoder_assign_crtc(uint8 crtID);
|
void encoder_assign_crtc(uint8 crtID);
|
||||||
void encoder_apply_quirks(uint8 crtcID);
|
void encoder_apply_quirks(uint8 crtcID);
|
||||||
void encoder_mode_set(uint8 id, uint32 pixelClock);
|
void encoder_mode_set(uint8 id, uint32 pixelClock);
|
||||||
|
|||||||
@@ -8,14 +8,15 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#include "gpu.h"
|
||||||
|
|
||||||
|
#include <Debug.h>
|
||||||
|
|
||||||
#include "accelerant_protos.h"
|
#include "accelerant_protos.h"
|
||||||
#include "accelerant.h"
|
#include "accelerant.h"
|
||||||
#include "bios.h"
|
#include "bios.h"
|
||||||
#include "gpu.h"
|
|
||||||
#include "utility.h"
|
#include "utility.h"
|
||||||
|
|
||||||
#include <Debug.h>
|
|
||||||
|
|
||||||
|
|
||||||
#undef TRACE
|
#undef TRACE
|
||||||
|
|
||||||
|
|||||||
@@ -8,8 +8,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include "accelerant_protos.h"
|
|
||||||
#include "accelerant.h"
|
#include "accelerant.h"
|
||||||
|
#include "accelerant_protos.h"
|
||||||
|
|
||||||
|
|
||||||
extern "C" void *
|
extern "C" void *
|
||||||
|
|||||||
@@ -11,19 +11,20 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include "accelerant_protos.h"
|
|
||||||
#include "accelerant.h"
|
|
||||||
#include "bios.h"
|
|
||||||
#include "utility.h"
|
|
||||||
#include "mode.h"
|
#include "mode.h"
|
||||||
#include "display.h"
|
|
||||||
#include "pll.h"
|
|
||||||
|
|
||||||
|
#include <create_display_modes.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
#include <create_display_modes.h>
|
#include "accelerant.h"
|
||||||
|
#include "accelerant_protos.h"
|
||||||
|
#include "bios.h"
|
||||||
|
#include "display.h"
|
||||||
|
#include "encoder.h"
|
||||||
|
#include "pll.h"
|
||||||
|
#include "utility.h"
|
||||||
|
|
||||||
|
|
||||||
#define TRACE_MODE
|
#define TRACE_MODE
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include "accelerant_protos.h"
|
|
||||||
#include "accelerant.h"
|
|
||||||
#include "bios.h"
|
|
||||||
#include "display.h"
|
|
||||||
#include "utility.h"
|
|
||||||
#include "pll.h"
|
#include "pll.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@@ -19,6 +14,12 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
|
#include "accelerant_protos.h"
|
||||||
|
#include "accelerant.h"
|
||||||
|
#include "bios.h"
|
||||||
|
#include "display.h"
|
||||||
|
#include "encoder.h"
|
||||||
|
#include "utility.h"
|
||||||
|
|
||||||
#define TRACE_PLL
|
#define TRACE_PLL
|
||||||
#ifdef TRACE_PLL
|
#ifdef TRACE_PLL
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
#define RADEON_HD_PLL_H
|
#define RADEON_HD_PLL_H
|
||||||
|
|
||||||
|
|
||||||
#include "accelerant.h"
|
#include <SupportDefs.h>
|
||||||
|
|
||||||
|
|
||||||
#define MAX_TOLERANCE 10
|
#define MAX_TOLERANCE 10
|
||||||
|
|||||||
Reference in New Issue
Block a user