diff options
author | Eric Anholt <eric@anholt.net> | 2006-10-25 12:21:44 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2006-10-25 12:21:57 -0700 |
commit | 2631014e9d5b2e64908ea413729eb5fd819b17fc (patch) | |
tree | 59230e4b9bf383843783e2d791ee60a69152c900 /src/i830_sdvo.h | |
parent | ddb986e54f5320359abac06f512f2d3f446872db (diff) |
Clean up the SDVO code.
The main change is to send SDVO commands using data passed into the send
command function, and receive responses into memory passed into the read
response function, rather than stuff things in/out through dev_priv->sdvo_regs.
This lets us use structures to represent some arguments, which results in a
nice cleanup (and 100% fewer arguments named magicN as a side effect).
Also, the mode set path is changed to not do any preferred input timing
work. We weren't doing anything legitimate with the results, since we didn't
modify the CRTC timing appropriately, so now we just stuff the CRTC timing into
both and hope for the best. This should probably be revisited later.
Diffstat (limited to 'src/i830_sdvo.h')
-rw-r--r-- | src/i830_sdvo.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/i830_sdvo.h b/src/i830_sdvo.h index db7eb97f..b1d86b41 100644 --- a/src/i830_sdvo.h +++ b/src/i830_sdvo.h @@ -25,36 +25,6 @@ * */ -typedef struct _i830_sdvo_caps { - CARD8 vendor_id; - CARD8 device_id; - CARD8 device_rev_id; - CARD8 sdvo_version_major; - CARD8 sdvo_version_minor; - CARD8 caps; - CARD8 output_0_supported; - CARD8 output_1_supported; -} __attribute__((packed)) i830_sdvo_caps; - -typedef struct _i830_sdvo_dtd { - CARD16 clock; - CARD8 h_active; - CARD8 h_blank; - CARD8 h_high; - CARD8 v_active; - CARD8 v_blank; - CARD8 v_high; - - CARD8 h_sync_off; - CARD8 h_sync_width; - CARD8 v_sync_off_width; - CARD8 sync_off_width_high; - CARD8 dtd_flags; - CARD8 sdvo_flags; - CARD8 v_sync_off_high; - CARD8 reserved; -} __attribute__((packed)) i830_sdvo_dtd; - void i830_sdvo_init(ScrnInfoPtr pScrn, int output_device); |