1. 20 Mar, 2008 2 commits
  2. 19 Mar, 2008 3 commits
  3. 18 Mar, 2008 2 commits
  4. 17 Mar, 2008 3 commits
    • Jesse Barnes's avatar
      Cleanup logic in xf86PrepareOutputs · afd74286
      Jesse Barnes authored
      Should have done this in the first place.  Since we're checking for the absence
      of the get_crtc callback in the first place, we'll short circuit the later call
      and disable the output, so the ugly "continue" block is unnecesary.
      afd74286
    • Jesse Barnes's avatar
      Make xf86SetDesiredModes aware of current output configuration · ba85caac
      Jesse Barnes authored
      By adding a new output callback, ->get_crtc, xf86SetDesiredModes is able to
      avoid turning off outputs & CRTCs if the current output<->CRTC mappings are the
      same as the desired configuration.  This helps avoid flickering displays at
      startup time, which speeds things up a little and looks better.
      ba85caac
    • Jesse Barnes's avatar
      Fail CRTC configuration if !vtSema · bee2ddf3
      Jesse Barnes authored
      Unless we check for vtSema before calling into the CRTC and output callbacks,
      we may end up trying to access video memory that no longer exists, leading to a
      crash.  So if we don't have vtSema, return FALSE to the caller, indicating that
      we didn't do anything.
      
      Fixes #14444.
      bee2ddf3
  5. 16 Mar, 2008 1 commit
  6. 15 Mar, 2008 2 commits
  7. 14 Mar, 2008 4 commits
  8. 13 Mar, 2008 4 commits
  9. 12 Mar, 2008 2 commits
    • Mark Kettenis's avatar
      OpenBSD support for libpciaccess. · 06c0372c
      Mark Kettenis authored
      xserver and libpciaccess both need to open /dev/xf86, which can only
      be opened once.  I implemented pci_system_init_dev_mem() like Ian
      suggested.  This requires some minor changes to the BSD-specific
      os-support code.  Since pci_system_init_dev_mem() is a no-op on
      FreeBSD this should be no problem.
      06c0372c
    • Matthias Hopf's avatar
      Return randr interface version in xf86CrtcScreenInit() · 20368511
      Matthias Hopf authored
      Necessary to allow drivers to be run-time backwards compatible when using the
      modes/ functions w/o providing their own copy.
      20368511
  10. 11 Mar, 2008 4 commits
  11. 10 Mar, 2008 4 commits
  12. 07 Mar, 2008 4 commits
  13. 06 Mar, 2008 3 commits
    • Aaron Plattner's avatar
      Get modes code building with old X servers again. · a8d760f5
      Aaron Plattner authored
      This change uses XORG_VERSION_CURRENT < 7.0 to mean "server newer than 1.2"
      since XORG_VERSION current went backwards at some point.
      a8d760f5
    • Jesse Barnes's avatar
      Allow RandR get output property to call into drivers · ca616b90
      Jesse Barnes authored
      In order to report accurate values to users of the RandR property interface,
      it's sometimes necessary to ask the driver to update the value (for example
      when backlight brightness changes without the server's knowledge, due to hotkey
      events or direct sysfs banging).
      
      This patch wires up the core server code with a new xf86CrtcFuncs callback,
      get_property, to allow for this.
      
      The new code is available under the RANDR_13_INTERFACE define, which in turn
      depends on the RANDR_12_INTERFACE code.
      ca616b90
    • Adam Jackson's avatar
      Fix distcheck. · 34b69e3b
      Adam Jackson authored
      (cherry picked from commit 2a47accf)
      34b69e3b
  14. 05 Mar, 2008 2 commits