Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-11-05 | i965g: add lots of error checks and early returns | Keith 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-05 | i965g: Don't dump pads or dwords aliases. | José Fonseca | |
2009-11-05 | i965g: hook up dumpers in dumping winsys | Keith Whitwell | |
2009-11-05 | i965g: Dumper for i965 structures. | José Fonseca | |
2009-11-05 | i965g: add data type tags to aid dumping/decoding | Keith Whitwell | |
2009-11-05 | i965g: use pipe_error return value for brw_batchbuffer_require_space | Keith Whitwell | |
trivial/tri runs without crashing (on debug winsys) but still produces obviously incorrect command buffers. | |||
2009-11-05 | i965g: fix compiler warning | Keith Whitwell | |
2009-11-05 | i965g: Builds with scons | Jakob 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-05 | i965g: Fix debug check | Jakob Bornecrantz | |
2009-11-05 | i965g: Do not create a symlink for i965_dri.so | Jakob Bornecrantz | |
2009-11-05 | i915g: Do not create a symlink for i965_dri.so | Jakob Bornecrantz | |
2009-11-04 | i965g: enable line stipple packet emit | Keith Whitwell | |
With this change, trivial/tri manages to build and emit a fairly unconvincing command buffer (to the debug winsys), and then crashes. | |||
2009-11-04 | i965g: fix order of calculation of brw->wm.nr_surfaces | Keith Whitwell | |
2009-11-04 | i965g: consolidate some includes | Keith Whitwell | |
2009-11-04 | i965g: fix some asserts | Keith Whitwell | |
2009-11-04 | i965g: remove redundant screen pointer in brw context struct | Keith Whitwell | |
2009-11-04 | i965g: initialize winsys pointer in surface cache | Keith Whitwell | |
2009-11-04 | i965g: init pointer to null, avoid segfault | Keith Whitwell | |
2009-11-04 | i965g: clean up wm init_registers func | Keith Whitwell | |
2009-11-04 | i965g: hook up some missing vertex shader code | Keith Whitwell | |
2009-11-04 | i965g: hook up some vertex state funcs | Keith Whitwell | |
2009-11-04 | ws/i965: allow NULL buffer in winsys::bo_unreference | Keith Whitwell | |
Special case to avoid clutter in the driver | |||
2009-11-04 | i965g: pull in a copy of intel_decode.c for now | Keith Whitwell | |
With the stubbed out, non-hardware xlib winsys, trivial/clear runs and prints a plausible command stream | |||
2009-11-04 | i965g: hook up flush-frontbuffer | Keith Whitwell | |
2009-11-04 | i965g: fix up batchbuffer confusion | Keith Whitwell | |
2009-11-04 | i965g: plumb in some surface state | Keith Whitwell | |
2009-11-04 | i965g: hook up pipe_clear functions | Keith Whitwell | |
2009-11-04 | i965g: add constant buffer setter | Keith Whitwell | |
2009-11-04 | i965g: add missing is_*_referenced callbacks | Keith Whitwell | |
2009-11-04 | i965g: initialize surface refcount | Keith Whitwell | |
2009-11-04 | i965g: add more missing pipe callbacks | Keith Whitwell | |
2009-11-04 | i965g: add some missing texture creation code | Keith Whitwell | |
2009-11-04 | i965g: stubs for brw_pipe_vertex.c | Keith Whitwell | |
2009-11-04 | i965g: hook up pipe sampler callbacks | Keith Whitwell | |
2009-11-04 | i965g: hook up more pipe_context functions | Keith Whitwell | |
2009-11-04 | i965g: add missing buffer functions | Keith Whitwell | |
2009-11-04 | ws/i965: add load-time driver registration | Keith Whitwell | |
Otherwise xlib state-tracker doesn't know about us. | |||
2009-11-04 | ws/i965: add butt-ugly linker hack | Keith Whitwell | |
Need more linker magic to keep the glX symbols externally visible even though they started off in a .a file. | |||
2009-11-04 | i965g: hook up brw_screen.c | Keith Whitwell | |
2009-11-04 | i965g: add standalone xlib debug winsys | Keith 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-04 | i965g: convert read/write domain pairs into single usage value | Keith 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-02 | i965g: format RELOCs similarly | Keith Whitwell | |
2009-11-02 | i965g: rename brw_constant_buffer to brw_curbe_buffer | Keith Whitwell | |
Now that there are real constant buffers, try to reduce naming confusion. | |||
2009-11-01 | i965g: driver and winsys compile | Keith Whitwell | |
A milestone of sorts. Still a long way from something working -- the old one compiled too, at least some of the time... | |||
2009-11-01 | i965g: the whole drivers/i965 directory is compiling | Keith Whitwell | |
That was a lot more work than I expected. Still the winsys to go, then the small matter of making it work and re-enabling the missing functionality. | |||
2009-11-01 | i965g: more files compiling | Keith Whitwell | |
2009-11-01 | i965g: more files compiling | Keith Whitwell | |
2009-11-01 | i965g: more files compiling | Keith Whitwell | |
2009-11-01 | i965g: more files compiling | Keith Whitwell | |
2009-11-01 | i965g: more work on compilation -- surface management | Keith Whitwell | |