summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/i915
Commit message (Collapse)AuthorAgeFilesLines
* i915g: Optimize batchbuffer sizesStéphane Marchesin2013-05-081-1/+1
| | | | | | | Now that we don't throttle at every batchbuffer, we can shrink the size of batchbuffers to achieve early flushing. This gives a significant speed boost in a lot of games (on the order of 20%).
* i915g: Use PIPE_FLUSH_END_OF_FRAME to trigger throttlingStéphane Marchesin2013-03-082-4/+7
| | | | | This helps with jittering, instead of throttling at every command buffer we only throttle once a frame.
* Remove hacks for static MakefilesMatt Turner2013-01-132-8/+0
| | | | | | | | | | | v2: Andreas Boll <[email protected]> - don't remove compatibility with scripts for the old build system v3: Andreas Boll <[email protected]> - remove more obsolete hacks v4: Andreas Boll <[email protected]> - add a previously removed TOP variable to fix vgapi build
* Clean up .gitignore filesMatt Turner2013-01-102-2/+0
|
* i915/winsys/sw: Convert to automakeMatt Turner2013-01-103-12/+42
|
* i915/winsys/drm: Convert to automakeMatt Turner2013-01-103-13/+39
|
* configure: replace pkg-config calls with $(PKG_CONFIG) in the makefiles.Stéphane Marchesin2011-10-041-2/+2
| | | | | | | Us poor souls who cross compile mesa want to be able to specify which pkg-config to pick, or at least just change one place. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Matt Turner <[email protected]>
* android: add support for i915gChia-I Wu2011-08-271-0/+41
| | | | | | Quickly tested with 945GME. SurfaceFlinger (the display server and compositor) works. 2D apps with RGB or RGBA visuals work. As for 3D apps, some work and some do not.
* winsys/i915: share the source listChia-I Wu2011-08-273-11/+8
| | | | | Factor out C_SOURCES from Makefile to Makefile.sources, and let Makefile and SConscript share it.
* i915g: don't try to check if a NULL buffer is busy.Stéphane Marchesin2011-07-131-0/+2
|
* i915g: Improve flushing using heuristics.Stéphane Marchesin2011-07-061-0/+10
|
* scons: Expose pkg-config in a simpler manner.José Fonseca2011-06-301-1/+1
|
* i915g: implement fence signallingDaniel Vetter2011-06-111-2/+6
| | | | | | v2: Incorporated feedback from Jakob Bornecrantz. Signed-off-by: Daniel Vetter <[email protected]>
* i915g: add const qualifier to silence warningBrian Paul2011-05-031-1/+1
|
* i915g: Fix build.Vinson Lee2011-03-281-3/+6
| | | | | | Fix build failures introduced with commit 0fbb64a52931ba5871aa2c5eb01b81d391f678d1. Reviewed-by: Jakob Bornecrantz <[email protected]>
* i915g: use drm ioctl to get pci devidDaniel Vetter2011-03-281-18/+8
| | | | Signed-off-by: Daniel Vetter <[email protected]>
* i915g: kill relocs accoutingDaniel Vetter2011-03-012-6/+0
| | | | | | | No one ever cared. libdrm does dynamic resizing of its reloc-table, anyway. Signed-off-by: Daniel Vetter <[email protected]>
* i915g/winsys: buffer validation supportDaniel Vetter2011-02-272-0/+30
| | | | | | | v2: Add the batch bo to the libdrm validation lost, for otherwise libdrm won't take previously used buffers into account. Signed-off-by: Daniel Vetter <[email protected]>
* i915g: add raw batchbuffer dumping in drm winsysDaniel Vetter2011-02-273-0/+11
| | | | | | | | | These files can be decoded with intel_dump_decode from the intel-gpu-tools available at: http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/ Signed-off-by: Daniel Vetter <[email protected]>
* i915g: Use the same debug env vars in drm and sw winsysJakob Bornecrantz2011-02-261-1/+1
|
* i915g: Use unchecked writes in sw winsys batchbufferJakob Bornecrantz2011-02-261-3/+3
|
* i915g: Use dump function in sw winsysJakob Bornecrantz2011-02-241-7/+2
|
* i915g: add some throttlingDaniel Vetter2011-02-211-0/+9
| | | | | | Intel classic drivers switched to this, too, so it must be good. Signed-off-by: Daniel Vetter <[email protected]>
* i915g: s/bool/boolean/ style-fixup in winsysDaniel Vetter2011-02-212-2/+2
| | | | Signed-off-by: Daniel Vetter <[email protected]>
* i915g: Fix warningJakob Bornecrantz2011-02-211-1/+0
|
* i915g: s/__func__/__FUNCTION__/Vinson Lee2011-02-201-1/+1
|
* i915g: kill remnants of mmapped batchbuffer supportDaniel Vetter2011-02-211-12/+0
| | | | | | We're using bo_subdata. Signed-off-by: Daniel Vetter <[email protected]>
* i915g: Fix void ptr arithJakob Bornecrantz2011-02-211-1/+1
|
* i915g: Fix closure of full batch buffersChris Wilson2010-12-021-59/+12
| | | | | | | | Signed-off-by: Chris Wilson <[email protected]> [danvet: incorporate comments by Dr_Jakob] Signed-off-by: Daniel Vetter <[email protected]> Reviewed-by: Jakob Bornecrantz <[email protected]> Signed-off-by: Jakob Bornecrantz <[email protected]>
* i915g: return tiling in iws->buffer_from_handleDaniel Vetter2010-12-021-2/+4
| | | | | | | | | | This is needed to properly implement tiling flags. And the gem implemention fo buffer_from_handle already calls get_tiling, so it's for free. Signed-off-by: Daniel Vetter <[email protected]> Reviewed-by: Jakob Bornecrantz <[email protected]> Signed-off-by: Jakob Bornecrantz <[email protected]>
* i915g: prepare winsys/batchbuffer for execbuf2Daniel Vetter2010-12-023-17/+25
| | | | | | | | Wire up a fenced parameter, switch all relocations to _FENCED Signed-off-by: Daniel Vetter <[email protected]> Reviewed-by: Jakob Bornecrantz <[email protected]> Signed-off-by: Jakob Bornecrantz <[email protected]>
* i915g: switch to tiled allocations, kill set_fenceDaniel Vetter2010-12-022-37/+0
| | | | | | | | | This way relaxed fencing is handled by libdrm. And buffers _can't_ ever change their tiling. Signed-off-by: Daniel Vetter <[email protected]> Reviewed-by: Jakob Bornecrantz <[email protected]> Signed-off-by: Jakob Bornecrantz <[email protected]>
* i915g: add winsys function to create tiled buffersDaniel Vetter2010-12-023-14/+88
| | | | | | | | | | | | | | Different kernels have different restrictions for tiled buffers. Hence use the libdrm abstraction to calculate the necessary stride and height alignment requirements. Not yet used. v2: Incorporate review comments from Jakob Bornecrantz Signed-off-by: Daniel Vetter <[email protected]> Reviewed-by: Jakob Bornecrantz <[email protected]> Signed-off-by: Jakob Bornecrantz <[email protected]>
* i915g: drop alignment parameter from iws->buffer_createDaniel Vetter2010-12-023-17/+3
| | | | | | | | | | | | It's unnecessary. The kernel gem ignores it totally and we can't run on the old userspace fake bo manager due to lack of dri2. Also drop the redundant name string from the sw winsys as suggested by Jakob Bornecrantz Signed-off-by: Daniel Vetter <[email protected]> Reviewed-by: Jakob Bornecrantz <[email protected]> Signed-off-by: Jakob Bornecrantz <[email protected]>
* i915g: kill idws->poolDaniel Vetter2010-11-214-14/+7
| | | | | | | | | The drm winsys only ever handles one gem memory manager. Rip out the unnecessary complication. Reviewed-by: Jakob Bornecrantz <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Signed-off-by: Jakob Bornecrantz <[email protected]>
* i915g: kill buf->map_gttDaniel Vetter2010-11-212-15/+2
| | | | | | | | | Not using the gtt is considered harmful for performance. And for partial uploads there's always drm_intel_bo_subdata. Reviewed-by: Jakob Bornecrantz <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Signed-off-by: Jakob Bornecrantz <[email protected]>
* i915g: Rename winsys debug optionsJakob Bornecrantz2010-07-221-2/+2
|
* i915g: Add flag to not send commands to hwJakob Bornecrantz2010-07-043-1/+6
|
* i915g: If the kernel reject the batchbuffer print it then assertJakob Bornecrantz2010-07-041-13/+18
|
* i915g: Move bootstrap code to targetsJakob Bornecrantz2010-06-067-29/+28
|
* i915g: Rename winsys c file.Vinson Lee2010-06-041-1/+1
| | | | | This was missed in commit e7f0f6bb72c63fd6e6ddcb7a815be68682f1764c. Fixes i915g SCons build.
* i915g: Rename winsys c fileJakob Bornecrantz2010-05-292-1/+1
|
* i915g: Move pci id to winsys structJakob Bornecrantz2010-05-294-8/+4
|
* drm_api: Remove type argument from create screen callbackJakob Bornecrantz2010-05-251-11/+1
| | | | | With the removal of DRI1 support there where no use of this argument, some drivers didn't even properly check it.
* gallium: s/free/FREE/ and same for friends.José Fonseca2010-04-231-1/+1
| | | | Based on Stephen Johnson's feedback.
* gallium: Fix copy typoJakob Bornecrantz2010-04-201-1/+1
|
* i915g: Minor clean up of winsysJakob Bornecrantz2010-04-201-9/+3
|
* i915g: Remove unnecessary headers.Vinson Lee2010-04-171-3/+0
|
* i915g: Add a software only debuging winsysJakob Bornecrantz2010-04-177-0/+478
|
* i915g: Fix winsys SCons build.Vinson Lee2010-04-131-0/+2
|