summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/drm
Commit message (Collapse)AuthorAgeFilesLines
* nouveau: rewrite winsys in terms of drm_api, support dri2 state trackerBen Skeggs2009-03-1825-745/+504
| | | | | | | | | | drm_api is a set of hooks used by the dri2 state tracker, this wraps our dri1 code around the same set of hooks. Currently the dri2 build will produce nouveau_dri2.so which you'll need to install as nouveau_dri.so if you wish to try it. The dri2 state tracker doesn't make it easy for a driver to support both paths in the same binary.
* radeon-gallium: Add my R580 to the xorg PCI ID list.Corbin Simpson2009-03-151-0/+3
| | | | At some point, going to have to grab the big list from xf86-video-ati.
* gallium: Remove do_flip argument from surface_copyJakob Bornecrantz2009-03-131-1/+1
| | | | | | | I should have gotten most uses and implementation correctly fixed, but things might break. Feel free to blame me.
* radeon-gallium: Unbreak non-RADEON_SOFTPIPE.Corbin Simpson2009-03-105-7/+9
| | | | Hehe, sleep may be necessary now.
* radeon-gallium: Unbreak RADEON_SOFTPIPE.Corbin Simpson2009-03-104-18/+21
| | | | And there was much rejoicing.
* nouveau: use bo_handle_ref instead of bo_fake to get front-buffer boBen Skeggs2009-03-071-3/+1
| | | | | | | This'll work on non-GEM also as the DDX will just pass an offset, and libdrm_nouveau knows to treat "handle" as a VRAM offset. When running on GEM the DDX (it doesn't yet, but will) passes a buffer handle instead.
* nouveau: fix more breakage from pipe_reference..Ben Skeggs2009-03-071-0/+1
|
* Fix nouveau_pipe_create() / nouveau_context_init(): raise an error if the ↵Victor Stinner2009-03-072-3/+10
| | | | screen/pipe creation failed
* st/xorg: Install to XORG_DRIVER_INSTALL_DIRJoel Bosveld2009-03-062-2/+4
|
* radeon-gallium: fix dri2 buildJoakim Sindholt2009-03-051-3/+3
|
* radeon-gallium: Add Xorg state tracker Radeon winsys stub.Corbin Simpson2009-03-041-0/+154
|
* radeon-gallium: Only build drivers for state trackers that are enabled.Corbin Simpson2009-03-041-1/+1
|
* radeon-gallium: Enable EGL and Xorg state trackers.Corbin Simpson2009-03-043-1/+67
| | | | Compile-tested only, but I have high hopes.
* radeon-gallium: DRI2 state tracker, part 3.Corbin Simpson2009-03-0415-728/+78
| | | | | Properly setup the build process for adding in xorg and egl trackers, and finally put radeon_context and radeon_screen to bed.
* intel: Fixup from refcount changesJakob Bornecrantz2009-03-051-0/+1
|
* gallium: Unify reference counting.Michel Dänzer2009-03-048-41/+28
| | | | | | | | | | | | | | The core reference counting code is centralized in p_refcnt.h. This has some consequences related to struct pipe_buffer: * The screen member of struct pipe_buffer must be initialized, or pipe_buffer_reference() will crash trying to destroy a buffer with reference count 0. u_simple_screen takes care of this, but I may have missed some of the drivers not using it. * Except for rare exceptions deep in winsys code, buffers must always be allocated via pipe_buffer_create() or via screen->*buffer_create() rather than via winsys->*buffer_create().
* r300-gallium, radeon-gallium: Continue migration to DRI2 state_tracker, part 2.Corbin Simpson2009-03-031-3/+15
| | | | Almost there. glxinfo still works, and AFAICT so does trivial/clear.
* r300-gallium, radeon-gallium: Begin migration to DRI2 state tracker, part 1.Corbin Simpson2009-03-039-58/+177
| | | | s/migration/migrane/ , actually. Anyway, this has working glxinfo...
* st/drm: s/hocks/hooks/Jakob Bornecrantz2009-03-031-1/+1
|
* winsys: return null for DONTBLOCK flag on existing winsysKeith Whitwell2009-03-033-0/+18
| | | | Add code so that existing driver behaviour doesn't change.
* intel: Add Xorg driverJakob Bornecrantz2009-03-032-0/+198
|
* intel: Add dri2 driver for galliumJakob Bornecrantz2009-03-031-0/+22
|
* intel: Increase max relocs per batchbufferJakob Bornecrantz2009-03-031-2/+1
|
* radeon: Add DRM stubs.Corbin Simpson2009-02-273-0/+66
| | | | Nothing really of note, unfortunately.
* intel: Use flink for global buffer idsJakob Bornecrantz2009-02-273-6/+47
| | | | Also fix minor drm api change
* intel: Adopt to the new drm_api.hJakob Bornecrantz2009-02-253-6/+8
|
* i915: Clean up i915_winsys.h a bitJakob Bornecrantz2009-02-251-1/+1
|
* gallium: Install winsys/drm to DESTDIR rather than /Joel Bosveld2009-02-231-2/+2
|
* gallium: Improve recursive makefilesJakob Bornecrantz2009-02-203-63/+9
|
* gallium: Improve winsys dri template MakefileJakob Bornecrantz2009-02-201-8/+7
| | | | | | LIBNAME_EGL had to be removed since if you didn't set it (nobody set it anyways) make would get it confused it with the $(TOP)/lib/gallium target.
* intel: Use new makefile template for drm gemJakob Bornecrantz2009-02-202-70/+3
|
* nouveau: Use new makefile template for drm commonJakob Bornecrantz2009-02-202-66/+7
|
* nouveau: reenable all the non-nv50 pipe driversBen Skeggs2009-02-202-7/+5
| | | | They still won't build yet, but anyway..
* nv50: rework for texture_transfer changesBen Skeggs2009-02-203-6/+11
|
* radeon-gallium: Clean out extensions explicitly enabled by Mesa.Corbin Simpson2009-02-141-36/+2
| | | | | | This cleans up some of the cruft from the old DRI setup, and it turns out that only the GLSL extensions are still off if we let st_extensions.c handle the setup instead.
* intel: Only build winsys with built state trackersJakob Bornecrantz2009-02-131-1/+3
|
* intel: Make gem export the drm_api_hocksJakob Bornecrantz2009-02-1212-199/+112
|
* intel: Remove the old depricated dri1 winsysJakob Bornecrantz2009-02-1215-2324/+0
|
* intel: Remove the ttm backendJakob Bornecrantz2009-02-1216-4178/+0
| | | | RIP ttm, its been fun knowing you.
* gallium: Don't rebuild common drm codeJakob Bornecrantz2009-02-102-6/+6
|
* gallium: Install DRI drivers into lib/galliumJakob Bornecrantz2009-02-102-8/+8
|
* gallium: Introduce new subdirs build variablesJakob Bornecrantz2009-02-101-5/+5
| | | | (based on gallium-xorg-driver/commit 270ce504052d415870a25ab59818b2309eb8ac13)
* mesa: build/use libmesagallium.a for gallium buildsBrian Paul2009-02-091-2/+2
| | | | | This contains the core mesa code but excludes things not needed for gallium such as tnl/, swrast/, swrast_setup/, etc.
* Merge branch 'gallium-0.2-radeon' into gallium-0.2Corbin Simpson2009-02-0612-0/+1303
|\
| * Rename winsys amd to radeon.Corbin Simpson2009-02-0612-250/+250
| |
| * r300, amd: Oops, a couple more API changes.Corbin Simpson2009-02-021-1/+1
| | | | | | | | Somehow I forgot to commit these.
| * amd: Fix build errors from rebase.Corbin Simpson2009-02-025-7/+5
| |
| * amd: Add AMD_SOFTPIPE environment option.Corbin Simpson2009-02-011-1/+1
| | | | | | | | If set, AMD_SOFTPIPE will make amd switch to softpipe.
| * BROKENCorbin Simpson2009-02-011-1/+1
| | | | | | | | | | This commit is only to protect against data loss, so please skip it when bisecting. Thanks.
| * amd: Fix uninitialized pipe_screen.Corbin Simpson2009-02-011-1/+2
| |