diff options
author | Dave Airlie <airlied@linux.ie> | 2006-05-12 18:44:27 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-05-12 18:44:27 +1000 |
commit | fbba4312e7cb326fdcf6a71194c4fc4a7a9b5488 (patch) | |
tree | 15caf6943faa6d7686d273d937c48a3aa532f3b1 /src/i830_sdvo.h | |
parent | 190f9ad0606e96e684e0b028d576d822dc9aa3cf (diff) |
add sdvo capability reading support
This reads the SDVO cap bits and uses them to figure out the input/output
to save/restore
Diffstat (limited to 'src/i830_sdvo.h')
-rw-r--r-- | src/i830_sdvo.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/i830_sdvo.h b/src/i830_sdvo.h index ec4b538b..6b77c97a 100644 --- a/src/i830_sdvo.h +++ b/src/i830_sdvo.h @@ -25,6 +25,17 @@ * */ +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; |