- Dec 23, 2008
-
-
Emma Anholt authored
The values are really going to continue meaning pipe, not plane, and that's what they're called in the kernel copy of the header. Userland hasn't ever made the switch to pipe!=plane, since userland checks are based on DRM version, which is still stuck at 1.6. However, Mesa did start using plane[AB] names, so provide a compat define.
-
Emma Anholt authored
The code's in the linux kernel.
-
Emma Anholt authored
-
- Dec 18, 2008
-
-
Kristian Høgsberg authored
-
- Dec 17, 2008
-
-
Emma Anholt authored
-
Remember tiling mode values provided by appplications, and record tiling mode when creating a buffer from another application. This eliminates any need to ask the kernel for tiling values and also makes reused buffers get the right tiling. Signed-off-by: Keith Packard <keithp@keithp.com>
-
Signed-off-by: Keith Packard <keithp@keithp.com>
-
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>
-
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>
-
Jesse Barnes authored
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.
-
- Dec 15, 2008
-
-
Emma Anholt authored
-
Emma Anholt authored
We wouldn't want some remaining 3D rendering to scribble on our batchbuffer.
-
Emma Anholt authored
-
- Dec 10, 2008
-
-
Jesse Barnes authored
This reverts commit 6656db10. We really just want the libdrm and ioctl bits, not all the driver stuff.
-
Jesse Barnes authored
-
Jesse Barnes authored
-
- Dec 09, 2008
-
-
Jesse Barnes authored
-
- Dec 08, 2008
-
-
Dave Airlie authored
we already have a 2.3.x version out there
-
- Dec 03, 2008
-
-
Jesse Barnes authored
-
Jesse Barnes authored
-
- Dec 02, 2008
-
-
Emma Anholt authored
-
Emma Anholt authored
This function can also serve the role that the bo_wait_rendering did, when write_enable is unset.
-
- Nov 23, 2008
-
-
Ben Skeggs authored
-
- Nov 21, 2008
-
-
Ben Skeggs authored
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.
-
- Nov 20, 2008
-
-
Jesse Barnes authored
-
Jesse Barnes authored
Since the TTM type isn't upstream yet, we need to make sure libdrm uses what the kernel uses, which is _DRM_GEM = 6.
-
Jesse Barnes authored
GEM is upstream, but TTM isn't, so _DRM_GEM needs to be 6, not 7.
-
- Nov 19, 2008
-
-
Stephane Marchesin authored
-
-
Jesse Barnes authored
don't take the lock twice
-
Jesse Barnes authored
-
- Nov 17, 2008
-
-
Jerome Glisse authored
This reverts commit f46aba43.
-
- Nov 16, 2008
-
-
Jerome Glisse authored
There seems to be an issue if we don't protect idr_pre with the spinlock we use for idr operations.
-
Jerome Glisse authored
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.
-
Jerome Glisse authored
-
- Nov 15, 2008
-
-
Jerome Glisse authored
-
Dave Airlie authored
-
- Nov 14, 2008
-
-
Jerome Glisse authored
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.
-
Jerome Glisse authored
To keep record of bo activities and print them when necessary, should help in tracking unbalanced ref/unref calls.
-
- Nov 13, 2008
-
-
Jesse Barnes authored
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
-