1. 10 Sep, 2013 1 commit
  2. 09 Jul, 2012 1 commit
  3. 06 Jul, 2012 1 commit
    • Dave Airlie's avatar
      dix: introduce gpu screens. (v5) · 9d179818
      Dave Airlie authored
      This patch introduces gpu screens into screenInfo. It adds interfaces
      for adding and removing gpu screens, along with adding private fixup,
      block handler support, and scratch pixmap init.
      
      GPU screens have a myNum that is offset by GPU_SCREEN_OFFSET (256),
      this is used for logging etc.
      
      RemoveGPUScreen isn't used until "xfree86: add platform bus hotplug support".
      
      v2: no glyph pictures for GPU screens for now.
      v3: introduce MAXGPUSCREENS, fix return value check
      v4: fixup myNum when renumbering screens (ajax)
      v5: drop cursor privates for now.
      Reviewed-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      9d179818
  4. 05 Jul, 2012 2 commits
    • Keith Packard's avatar
      privates: Allow device privates to be allocated after server start · 9e4b8b74
      Keith Packard authored
      This will permit midispcur to allocate its privates for hotplug outputs
      Signed-off-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
      Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
      9e4b8b74
    • Keith Packard's avatar
      Add screen-specific privates. · 9d457f9c
      Keith Packard authored
      Screen-specific privates areas are only allocated for objects related
      to the target screen; objects allocated for other screens will not
      have the private space reserved. This saves memory in these objects
      while also allowing hot-plug screens to have additional private
      allocation space beyond what the core screens are using.
      
      Drivers are encouraged to switch to this mechanism as it will reduce
      memory usage in multi-GPU environments, but it is only required for
      drivers which will be loaded after the server starts, like
      modesetting.
      
      Objects providing screen-specific privates *must* be managed by the
      screen-specific private API when allocating or initializing privates
      so that the per-screen area can be initialized properly.
      
      The objects which support screen-specific privates are:
      
      	Windows
      	Pixmaps
      	GCs
      	Pictures
      
      Extending this list to include Colormaps would be possible, but
      require slightly more work as the default colormap is created before
      all colormap privates are allocated during server startup, and hence
      gets a bunch of special treatment.
      
      Of particular note, glyphs are *not* capable of supporting
      screen-specific privates as they are global objects, not allocated on
      a screen-specific basis, and so each driver must be able to see their
      privates within the glyph.
      Signed-off-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
      Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
      9d457f9c
  5. 21 Mar, 2012 1 commit
    • Keith Packard's avatar
      Introduce a consistent coding style · 9838b703
      Keith Packard authored
      This is strictly the application of the script 'x-indent-all.sh'
      from util/modular. Compared to the patch that Daniel posted in
      January, I've added a few indent flags:
      
      	-bap
      	-psl
      	-T PrivatePtr
      	-T pmWait
      	-T _XFUNCPROTOBEGIN
      	-T _XFUNCPROTOEND
      	-T _X_EXPORT
      
      The typedefs were needed to make the output of sdksyms.sh match the
      previous output, otherwise, the code is formatted badly enough that
      sdksyms.sh generates incorrect output.
      
      The generated code was compared with the previous version and found to
      be essentially identical -- "assert" line numbers and BUILD_TIME were
      the only differences found.
      
      The comparison was done with this script:
      
      dir1=$1
      dir2=$2
      
      for dir in $dir1 $dir2; do
      	(cd $dir && find . -name '*.o' | while read file; do
      		dir=`dirname $file`
      		base=`basename $file .o`
      		dump=$dir/$base.dump
      		objdump -d $file > $dump
      	done)
      done
      
      find $dir1 -name '*.dump' | while read dump; do
      	otherdump=`echo $dump | sed "s;$dir1;$dir2;"`
      	diff -u $dump $otherdump
      done
      Signed-off-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
      Acked-by: Daniel Stone's avatarDaniel Stone <daniel@fooishbar.org>
      Acked-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      9838b703
  6. 07 Dec, 2010 1 commit
    • James Jones's avatar
      Add fence sync driver interface · 1c4a0db2
      James Jones authored
      -Add fence sync objects
      
      -Add fence sync devPrivates
      
      -Add a X sync module screen private
      
      -Add wrappable functions to create and destroy
       fence sync objects
      
      -Give fence sync objects wrappable functions to
       trigger, test, and reset their 'triggered' value.
      
      -Give fence sync objects wrappable functions to
       notify driver when adding/removing triggers to/
       from the sync object.
      Signed-off-by: James Jones's avatarJames Jones <jajones@nvidia.com>
      Reviewed-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
      1c4a0db2
  7. 18 Sep, 2010 1 commit
  8. 10 Sep, 2010 1 commit
  9. 06 Jun, 2010 4 commits
  10. 13 May, 2010 1 commit
  11. 12 May, 2010 1 commit
  12. 07 Oct, 2009 1 commit
  13. 22 Jan, 2009 1 commit
  14. 03 Dec, 2008 1 commit
    • Paulo Cesar Pereira de Andrade's avatar
      Rework symbol visibility for easier maintenance · 49f77fff
      Paulo Cesar Pereira de Andrade authored
        Save in a few special cases, _X_EXPORT should not be used in C source
      files. Instead, it should be used in headers, and the proper C source
      include that header. Some special cases are symbols that need to be
      shared between modules, but not expected to be used by external drivers,
      and symbols that are accessible via LoaderSymbol/dlopen.
      
        This patch also adds conditionally some new sdk header files, depending
      on extensions enabled. These files were added to match pattern for
      other extensions/modules, that is, have the headers "deciding" symbol
      visibility in the sdk. These headers are:
      o Xext/panoramiXsrv.h, Xext/panoramiX.h
      o fbpict.h (unconditionally)
      o vidmodeproc.h
      o mioverlay.h (unconditionally, used only by xaa)
      o xfixes.h (unconditionally, symbols required by dri2)
      
        LoaderSymbol and similar functions now don't have different prototypes,
      in loaderProcs.h and xf86Module.h, so that both headers can be included,
      without the need of defining IN_LOADER.
      
        xf86NewInputDevice() device prototype readded to xf86Xinput.h, but
      not exported (and with a comment about it).
      49f77fff
  15. 30 Nov, 2008 1 commit
    • Paulo Cesar Pereira de Andrade's avatar
      Export symbols defined in the sdk. · d6cbd451
      Paulo Cesar Pereira de Andrade authored
        This is the biggest "visibility" patch. Instead of doing a "export"
      symbol on demand, export everything in the sdk, so that if some module
      fails due to an unresolved symbol, it is because it is using a symbol
      not in the sdk.
      
        Most exported symbols shouldn't really be made visible, neither
      advertised in the sdk, as they are only used by a single shared object.
      
        Symbols in the sdk (or referenced in sdk macros), but not defined
      anywhere include:
      XkbBuildCoreState()
      XkbInitialMap
      XkbXIUnsupported
      XkbCheckActionVMods()
      XkbSendCompatNotify()
      XkbDDXFakePointerButton()
      XkbDDXApplyConfig()
      _XkbStrCaseCmp()
      _XkbErrMessages[]
      _XkbErrCode
      _XkbErrLocation
      _XkbErrData
      XkbAccessXDetailText()
      XkbNKNDetailMaskText()
      XkbLookupGroupAndLevel()
      XkbInitAtoms()
      XkbGetOrderedDrawables()
      XkbFreeOrderedDrawables()
      XkbConvertXkbComponents()
      XkbWriteXKBSemantics()
      XkbWriteXKBLayout()
      XkbWriteXKBKeymap()
      XkbWriteXKBFile()
      XkbWriteCFile()
      XkbWriteXKMFile()
      XkbWriteToServer()
      XkbMergeFile()
      XkmFindTOCEntry()
      XkmReadFileSection()
      XkmReadFileSectionName()
      InitExtInput()
      xf86CheckButton()
      xf86SwitchCoreDevice()
      RamDacSetGamma()
      RamDacRestoreDACValues()
      xf86Bpp
      xf86ConfigPix24
      xf86MouseCflags[]
      xf86SupportedMouseTypes[]
      xf86NumMouseTypes
      xf86ChangeBusIndex()
      xf86EntityEnter()
      xf86EntityLeave()
      xf86WrapperInit()
      xf86RingBell()
      xf86findOptionBoolean()
      xf86debugListOptions()
      LoadSubModuleLocal()
      LoaderSymbolLocal()
      getInt10Rec()
      xf86CurrentScreen
      xf86ReallocatePciResources()
      xf86NewSerialNumber()
      xf86RandRSetInitialMode()
      fbCompositeSolidMask_nx1xn
      fbCompositeSolidMask_nx8888x0565C
      fbCompositeSolidMask_nx8888x8888C
      fbCompositeSolidMask_nx8x0565
      fbCompositeSolidMask_nx8x0888
      fbCompositeSolidMask_nx8x8888
      fbCompositeSrc_0565x0565
      fbCompositeSrc_8888x0565
      fbCompositeSrc_8888x0888
      fbCompositeSrc_8888x8888
      fbCompositeSrcAdd_1000x1000
      fbCompositeSrcAdd_8000x8000
      fbCompositeSrcAdd_8888x8888
      fbGeneration
      fbIn
      fbOver
      fbOver24
      fbOverlayGeneration
      fbRasterizeEdges
      fbRestoreAreas
      fbSaveAreas
      composeFunctions
      VBEBuildVbeModeList()
      VBECalcVbeModeIndex()
      TIramdac3030CalculateMNPForClock()
      shadowBufPtr
      shadowFindBuf()
      miRRGetScreenInfo()
      RRSetScreenConfig()
      RRModePruneUnused()
      PixmanImageFromPicture()
      extern int miPointerGetMotionEvents()
      miClipPicture()
      miRasterizeTriangle()
      fbPush1toN()
      fbInitializeBackingStore()
      ddxBeforeReset()
      SetupSprite()
      InitSprite()
      DGADeliverEvent()
      
        SPECIAL CASES
      o defined as _X_INTERNAL
      	xf86NewInputDevice()
      o defined as static
      	fbGCPrivateKey
      	fbOverlayScreenPrivateKey
      	fbScreenPrivateKey
      	fbWinPrivateKey
      o defined in libXfont.so, but declared in xorg/dixfont.h
      	GetGlyphs()
      	QueryGlyphExtents()
      	QueryTextExtents()
      	ParseGlyphCachingMode()
      	InitGlyphCaching()
      	SetGlyphCachingMode()
      d6cbd451
  16. 12 Sep, 2008 1 commit
  17. 13 Jun, 2008 1 commit
  18. 04 Jan, 2008 1 commit
  19. 06 Sep, 2007 1 commit
  20. 28 Aug, 2007 1 commit
  21. 16 Aug, 2007 3 commits
  22. 09 Apr, 2007 1 commit
  23. 05 Apr, 2007 1 commit
  24. 03 Apr, 2007 1 commit
  25. 08 Mar, 2007 5 commits
  26. 07 Mar, 2007 1 commit
  27. 06 Mar, 2007 1 commit
  28. 05 Mar, 2007 2 commits
  29. 23 Feb, 2007 1 commit