summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/drm
AgeCommit message (Collapse)Author
2009-11-30fixups for interface changes (mostly state trackers)Roland Scheidegger
2009-11-30i965g: pass backbuffer tiling information to driverKeith Whitwell
The gem winsys gets this information, needs to pass it on.
2009-11-30ws/i965: more debug outputKeith Whitwell
2009-11-30ws/i965: rename and change sense of I965_SEND_CMD to BRW_NO_HWKeith Whitwell
2009-11-30brw: add dumping to gem winsysKeith Whitwell
2009-11-28i965g: link xorg state tracker with -ldrm_intelDave Airlie
2009-11-27Merge branch 'width0'Roland Scheidegger
Conflicts: src/gallium/drivers/r300/r300_texture.c src/gallium/state_trackers/xorg/xorg_exa.c src/mesa/state_tracker/st_cb_texture.c
2009-11-26svga: Prevent potential null pointer dereference in vmw_surface.c.Vinson Lee
2009-11-26gallium: fix more statetrackers/drivers for not using texture ↵Roland Scheidegger
width/height/depth arrays
2009-11-25vmware/xorg: Remove gem includeJakob Bornecrantz
2009-11-24vmware/xorg: Link against libkmsJakob Bornecrantz
If the system doesn't have libkms installed it wont try to link against it.
2009-11-24vmware/xorg: Clean Makefile a bitJakob Bornecrantz
2009-11-24vmware/xorg: Don't link against libdrm_intelJakob Bornecrantz
2009-11-24vmware/xorg: Stage driver in lib/galliumJakob Bornecrantz
2009-11-23svga: Scrub Makefiles a bitJakob Bornecrantz
Remove x86 specific hacks. Not that they will ever be used on none x86 arches, but they are built by default. And the way the flags where added was a hack.
2009-11-22svga: Prevent potential null pointer deference in vmw_surface.c.Vinson Lee
2009-11-22svga: Fix memory leak in vmw_screen_ioctl.cVinson Lee
2009-11-17svga: More -Werror removalJakob Bornecrantz
2009-11-17svga: Remove -Werror for now as GCC 4.4.x raises a bunch of warningsJakob Bornecrantz
2009-11-17svga: Build svga driverJakob Bornecrantz
2009-11-17svga: Add vmwgfx_drm.h file from vmwgfx kernel driverJakob Bornecrantz
Add the vmwgfx_drm.h header for now, this allows the svga driver to be enabled by default without forcing people to install the vmwgfx_drm.h header on their system. To be removed once vmwgfx_drm.h is in libdrm.
2009-11-17svga: Add svga driverJakob Bornecrantz
2009-11-06i965g: Fixup buffer creation functionJakob Bornecrantz
First tri!
2009-11-06i965g: trivial/clear can now send stuff to hardwareJakob Bornecrantz
Added a flag if we should send commands to hardware as what we send isn't all that correct.
2009-11-06i965g: Winsys whitespaceJakob Bornecrantz
2009-11-06i965g: Build winsys againJakob Bornecrantz
2009-11-05i965g: clean up winsys dumping code a littleKeith Whitwell
2009-11-05i965g: pass relocation information in an array with bo_subdataKeith Whitwell
Makes it easier to dump as we get all of the information about the upload in a single hit. Opens the window to simplification in the driver if these relocation arrays can be maintained statically rather than being recreated whenever we check for a new upload. Still needs some cleanup to avoid uglyness introduced with the delta values.
2009-11-05i965g: propogate map-buffer-range semantics down to winsysKeith Whitwell
2009-11-05i965g: make the winsys responsible for all buffer->offset handlingKeith Whitwell
The winsys now inserts the presumed offset into referring buffers from inside of bo_emit_reloc(). Remove the many locally coded places where this was happening in the driver and eliminate the worry of getting it wrong. No longer need to expose offset values to the driver at all, so no need to worry about what to do in the driver when they change. Just use zero values wherever we had offsets previously -- the relocations will fix it all up for us.
2009-11-05brw: push more dumping into the winsysKeith Whitwell
2009-11-05i965g: disassemble more than one instruction at a timeKeith Whitwell
2009-11-05i965g: call dissassembler for appropriate data uploadsKeith Whitwell
2009-11-05i965g: add lots of error checks and early returnsKeith Whitwell
Any allocation that may fail should be checked, and propogate the error upwards. At the highest level we will flush batch and retry. This is an alternate strategy to what the original DRI driver did of attempting to flush batch from the lowest levels (eg inside BEGIN_BATCH). The trouble with that strategy was that flushes could occur at unexpected times, and additionally there was a need for a wierd notification mechanism to propogate the 'lost context' state back up to higher levels. Propogating the errors directly gives us a lot of flexibility how to deal with these states, at the expense of a lot more checking in the code. Will add some sanity checks later to make sure that out-of-memory conditions are properly escalated and not lost halfway up the stack.
2009-11-05i965g: hook up dumpers in dumping winsysKeith Whitwell
2009-11-05i965g: add data type tags to aid dumping/decodingKeith Whitwell
2009-11-05i965g: Builds with sconsJakob Bornecrantz
But there are some missing symbols, "nm -u i965_dri.so" [SNIP] U brw_surface_bo U brw_surface_pitch U brw_texture_blanket_winsys_buffer U brw_texture_get_winsys_buffer U brw_update_dirty_counts [SNIP]
2009-11-05i965g: Do not create a symlink for i965_dri.soJakob Bornecrantz
2009-11-05i915g: Do not create a symlink for i965_dri.soJakob Bornecrantz
2009-11-04i965g: consolidate some includesKeith Whitwell
2009-11-04ws/i965: allow NULL buffer in winsys::bo_unreferenceKeith Whitwell
Special case to avoid clutter in the driver
2009-11-04i965g: hook up flush-frontbufferKeith Whitwell
2009-11-04i965g: add missing buffer functionsKeith Whitwell
2009-11-04ws/i965: add load-time driver registrationKeith Whitwell
Otherwise xlib state-tracker doesn't know about us.
2009-11-04ws/i965: add butt-ugly linker hackKeith Whitwell
Need more linker magic to keep the glX symbols externally visible even though they started off in a .a file.
2009-11-04i965g: add standalone xlib debug winsysKeith Whitwell
Create a dummy winsys that just debug-prints on calls into the winsys functions. Will use this to get to the point where we are generating sane-looking debug dumps and diassembly. Also fix various warnings generated with the new compiler flags set in this config.
2009-11-04i965g: convert read/write domain pairs into single usage valueKeith Whitwell
Easier to understand what's going on in the driver sources, convert stereotype usage values back to GEM read/write domain flags in the winsys.
2009-11-01nouveau: Assume all texture blankets are linear for now.Younes Manton
2009-11-01i965g: driver and winsys compileKeith Whitwell
A milestone of sorts. Still a long way from something working -- the old one compiled too, at least some of the time...
2009-10-29r300g: Fix bytes_per_line calculation error while displaying surfaceCooper Yuan