- Jan 15, 2009
-
-
Emma Anholt authored
-
Emma Anholt authored
-
- Jan 14, 2009
-
-
It's also unused, so worthless.
-
- Jan 12, 2009
-
-
Owain G. Ainsworth authored
It is impossible to replace the original semantics of this call purely in userland, since the fb_id would change. after discussion with Dr_Jakob Signed-Off-By: Owain Ainsworth <oga@openbsd.org> Acked-By: Jakob Bornecrantz <jakob@vmware.com>
-
Ben Skeggs authored
-
- Jan 07, 2009
-
-
Jesse Barnes authored
Should be more portable this way.
-
Jesse Barnes authored
Michel caught a case where we might overwrite a success or other return value with EBUSY, so check the return value before checking for the timeout condition.
-
Jesse Barnes authored
In some cases, vblank interrupts may be disabled or otherwise broken. The kernel has a 3s timeout builtin to handle these cases, but the X server's SIGALM for cursor handling may interrupt vblank wait ioctls, causing libdrm to restart the ioctl, making the kernel's timeout useless. This change tracks time across ioctl restarts and returns EBUSY to the caller if the expected vblank sequence doesn't occur within 1s of the first call. Fixes fdo bz #18041, which is caused by a drmWaitVBlank hanging due to the corresponding pipe getting disabled (thus preventing further events from coming in).
-
- Dec 29, 2008
-
-
Jesse Barnes authored
Accidentally committed it with the mode setting changes.
-
- Dec 23, 2008
-
-
Robert Noland authored
-
Dave Airlie authored
-
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
-
-