diff options
author | Jerome Glisse <glisse@freedesktop.org> | 2007-06-22 16:41:04 +0200 |
---|---|---|
committer | Jerome Glisse <glisse@freedesktop.org> | 2007-06-22 16:41:04 +0200 |
commit | 9decf97be5f1aa5ae2001160fcc726236b398104 (patch) | |
tree | e3a2f9c2064982640d85b41030b7088c7428fa8c /include | |
parent | 2440ac567ce721378395c341cf0322e383bb4888 (diff) |
avivo: post randr 1.2 cleanup + always assignd LFP to TMDS2
Diffstat (limited to 'include')
-rw-r--r-- | include/avivo.h | 84 |
1 files changed, 2 insertions, 82 deletions
diff --git a/include/avivo.h b/include/avivo.h index 27ec0ab..44f217c 100644 --- a/include/avivo.h +++ b/include/avivo.h @@ -39,8 +39,8 @@ #include <pciaccess.h> #endif -#define AVIVO_NAME "Avivo" -#define AVIVO_DRIVER_NAME "avivo" +#define AVIVO_NAME "Avivo-v0.2.90" +#define AVIVO_DRIVER_NAME "avivo-v0.2.90" #define AVIVO_DRIVER_VERSION 1000 #define RADEON_VBIOS_SIZE 0x00010000 @@ -48,19 +48,6 @@ #define INREG(x) MMIO_IN32(avivo->ctrl_base, x) #define OUTREG(x, y) MMIO_OUT32(avivo->ctrl_base, x, y) -struct avivo_info; -struct avivo_crtc { - /* Bitmask of output IDs. */ - int id; - int h_total, h_blank, h_sync_wid, h_sync_pol; - int v_total, v_blank, v_sync_wid, v_sync_pol; - int clock; - unsigned long fb_offset; - int fb_format, fb_length; - int fb_pitch, fb_width, fb_height; - struct avivo_crtc *next; -}; - struct avivo_crtc_private { int crtc_number; unsigned long crtc_offset; @@ -74,48 +61,6 @@ struct avivo_crtc_private { int fb_pitch, fb_width, fb_height; }; -enum avivo_output_status { - OUTPUT_ON, - OUTPUT_BLANKED, - OUTPUT_OFF, -}; - -enum avivo_output_type { - OUTPUT_DAC, - OUTPUT_TMDS, - OUTPUT_LVDS, - OUTPUT_TV, -}; - -enum avivo_connector_type { - CONNECTOR_VGA, - CONNECTOR_DVII, - CONNECTOR_DVID, - CONNECTOR_DVIA, - CONNECTOR_STV, - CONNECTOR_CTV, - CONNECTOR_LVDS, - CONNECTOR_DIGITAL, - CONNECTOR_UNSUPPORTED, -}; - -/** - * struct avivo_output - avivo output information structure - * @is_enabled: is output enabled - * @gpio_base: gpio base address register of this connector - * @type: output type DAC, TMDS, LVDS, TV - * @status: output status - * @next: next output - */ -struct avivo_output { - struct avivo_crtc *crtc; - int is_enabled; - enum avivo_output_type type; - enum avivo_output_status status; - struct avivo_output *next; -}; - - struct avivo_output_private { xf86ConnectorType type; I2CBusPtr i2c; @@ -124,26 +69,6 @@ struct avivo_output_private { char *name; }; -/** - * struct avivo_connector - avivo output connector information structure - * @is_connected: is output connected - * @connector_num: connector number - * @gpio_base: gpio base address register of this connector - * @type: connector type VGA, DVI-I, LVDS, STV, ... - * @monitor: monitor information retrieven from DDC - * @outputs: associated output - * @next: next connector - */ -struct avivo_connector { - int is_connected; - int connector_num; - unsigned int gpio_base; - enum avivo_connector_type type; - xf86MonPtr monitor; - struct avivo_output *outputs; - struct avivo_connector *next; -}; - struct avivo_state { int mc_memory_map; @@ -264,11 +189,6 @@ struct avivo_info Bool (*close_screen)(int, ScreenPtr); OptionInfoPtr options; - I2CBusPtr i2c; - unsigned int ddc_reg; - struct avivo_crtc *crtcs; - struct avivo_connector *connectors; - struct avivo_connector *connector_default; unsigned long cursor_offset; int cursor_format, cursor_fg, cursor_bg; int cursor_width, cursor_height; |