diff options
author | Adam Jackson <ajax@benzedrine.nwnk.net> | 2007-06-27 09:19:28 -0400 |
---|---|---|
committer | Adam Jackson <ajax@benzedrine.nwnk.net> | 2007-06-27 09:19:28 -0400 |
commit | bf1ad1aa4270dccf1540943d97e80b317c0adb56 (patch) | |
tree | b6520c2c9bced8cf2938888ade4238e06df4d5c4 /hw/xfree86/vbe/vbe.h | |
parent | d73835efda4995a310188537233a984f4b73628d (diff) |
Add VBE PanelID support.
Originally found only in the i810 driver.
Diffstat (limited to 'hw/xfree86/vbe/vbe.h')
-rw-r--r-- | hw/xfree86/vbe/vbe.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/hw/xfree86/vbe/vbe.h b/hw/xfree86/vbe/vbe.h index 83b5a99b1..de9237c9d 100644 --- a/hw/xfree86/vbe/vbe.h +++ b/hw/xfree86/vbe/vbe.h @@ -328,4 +328,20 @@ VBEVesaSaveRestore(vbeInfoPtr pVbe, vbeSaveRestorePtr vbe_sr, int VBEGetPixelClock(vbeInfoPtr pVbe, int mode, int Clock); Bool VBEDPMSSet(vbeInfoPtr pVbe, int mode); +struct vbePanelID { + short hsize; + short vsize; + short fptype; + char redbpp; + char greenbpp; + char bluebpp; + char reservedbpp; + int reserved_offscreen_mem_size; + int reserved_offscreen_mem_pointer; + char reserved[14]; +}; + +void VBEInterpretPanelID(int scrnIndex, struct vbePanelID *data); +struct vbePanelID *VBEReadPanelID(vbeInfoPtr pVbe); + #endif |