summaryrefslogtreecommitdiff
path: root/hw/xfree86/common/xf86str.h
AgeCommit message (Collapse)AuthorFilesLines
2010-01-05modes: Remove the ClockRanges typeAdam Jackson1-15/+1
ba2d39dd5428cb5922b797a1d4ea45b859412b40 introduced warnings: xf86Mode.c: In function ‘xf86CheckModeForDriver’: xf86Mode.c:986: warning: passing argument 1 of ‘modeInClockRange’ from incompatible pointer type xf86Mode.c:253: note: expected ‘ClockRangePtr’ but argument is of type ‘ClockRangesPtr’ xf86Mode.c:1002: warning: passing argument 1 of ‘modeInClockRange’ from incompatible pointer type xf86Mode.c:253: note: expected ‘ClockRangePtr’ but argument is of type ‘ClockRangesPtr’ Because I foolishly didn't notice that we had types with nearly identical members named ClockRange and ClockRanges. The latter contained an extra 'strategy' member at the end, which claimed to be needed by the vidmode extension. Of course, this was a lie: the only time we'd use it was in mode validation, for drivers using LOOKUP_CLKDIV2 with non-programmable clocks. The only driver using LOOKUP_CLKDIV2 is rendition, which has a programmable clock. The only driver using the ClockRanges type was smi, which did not use it for its 'strategy' member, so has been fixed to use ClockRange instead. Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Keith Packard <keithp@keithp.com>
2009-10-28Add video driver flag to indicate that console access is not needed.Jamey Sharp1-0/+1
Existing video drivers will get the console enabled by default. Signed-off-by: Jamey Sharp <jamey@minilop.net> Signed-off-by: Keith Packard <keithp@keithp.com>
2009-08-28xf86 ddx: add vga arbiter support.Dave Airlie1-1/+3
This adds support for using the libpciaccess interface for vga arbitration support on top of a kernel which supports it. Currently patches are queued for kernel 2.6.32 in jbarnes pci tree, and shipping in Fedora kernel. Co-authors: Tiago Vignatti <tiago.vignatti@nokia.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-08-20xfree86: remove bus state change notification callbackTiago Vignatti1-12/+0
No one is using bus notifications now. We hope that the kernel take care of this properly. For other not-so-urgent-notifications (ACPI wakeups, etc) we can just register a handler on server's scheduler (using xf86AddGeneralHandler). And for external applications, the "trend" is to use HAL to kick notifications. So we're already provided of enough notification schemes. Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com> Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2009-07-28xserver: remove RAC/resource handling code.Dave Airlie1-150/+6
This changes the ABI, but since the video ABI is at 6 already it should be fine. driver changes are in the pipeline after this. Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-05-27xfree86: Remove unused (and useless) xf86{Add,Delete}ModuleInfoAdam Jackson1-15/+0
2009-02-04Revert "Bus: Remove xf86SetAccessFuncs() and related machinery"Adam Jackson1-0/+6
This reverts commit 2fe79990e31ac684637ca3c47198ee0cead10abe. Reminder: nvidia uses this, because other parts of RAC are broken in worse ways, and it needs to disable that.
2009-02-04Bus: Remove xf86SetAccessFuncs() and related machineryAdam Jackson1-6/+0
Only mga was using this, and even then only behind an ifdef that no one ever built. Not a great idea in the first place.
2008-11-24Bus: Remove ISA support.Adam Jackson1-12/+0
No, really. PCI is old enough to drive now. If you want this, get the kernel to expose a framebuffer device.
2008-11-24Bus: Remove yet more unused overlap processing.Adam Jackson1-2/+0
2008-11-24Bus: Don't pretend to care about IRQs, DMA, or PCI config spaceAdam Jackson1-3/+0
2008-10-07Revert "Remove unused server state change callbackery" for now.Aaron Plattner1-0/+12
The nvidia driver currently uses these callbacks to work around problems where RAC will disable access to the hardware at unexpected times. This change restores these hooks until we can come up with a better API for working around RAC. This reverts commit d7c0ba2e9eae7044ef4c31d9c3cbb9a71ee0f9f9. Conflicts: hw/xfree86/loader/xf86sym.c
2008-10-03Remove unused server state change callbackery.Adam Jackson1-12/+0
2008-08-18Remove the remainder of grab deactivation and closedown.Adam Jackson1-2/+0
2008-07-17XFree86: Remove remnants of XFree86-MiscDaniel Stone1-3/+0
HandleMessage: dear god, no.
2008-07-16XFree86: Delete OSMouse codeDaniel Stone1-31/+0
This should be moved into the mouse driver, if anything.
2008-07-16XFree86: Remove useless debugging codeDaniel Stone1-8/+0
Also remove documentation which told you how to use a non-module-aware GDB, albeit only with old, non-shared, modules.
2008-02-14Friends don't let friends call xf86AddModuleInfo.Adam Jackson1-1/+1
That code only existed to leak memory. It can go now, thanks.
2007-12-13Add infrastructure for validating modes by memory bandwidth.Adam Jackson1-0/+1
2007-10-17Make config file preferred mode override monitor preferred mode.Keith Packard1-0/+1
Add a new even-more-preferred bit to each mode which is used to make config file preferences selected instead of the monitor preferred mode.
2007-08-23Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into ↵Ian Romanick1-1/+1
pci-rework Conflicts: hw/xfree86/common/xf86.h hw/xfree86/common/xf86Init.c hw/xfree86/common/xf86pciBus.c hw/xfree86/int10/generic.c hw/xfree86/int10/helper_exec.c hw/xfree86/loader/xf86sym.c hw/xfree86/os-support/bus/Pci.c hw/xfree86/os-support/bus/Pci.h hw/xfree86/os-support/bus/linuxPci.c hw/xfree86/os-support/linux/int10/linux.c
2007-06-25Split up memory for devices configured in the config file.Peter Hutterer1-1/+1
If we're using a continuous block here, we segfault when a device removal triggers an xfree call.
2007-01-17Replace PciBusId with 'struct pci_device *'Ian Romanick1-6/+2
There's no need to store the slot information for a PCI device as its ID. Instead, skip the middle man and just store a pointer to the pci_device structure.
2006-12-08Merge branch 'master' of ssh+git://idr@git.freedesktop.org/git/xorg/xserver ↵Ian Romanick1-0/+1
into pci-rework Conflicts: hw/xfree86/common/xf86Configure.c hw/xfree86/common/xf86Helper.c hw/xfree86/common/xf86pciBus.c hw/xfree86/int10/helper_exec.c hw/xfree86/os-support/bus/Pci.c hw/xfree86/os-support/bus/linuxPci.c hw/xfree86/os-support/linux/lnx_pci.c hw/xfree86/scanpci/Makefile.am hw/xfree86/utils/pcitweak/Makefile.am hw/xfree86/utils/scanpci/Makefile.am
2006-09-14Record the maximum dot clock of the monitor, and filter by it.Adam Jackson1-0/+1
2006-08-25Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into ↵Ian Romanick1-1/+6
pci-rework
2006-08-10Rename some mode tokens to better reflect their use.Adam Jackson1-1/+6
Per #5386, M_T_EDID -> M_T_DRIVER, since it's really for any driver-detected mode. Also add M_T_PREFERRED bit, to select a 'best' mode out of a set.
2006-07-25Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into ↵Ian Romanick1-1/+0
pci-rework Conflicts: hw/xfree86/common/xf86Init.c hw/xfree86/int10/pci.c hw/xfree86/scanpci/xf86PciData.h hw/xfree86/scanpci/xf86PciStdIds.h hw/xfree86/scanpci/xf86PciStr.h hw/xfree86/scanpci/xf86ScanPci.h hw/xfree86/utils/pcitweak/pcitweak.c hw/xfree86/utils/scanpci/scanpci.c Re-removed most of the conflicting files.
2006-07-21Make the various implementations of xf86ExtendedInitInt10 use theIan Romanick1-4/+12
libpciaccess interfaces. This eliminates all calls to mapPciRom, which in turn allows the elimination of hw/xfree86/int10/pci.c.
2006-07-21Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into ↵Ian Romanick1-2/+0
pci-rework Conflicts: hw/xfree86/common/xf86DoScanPci.c hw/xfree86/common/xf86Init.c hw/xfree86/common/xf86pciBus.c
2006-07-21Remove RCS tags. Fix Xprint makefile braindamage.Adam Jackson1-1/+0
2006-07-18get rid of XFree86LOADER, XFree86Server, XFree86Module, and IN_MODULEDaniel Stone1-2/+0
Get rid of almost all uses of these definitions. They're still defined for delinquent out-of-tree drivers, and also for the Mesa build. As well as for miinitext.c. But largely gone.
2006-06-07Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserverIan Romanick1-0/+1
2006-06-07Initial batch of changes for PCI rework. All future changes will beIan Romanick1-25/+11
tracked individually.
2006-06-07Add a token for EDID-supplied modes.Adam Jackson1-0/+1
2006-03-07Numerous amounts refactoring and comment adding (see ChangeLog for file byIan Romanick1-0/+25
file details). The primary intention for these changes is to pave the way for the new device probing and PCI configuration code that I'm working on.
2006-02-20Eliminate all the code for querying the PCI class from the PCI ID database.Ian Romanick1-1/+0
Class information is not, and never has been, stored there. Therefore, this is just a bunch of elaborate code to read 0x00000000. This has received testing on x86 and x86-64 Linux.
2005-12-28Bug #5153: standalone CVT modeline generator.Luc Verhaegen1-0/+2
- add hw/xfree86/utils/cvt/, cvt.c, cvt.man.pre and Makefile.am. - Adjust configure.ac and hw/xfree86/utils/Makefile.am for cvt. - Add MonPtr->reducedblanking and Option "ReducedBlanking" to the Monitor section. - Check for reduced blanking in xf86CheckModeForMonitor and disallow modes with less than 25% blanking otherwise. - Fix some warnings in hw/xfree86/common/xf86Config.c.
2005-10-30RandR: Add a driver func to let the driver determine the physical size of aThomas Winischhofer1-25/+35
screen size (display mode). Useful for faked widescreen modes, modes which are scaled by the driver, etc. This really helps fixing RandR's sometimes dumb DPI assumptions.
2005-08-24Remove use of dix-config and xorg-config.h from public headers.Daniel Stone1-4/+0
2005-07-03Change <X11/misc.h> and <X11/os.h> to "misc.h" and "os.h".Daniel Stone1-1/+1
2005-07-03Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.Daniel Stone1-0/+4
Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings. Add #include <dix-config.h> or <xorg-config.h>, as appropriate, to all source files in the xserver/xorg tree, predicated on defines of HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to <X11/fonts/foo.h>.
2005-07-01Change all misc.h and os.h references to <X11/foo.h>.Daniel Stone1-1/+1
2005-02-07Check the pixel clock choosen for a specific refresh rate against theEgbert Eich1-4/+4
maximally allowed pixel clock when choosing mode lines for VBESetVBEMode() and VESA BIOS version >= 3.0 (Bugzilla #2486).
2005-01-28Modifying X.Org Xserver DDX to allow to run X with ordinary userEgbert Eich1-22/+58
permissions when no access to HW registers is required. For API changes which mostly involve the modifications to make the RRFunc (introduced with 6.8) more flexible please check Bugzilla #2407. NOTE: This patch applies changes to OS specific files for other OSes which I cannot test.
2004-08-02Removed distro specific stuff.Egbert Eich1-5/+23
Fixed FreeType module to build with FreeType versions older than 2.1.7. Fixed typo. Added vtSema to protect call of driver DPMS function. removed unneeded variable Modified RandR driver hook to reduce the number of function calls to one. Function is sufficiently generic to be extended in the future.
2004-07-30Add support for on-the-fly screen rotation when supported by hardware (AronEgbert Eich1-1/+5
Plattner).
2003-11-25XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_16Kaleb Keithley1-19/+62
2003-11-14Initial revisionKaleb Keithley1-0/+1029