Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2009-03-05 | FreeBSD: We only want drm to ever attach to the primary pci device. | Robert Noland | |
Intel 855 chips present the same pci id for both heads. This prevents us from attaching to the dummy second head. All other chips that I am aware of either only present a single pci id, or different ids for each head so that we only match on the correct head. | |||
2009-03-05 | FreeBSD: rework drm_scatter.c which allocates scatter / gather pages for use by | Robert Noland | |
ati pci gart to use bus_dma to handle the allocations. This fixes a garbled screen issue on at least some radeons (X1400 tested). | |||
2009-03-03 | drm: drop Linux < 2.6.21 support | Pekka Paalanen | |
This also means, that DRM_FULL_MM_COMPAT is always defined, so it is dropped, too. Signed-off-by: Pekka Paalanen <pq@iki.fi> | |||
2009-03-03 | drm, via: drop Linux < 2.6.20 support | Pekka Paalanen | |
Signed-off-by: Pekka Paalanen <pq@iki.fi> | |||
2009-03-02 | drm: drop Linux < 2.6.19 support | Pekka Paalanen | |
This also means dropping the DRM_ODD_MM_COMPAT case. Signed-off-by: Pekka Paalanen <pq@iki.fi> | |||
2009-03-02 | drm: drop Linux < 2.6.18 support | Pekka Paalanen | |
Signed-off-by: Pekka Paalanen <pq@iki.fi> | |||
2009-03-02 | drm: drop Linux < 2.6.16 support | Pekka Paalanen | |
Signed-off-by: Pekka Paalanen <pq@iki.fi> | |||
2009-03-02 | drm: drop Linux < 2.6.15 support | Pekka Paalanen | |
Signed-off-by: Pekka Paalanen <pq@iki.fi> | |||
2009-03-02 | drm: drop Linux < 2.6.12 support | Pekka Paalanen | |
Signed-off-by: Pekka Paalanen <pq@iki.fi> | |||
2009-03-02 | drm: drop Linux < 2.6.10 support | Pekka Paalanen | |
Signed-off-by: Pekka Paalanen <pq@iki.fi> | |||
2009-03-02 | drm: drop Linux <= 2.6.8 support | Pekka Paalanen | |
Signed-off-by: Pekka Paalanen <pq@iki.fi> | |||
2009-03-01 | drm: drm_bo_mmap_locked() is static. | Pekka Paalanen | |
Signed-off-by: Pekka Paalanen <pq@iki.fi> | |||
2009-02-28 | drm, ati: fix printf format warnings | Pekka Paalanen | |
Signed-off-by: Pekka Paalanen <pq@iki.fi> | |||
2009-02-28 | drm: build fix for Linux drm_vblank_cleanup() | Pekka Paalanen | |
The commit 957b10695b619d6ed2f1098b00502395d9a3c149, "Move vblank_init to driver load time." forgot to add the function declaration in linux-core/drmP.h. Signed-off-by: Pekka Paalanen <pq@iki.fi> | |||
2009-02-27 | FreeBSD: Introduce a kernel tuneable to disable msi at boot time. | Robert Noland | |
2009-02-27 | Move vblank_init to driver load time. | Robert Noland | |
2009-02-27 | intel: Update reloc_tree_size of the first buffer when we count the tree size. | Eric Anholt | |
This helps avoid the n^2 performance cost of counting tree size when we get a lot of relocations into our batch buffer. rgb10text on keithp's laptop went from 136k glyphs/sec to 234k glyphs/sec. | |||
2009-02-26 | FreeBSD: Fix up some ioctl permissions issues missed many times over. | Robert Noland | |
This was somehow hit with r600 demo. Submitted by: Jung-uk Kim <jkim@FreeBSD.org> | |||
2009-02-25 | i915: Backport jbarnes gm45 vblank counter patch. | Robert Noland | |
2009-02-24 | intel: Don't copy dirty data out when freeing a BO in the fake bufmgr. | Eric Anholt | |
2009-02-24 | FreeBSD: Drop the Giant lock. | Robert Noland | |
2009-02-24 | FreeBSD: Turn on msi | Robert Noland | |
There is a blacklist for devices that advertise the capability, but don't work properly. | |||
2009-02-24 | FreeBSD: Add some vblank related debugging and replace DRM_WAIT_ON with a ↵ | Robert Noland | |
local instance. | |||
2009-02-24 | i915: A few whitespace cleanups. | Robert Noland | |
2009-02-24 | linux: Add msi_enabled to the drm_device so the build should be happy. | Robert Noland | |
2009-02-24 | radeon: Prepare radeon for msi support. | Robert Noland | |
2009-02-24 | i915: This was part of a sync to the intel driver at some point | Robert Noland | |
-Remove the old TTM interface -Move register definitions to i915_reg.h -Rework the irq handler | |||
2009-02-24 | nouveau: Dist nouvea_dma.h as well. | Kristian Høgsberg | |
Oops. Disting is hard. | |||
2009-02-24 | nouveau: Also dist nouveau_private.h. | Kristian Høgsberg | |
2009-02-24 | FreeBSD: Rip out the locked task support now that i915 no longer uses it. | Robert Noland | |
2009-02-23 | i915: Rip out the use of vblank_swap | Robert Noland | |