Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-05-10 | Use C99 versions of __FUNCTION__ & __volatile__ when not building with gcc | Alan Coopersmith | |
2009-05-09 | Delete extra libdrm_lists.h line after libdrm_la_SOURCES in libdrm/Makefile.am | Alan Coopersmith | |
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> | |||
2009-05-07 | nouveau: backlight compat fix | Stuart Bennett | |
Avoid failure to build on old kernels with CONFIG_BACKLIGHT_CLASS_DEVICE set | |||
2009-05-07 | nouveau: fix ppc for swab changes in Linux 2.6.29 | Danny Tholen | |
2009-05-01 | libdrm/intel: assert that clients are using bo refcounting correctly | Keith Packard | |
Add assertions to drm_intel_gem_bo_reference, drm_intel_gem_bo_reference_locked and drm_intel_gem_bo_unreference_locked that the object has not been freed (refcount > 0). Mistakes in refcounting lead to attempts to insert a bo into a free list more than once which causes application failure as empty free lists are dereferenced as buffer objects. Signed-off-by: Keith Packard <keithp@keithp.com> | |||
2009-04-27 | intel: NULL fake bo block when freeing in evict_all | Jesse Barnes | |
Fixes assertion failures on later use of the object. | |||
2009-04-22 | libdrm/mode: align subpixel results | Dave Airlie | |
2009-04-17 | nouveau: write posting got lost somewhere, bring it back | Ben Skeggs | |
2009-04-15 | nouveau: store bo handle in public struct in bo_ref_handle | Ben Skeggs | |
2009-04-10 | Bump version to 2.4.9 | Jesse Barnes | |
Who needs 2.4.8 anyway? | |||
2009-04-10 | Bump version to 2.4.8 | Jesse Barnes | |
2009-04-10 | Revert "libdrm: speed up connector & mode fetching" | Jesse Barnes | |
This reverts commit cd5c66c659168cbe2e3229ebf8be79f764ed0ee1. It broke too many kernel assumptions about the double ioctl (connector status, mode fetching, etc.) | |||
2009-04-09 | Bump version to 2.4.7 | Kristian Høgsberg | |
2009-04-09 | test: Avoid recursive dependency in makefile | Kristian Høgsberg | |
2009-04-09 | test: Makefile.am grammar nazi | Kristian Høgsberg | |
2009-04-07 | drm: fix test makefile | Dave Airlie | |
no idea if this is correct but it works so meh | |||
2009-04-06 | Skip tests that require root | Kristian Høgsberg | |
This lets us do make distcheck as non-root. | |||
2009-04-06 | XFAIL auth and lock test cases | Kristian Høgsberg | |
They're writing to the read end of a pipe and failing. | |||
2009-04-06 | Use libudev in test case to only run gem tests for intel devices. | Kristian Høgsberg | |
2009-03-31 | Move drm_vblank_cleanup() after lastclose. | Robert Noland | |
This may prevent a possible panic on shutdown. | |||
2009-03-30 | libdrm: speed up connector & mode fetching | Jesse Barnes | |
This patch speeds up drmModeGetConnector by pre-allocating mode & property info space before calling into the kernel. In many cases this pre-allocation will be sufficient to hold the returned values (it's easy enough to tweak if the common case becomes larger), which means we don't have to make the second call, which saves a lot of time. Acked-by: Jakob Bornecrantz <wallbraker@gmail.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> | |||
2009-03-30 | nouveau: nForce 1/2 IGP memory sanity check from DDX | Stuart Bennett | |
2009-03-30 | libdrm: bump version to 2.4.6 | Jesse Barnes | |
This version includes GTT unmap support for the Intel bufmgr. | |||
2009-03-26 | libdrm/intel: support GTT maps correctly | Jesse Barnes | |
libdrm has some support for GTT mapping already, but there are bugs with it (no surprise since it hasn't been used much). In fixing 20803, I found that sharing bo_gem->virtual was a bad idea, since a previously mapped object might not end up getting GTT mapped, leading to corruption. So this patch splits the fields according to use, taking care to unmap both at free time (but preserving the map caching). There's still a risk we might run out of mappings (there's a sysctl tunable for max number of mappings per process, defaulted to 64k or so it looks like) but at least GTT maps will work with these changes (and some others for fixing PAT breakage in the kernel). Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> | |||
2009-03-25 | nouveau: plug drm fifo ioremap leak (#14941) | Stuart Bennett | |
2009-03-25 | nouveau: add linux compat defines for PCI config access, use them for nvidia ↵ | Stuart Bennett | |
IGPs | |||
2009-03-25 | nouveau: use PFB_CSTATUS naming from ddx (reg introduced with nv10) | Stuart Bennett | |
NV04 had a PFB_FIFO_DATA at the same address, which we don't use, so remove it to reduce confusion | |||
2009-03-25 | libdrm/nouveau: fix typo in nouveau_device_close() | Ben Skeggs | |
2009-03-20 | libdrm/nouveau: ask the kernel for vram/gart aperture sizes | Ben Skeggs | |
2009-03-20 | libdrm/nouveau: remove unneccesary null ptr checks | Ben Skeggs | |
2009-03-20 | libdrm/nouveau: incr refcount on ref fence before decr on old fence | Ben Skeggs | |
2009-03-20 | libdrm/nouveau: unref fences when deleting bo | Maarten Maathuis | |
- This was causing a significant memory leak. | |||
2009-03-18 | libdrm/nouveau: implement bo_handle_get for !mm_enabled | Ben Skeggs | |
bo_handle_ref on !mm_enabled treats handle as an offset, make bo_handle_get do the same rather than failing. | |||
2009-03-16 | libdrm_nouveau: The handle that is passed to mmap needs to be drm_handle_t | Robert Noland | |
drm_handle_t is defined to be a u32 on linux and a u64 on everything else. This addresses an issue on FreeBSD amd64 where the map offsets may be greater than 32bits. When the handle is cast to 32bit, mmap cannot match the requested map and causes X to crash. This should be a NOOP on linux since drm_handle_t is always 32bit. Signed-off-by: Robert Noland <rnoland@2hip.net> | |||
2009-03-16 | FreeBSD: Set up the nouveau build infrastructure | Robert Noland | |
disabled by default until the rest of the patches are in. | |||
2009-03-16 | FreeBSD: Add support for matching solely on vedor id. | Robert Noland | |
This also adds that ability to set device name from VPD, but that doesn't seem to be working... | |||
2009-03-16 | FreeBSD: Improve the debug output of drm_mmap(). | Robert Noland | |
2009-03-16 | FreeBSD: Add list_for_each_prev() to our bank of compat functions. | Robert Noland | |
2009-03-16 | FreeBSD: Don't set the PZERO flag to mtx_sleep. | Robert Noland | |
We also don't support anything old enough to need tsleep. | |||
2009-03-16 | FreeBSD: use flsl() instead of ffsl(). | Robert Noland | |
I noticed that we were computing drm_order differently than linux. | |||
2009-03-16 | FreeBSD: Minor code cleanup. | Robert Noland | |
2009-03-16 | FreeBSD: Increase MAX_PCI_RESOURCE | Robert Noland | |
We can have more than 3 BARs to access. | |||
2009-03-16 | FreeBSD: Cast map handles to vm_offset_t | Robert Noland | |
This prevents some warnings with nouveau. | |||
2009-03-09 | FreeBSD: Fix the printing of maps on amd64/i386 to be consistent | Robert Noland | |
2009-03-09 | FreeBSD: Fix up the flags for bus_dmamem here as well. | Robert Noland | |
2009-03-08 | FreeBSD: Fix up the flags to bus_dmamem_* | Robert Noland | |
Allow it to sleep waiting for resources during the allocation stage. Only use BUS_DMA_NOWAIT when loading the map. | |||
2009-03-08 | FreeBSD use kdev for kernel device name | vehemens | |
Signed-off-by: Robert Noland <rnoland@2hip.net> | |||
2009-03-06 | drm/nouveau: make portion of vram as reserved for PRAMIN on all chipsets | Ben Skeggs | |
NV04 was completely busted. Push buffers were getting allocated at the end of VRAM, overwriting PRAMIN. So, it turns out PRAMIN is in VRAM on all chips. Question answered! | |||
2009-03-05 | FreeBSD: Rework DRM_[DEBUG,ERROR,INFO] macros a bit. | Robert Noland | |
2009-03-05 | FreeBSD: Garbage collect entries from pcireg.h since we now include it. | Robert Noland | |