Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-12-17 | intel: return error status from drm_intel_gem_bo_map | Keith Packard | |
Applications may actually care if the mapping operation failed, so when it happens, return an error indication. errno is probably trashed by fprintf though. Signed-off-by: Keith Packard <keithp@keithp.com> | |||
2008-12-17 | intel: Dump out memory usage information when the kernel fails to pin | Keith Packard | |
The execbuffer ioctl returns ENOMEM when it fails to pin all of the buffers in the GTT. This is usually caused by the DRM client attempting to use too much memory in a single request. Dumping out the requested and available memory values should help point out failures in the DRM code to catch over commitments of this form. Signed-off-by: Keith Packard <keithp@keithp.com> | |||
2008-12-17 | libdrm: add mode setting files | Jesse Barnes | |
Add mode setting files to libdrm, including xf86drmMode.* and the new drm_mode.h header. Also add a couple of tests to sanity check the kernel interfaces and update code to support them. | |||
2008-12-14 | intel: don't skip set_domain on mapping of shared buffers. | Eric Anholt | |
2008-12-14 | intel: don't let named buffers into the BO cache. | Eric Anholt | |
We wouldn't want some remaining 3D rendering to scribble on our batchbuffer. | |||
2008-12-14 | intel: Remove the mapped flag, which is adequately covered by bo_gem->virtual. | Eric Anholt | |
2008-12-10 | Revert "Merge branch 'modesetting-gem'" | Jesse Barnes | |
This reverts commit 6656db10551bbb8770dd945b6d81d5138521f208. We really just want the libdrm and ioctl bits, not all the driver stuff. | |||
2008-12-10 | Bump version to 2.4.3 to reflect addition of mode setting header | Jesse Barnes | |
2008-12-10 | Update .gitignore with new modetest program | Jesse Barnes | |
2008-12-09 | Merge branch 'modesetting-gem' | Jesse Barnes | |
2008-12-08 | libdrm: bump to 2.4 for lib version | Dave Airlie | |
we already have a 2.3.x version out there | |||
2008-12-03 | Merge branch 'master' into modesetting-gem | Jesse Barnes | |
2008-12-03 | Merge branch 'master' into modesetting-gem | Jesse Barnes | |
2008-12-02 | Bump version to 2.4.2 to signal new libdrm_intel functions. | Eric Anholt | |
2008-12-02 | intel: Add a function for setting (GTT,GTT) domain, for use by UXA. | Eric Anholt | |
This function can also serve the role that the bo_wait_rendering did, when write_enable is unset. | |||
2008-11-23 | nv50: support NV94 chipset | Ben Skeggs | |
2008-11-21 | nv50: update context-related tables for original 8800GTS | Ben Skeggs | |
I either messed up when I pulled these from a mmio-trace last time, or the previous values didn't work on my card. Hopefully it's the former! In any case, at least one of the original NV50 chipsets work now. | |||
2008-11-20 | Merge branch 'master' into modesetting-gem | Jesse Barnes | |
2008-11-20 | DRM: make drm_map_type match upstream kernel | Jesse Barnes | |
Since the TTM type isn't upstream yet, we need to make sure libdrm uses what the kernel uses, which is _DRM_GEM = 6. | |||
2008-11-20 | DRM: make drm_map_type match kernel | Jesse Barnes | |
GEM is upstream, but TTM isn't, so _DRM_GEM needs to be 6, not 7. | |||
2008-11-19 | Unbreak drm build. | Stephane Marchesin | |
2008-11-19 | Merge branch 'modesetting-gem' of ssh://git.freedesktop.org/git/mesa/drm ↵ | Jesse Barnes | |
into modesetting-gem | |||
2008-11-19 | libdrm_intel: fix merge error | Jesse Barnes | |
don't take the lock twice | |||
2008-11-19 | Update modetest | Jesse Barnes | |
2008-11-17 | Revert "gem: protect idr_pre with the spinlock" | Jerome Glisse | |
This reverts commit f46aba43329786c9b2776e82af31d90e1c67eae0. | |||
2008-11-16 | gem: protect idr_pre with the spinlock | Jerome Glisse | |
There seems to be an issue if we don't protect idr_pre with the spinlock we use for idr operations. | |||
2008-11-16 | radeon: protect cs ioctl atomic part with a mutex | Jerome Glisse | |
A small subset of CS need to be atomic (relocation+IB commit to ring) right now, because of the way relocation are handled, we need to protect the whole ioctl. | |||
2008-11-16 | libdrm-radeon: add print callback to cs & small fixes | Jerome Glisse | |
2008-11-15 | libdrm-radeon: unref return current BO ptr to reflect BO destruction | Jerome Glisse | |
2008-11-15 | drm/bo: fix stupid lock imbalance | Dave Airlie | |
2008-11-14 | libdrm-radeon: unreference buffer once cs stream is submited or on cs clean | Jerome Glisse | |
BO are referenced once by reloc to make sure that they not destroyed before we get a chance to flush the cmd stream, so we need to unreference them once in cs submit or cs erase if cs i never submitted so bo can be destructed. | |||
2008-11-14 | libdrm-radeon: new tracker tools | Jerome Glisse | |
To keep record of bo activities and print them when necessary, should help in tracking unbalanced ref/unref calls. | |||
2008-11-13 | Merge branch 'master' into modesetting-gem | Jesse Barnes | |
Conflicts: libdrm/Makefile.am libdrm/intel/intel_bufmgr.h libdrm/intel/intel_bufmgr_fake.c libdrm/intel/intel_bufmgr_gem.c shared-core/drm.h shared-core/i915_dma.c shared-core/i915_irq.c shared-core/radeon_cp.c shared-core/radeon_drv.h | |||
2008-11-13 | libdrm_intel: fix warnings on 64 bit | Jesse Barnes | |
Cast a couple of %llx args to unsigned long long. | |||
2008-11-13 | libdrm: add support for i915 GTT mapping ioctl | Jesse Barnes | |
Add a drm_intel_gem_bo_map_gtt() function for mapping a buffer object through the aperture rather than directly to its CPU cacheable memory. | |||
2008-11-12 | mode: Minor reodering and renaming | Jakob Bornecrantz | |
2008-11-12 | mode: Reorder the ioctls and numbering | Jakob Bornecrantz | |
This is to fill in the gaps left by the removal of the hotplug ioctls. And they also look better :) | |||
2008-11-12 | mode: Unify userspace API to uint_t | Jakob Bornecrantz | |
2008-11-12 | mode: Remove hotplug support from ioctl interface | Jakob Bornecrantz | |
2008-11-12 | mode: Unify types for ids and strings | Jakob Bornecrantz | |
2008-11-12 | radeon+libdrm-radeon: change relocation informations | Jerome Glisse | |
Relocation now consist of the following informations (in this order) : handle buffer object handle identifier start_offset start offset of first data of the buffer object used by the cs end_offset end offset of last data of the buffer object used by the cs read_domain read domain (either VRAM, or GTT as GPU is invalid for CS) write_domain write domain (either VRAM, or GTT as GPU is invalid for CS) flags flags used for further optimization (like discard previous buffer content or forget buffer content after cs which can help in avoiding moving content in or out) | |||
2008-11-10 | Merge branch 'modesetting-gem' of ssh://git.freedesktop.org/git/mesa/drm ↵ | Jerome Glisse | |
into modesetting-gem | |||
2008-11-10 | libdrm-radeon: be verbose on bo failure and cleanup cs a bit | Jerome Glisse | |
2008-11-10 | radeon: add gart useable size to report to userspace | Dave Airlie | |
2008-11-10 | radeon: upgrade atom headers | Dave Airlie | |
2008-11-10 | radeon: fix fence race condition hopefully | Dave Airlie | |
For some reason reading the SCRATCH reg from RAM causes some race to occur. Hopefully fix this. | |||
2008-11-10 | drm/radeon: add dpms connector functions | Dave Airlie | |
2008-11-10 | radeon: avivo cursors are across the full surface. | Dave Airlie | |
fixes cursor on second head | |||
2008-11-10 | modesetting: set the crtc x,y after the mode base change | Dave Airlie | |
2008-11-10 | drm/radeon: add uncached allocator to drm ttm code. | Dave Airlie | |