summaryrefslogtreecommitdiff
path: root/src/gallium/winsys
AgeCommit message (Collapse)Author
2010-08-06Revert "r600g: don't use dynamic state allocation for states"Jerome Glisse
This reverts commit 9c949d4a4dd43b7889e13bdf683bcf211f049ced. Conflicts: src/gallium/drivers/r600/r600_context.h src/gallium/drivers/r600/r600_draw.c src/gallium/drivers/r600/r600_shader.c src/gallium/drivers/r600/r600_state.c
2010-08-06r300g: do not emit GB_Z_PEQ_CONFIG on non-r500 if DRM < 2.6.0Marek Olšák
2010-08-05r600g: don't use dynamic state allocation for statesJerome Glisse
Simplify state handly by avoiding state allocation. Next step is to allocate once for all context packet buffer and then avoid rebuilding pm4 packet each time (through use of combined crc) this would also avoid number of memcpy. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-08-05r300g: debug_print on startup whether we can use hyper-zMarek Olšák
2010-08-05r300g: implement hyper-z support. (v4)Dave Airlie
This implements fast Z clear, Z compression, and HiZ support for r300->r500 GPUs. It also allows cbzb clears when fast Z clears are being used for the ZB. It requires a kernel with hyper-z support. Thanks to Marek Olšák <maraeo@gmail.com>, who started this off, and Alex Deucher at AMD for providing lots of hints. v2: squashed zmask ram size fix] squashed r300g/blitter: fix Z readback when compressed] v3: rebase around texture changes in master - .1 fix more bits v4: migrated to using u_mm in r300_texture to manage hiz/zmask rams consistently disabled HiZ when using OQ flush z-cache before turning hyper-z off update hyper-z state on dsa state change store depthclearvalue across cbzb clears and replace it afterwards. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-07-28r600g: split pipe state creating/binding from hw state creationJerome Glisse
Split hw vs pipe states creation handling as hw states group doesn't match pipe state group exactly. Right now be dumb about that and rebuild all hw states on each draw call. More optimization on that side coming. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-07-25r300g: reject resources from handles which are not large enoughMarek Olšák
The driver gets a buffer and its size in resource_from_handle. It computes the required minimum buffer size from given texture properties, and compares the two sizes. This is to early detect DDX bugs.
2010-07-23xorg/vmwgfx: Implement early mode pruning based on max fb size.Thomas Hellstrom
Also move some initialization from screen init to pre-init, now that it is possible. Also import a new vmwgfx drm (1.3) header. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-07-22i915g: Rename winsys debug optionsJakob Bornecrantz
2010-07-21r600g: add family retrivalDave Airlie
allow pipe driver to get the family of the gpu.
2010-07-16r300g: do not make copies of constant buffers, emit them directlyMarek Olšák
2010-07-16r300g: rebuild winsys and command submission to support multiple contextsMarek Olšák
2010-07-10r300g: do not print a rejected CS if RADEON_DUMP_CS is not setMarek Olšák
Also print relocation failures on non-debug builds too.
2010-07-08r300g: store/return the stride for winsys_handle in winsysMarek Olšák
2010-07-04i915g: Add flag to not send commands to hwJakob Bornecrantz
2010-07-04i915g: If the kernel reject the batchbuffer print it then assertJakob Bornecrantz
2010-06-30r300g: move one flush from winsys to the contextMarek Olšák
This flush happens when changing the tiling flags, and it should really be done in the context. I hope this fixes FDO bug #28630.
2010-06-28Merge branch 'gallium-drm-driver-drescriptor'Jakob Bornecrantz
Conflicts: src/gallium/state_trackers/egl/x11/native_dri2.c src/gallium/state_trackers/egl/x11/native_x11.c src/gallium/state_trackers/egl/x11/native_x11.h src/gallium/state_trackers/xorg/xorg_driver.c src/gallium/winsys/radeon/drm/radeon_drm.c
2010-06-24i965g: Remove last references to drm_apiJakob Bornecrantz
2010-06-24gallium: Fix scons buildJakob Bornecrantz
2010-06-24r600g: Move bootstrap code to targetJakob Bornecrantz
2010-06-23nouveau: Move bootstrap code to targetsJakob Bornecrantz
Well sorta, at least I removed the drm_api dependancy and the target can layer anything it wants to now.
2010-06-23nouveau: Rename winsys fileJakob Bornecrantz
2010-06-23glhd: Use an environment variable (GALAHAD) to enable. Off by default.Corbin Simpson
2010-06-23radeong: Disable Galahad for now; breaks texturing.Corbin Simpson
2010-06-22targets, radeong: Add Galahad.Corbin Simpson
Currently unconditional and causes segfaults.
2010-06-23gallium: Drop sw drm winsysJakob Bornecrantz
Last user went away
2010-06-23i965g: Move bootstrap code to targetsJakob Bornecrantz
2010-06-23i965g: Rename winsys fileJakob Bornecrantz
2010-06-23i965g: Moved pci_id to winsys structJakob Bornecrantz
2010-06-22r300g: optimize the immediate mode emission path a bitMarek Olšák
2010-06-20r600g: handle DRM_API_HANDLE_TYPE_KMS in buffer_get_handleMarek Olšák
2010-06-20r300g: cleanup buffer_{from, get}_handleMarek Olšák
2010-06-14r300g: drop begin_cs/end_csMarek Olšák
I have had a look at the libdrm sources and they just contain more or less the same checking we do in macros, and begin_cs may realloc the CS buffer if we overflow it, which never happens with r300g. So these are pretty much useless. There is a small but measurable performance increase by dropping the two functions.
2010-06-13r300g: replace r300_cs_info with simplier get_cs_free_dwordsMarek Olšák
2010-06-11winsys: Add fbdev software winsys.Chia-I Wu
This is a simple winsys that mmap()s the framebuffer device and memcpy()s the contents of display targets to the framebuffer device for displaying.
2010-06-06r300g: Move bootstrap code to targetsJakob Bornecrantz
2010-06-06i915g: Move bootstrap code to targetsJakob Bornecrantz
2010-06-06svga: Move bootstrap code to targetsJakob Bornecrantz
2010-06-06nouveau: Remove left over argument in drm apiJakob Bornecrantz
2010-06-04i915g: Rename winsys c file.Vinson Lee
This was missed in commit e7f0f6bb72c63fd6e6ddcb7a815be68682f1764c. Fixes i915g SCons build.
2010-06-02r300g: use r300_buffer_domain everywhereMarek Olšák
2010-06-02r300g: let the driver determine the GEM domain for buffer_createMarek Olšák
2010-05-31st/xorg, vmware: Make throttling configurable.Thomas Hellstrom
The xorg state tracker gets two new options to let the user choose whether to enable / disable dirty throttling and swapbuffer throttling. The default value of these options are enabled, unless the winsys supplies a customizer with other values. The customizer record has been extended to allow this, and also to set winsys-based throttling on a per- context basis. The vmware part of this patch disables the dirty throttling if the kernel supports command submission throttling, and also in that case sets kernel based throttling for everything but swapbuffers. The vmware winsys does not set throttling per context, even if it theoretically could, but instead sets throttling per screen. This should perhaps be changed, should the xorg state tracker start to use multiple rendering contexts. Kernel throttling is off by default for all new screens/contexts, so the dri state tracker is not affected. This significantly improves interactivity of the vmware xorg driver. Cherry-picked from commit a8f3b3f88acc1f0193fa740e76e9d815f07f32ab Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
2010-05-30r600g: RS880 is r6xx-basedAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-05-29r600g: remove unused variableMarek Olšák
2010-05-29r600g: fix gallium function parametersMarek Olšák
2010-05-29i915g: Rename winsys c fileJakob Bornecrantz
2010-05-29i915g: Move pci id to winsys structJakob Bornecrantz
2010-05-27r600g: Integrate into buildJakob Bornecrantz
Signed-off-by: Jakob Bornecrantz <wallbraker@gmail.com>