summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-03-08FreeBSD use kdev for kernel device namevehemens
Signed-off-by: Robert Noland <rnoland@2hip.net>
2009-03-06drm/nouveau: make portion of vram as reserved for PRAMIN on all chipsetsBen 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-05FreeBSD: Rework DRM_[DEBUG,ERROR,INFO] macros a bit.Robert Noland
2009-03-05FreeBSD: Garbage collect entries from pcireg.h since we now include it.Robert Noland
2009-03-05FreeBSD: 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-05FreeBSD: rework drm_scatter.c which allocates scatter / gather pages for use byRobert 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-03drm: drop Linux < 2.6.21 supportPekka 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-03drm, via: drop Linux < 2.6.20 supportPekka Paalanen
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-03-02drm: drop Linux < 2.6.19 supportPekka Paalanen
This also means dropping the DRM_ODD_MM_COMPAT case. Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-03-02drm: drop Linux < 2.6.18 supportPekka Paalanen
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-03-02drm: drop Linux < 2.6.16 supportPekka Paalanen
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-03-02drm: drop Linux < 2.6.15 supportPekka Paalanen
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-03-02drm: drop Linux < 2.6.12 supportPekka Paalanen
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-03-02drm: drop Linux < 2.6.10 supportPekka Paalanen
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-03-02drm: drop Linux <= 2.6.8 supportPekka Paalanen
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-03-01drm: drm_bo_mmap_locked() is static.Pekka Paalanen
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-02-28drm, ati: fix printf format warningsPekka Paalanen
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-02-28drm: 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-27FreeBSD: Introduce a kernel tuneable to disable msi at boot time.Robert Noland
2009-02-27Move vblank_init to driver load time.Robert Noland
2009-02-27intel: 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-26FreeBSD: 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-25i915: Backport jbarnes gm45 vblank counter patch.Robert Noland
2009-02-24intel: Don't copy dirty data out when freeing a BO in the fake bufmgr.Eric Anholt
2009-02-24FreeBSD: Drop the Giant lock.Robert Noland
2009-02-24FreeBSD: Turn on msiRobert Noland
There is a blacklist for devices that advertise the capability, but don't work properly.
2009-02-24FreeBSD: Add some vblank related debugging and replace DRM_WAIT_ON with a ↵Robert Noland
local instance.
2009-02-24i915: A few whitespace cleanups.Robert Noland
2009-02-24linux: Add msi_enabled to the drm_device so the build should be happy.Robert Noland
2009-02-24radeon: Prepare radeon for msi support.Robert Noland
2009-02-24i915: This was part of a sync to the intel driver at some pointRobert Noland
-Remove the old TTM interface -Move register definitions to i915_reg.h -Rework the irq handler
2009-02-24nouveau: Dist nouvea_dma.h as well.Kristian Høgsberg
Oops. Disting is hard.
2009-02-24nouveau: Also dist nouveau_private.h.Kristian Høgsberg
2009-02-24FreeBSD: Rip out the locked task support now that i915 no longer uses it.Robert Noland
2009-02-23i915: Rip out the use of vblank_swapRobert Noland
2009-02-23FreeBSD: There is no compelling reason to hold the lock here.Robert Noland
When I was lock profiling, this was high up on the list and I see no reason to do it.
2009-02-23FreeBSD: Don't set PZERO in mtx_sleep.Robert Noland
2009-02-23FreeBSD: Set MAP_NOSYNC on mmaps.Robert Noland
There is no reason to gratuitously sync these maps to swap.
2009-02-23Add libdrm_intel.pc by popular demand.Eric Anholt
2009-02-23Fix DRM_CAS() on Alpha. (#16549)Ivan Kokshaysky
2009-02-23modetest: Print names of properties.Kristian Høgsberg
2009-02-22Fix fix distcheck for optional nouveau stuff.Pekka Paalanen
Tylo. Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-02-21Fix distcheck for optional nouveau stuff.Eric Anholt
2009-02-21Bump version to 2.4.5 for new API additions.Eric Anholt
2009-02-21intel: Add a new bufmgr alloc function to get BOs ready for rendering to.Eric Anholt
This avoids using the oldest BO in the BO cache and waiting for it to be idle before we turn around and render to it with the GPU. Thanks to Chris Wilson for pointing out how silly we were being.
2009-02-20libdrm/nouveau: free drmVersion after we're done with itBen Skeggs
2009-02-20libdrm/nouveau: fix dma debuggingBen Skeggs
2009-02-18nouveau: support backlight only when kernel doesPekka Paalanen
Loading nouveau.ko would fail with unknown symbols, if the backlight class device support is not provided in the kernel. Let's make the backlight support dependant on the kernel configuration. This is a bit ugly, the proper way would be to check for the config in Makefile.kernel whether to build nouveau_backlight.o at all, and if not, nouveau_drv.h should provide the stubs. Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-02-18nv40, nv50: fix backlight build for <2.6.29 kernelsMatthew Garrett
Signed-off-by: Matthew Garrett <mjg59@srcf.ucam.org> Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-02-18nouveau: Add in-kernel backlight control supportMatthew Garrett
Several nvidia-based systems don't support backlight control via the standard ACPI control mechanisms. Instead, it's necessary for the driver to modify the backlight control registers directly. This patch adds support for determining whether the registers appear to be in use, and if so registers a kernel backlight device to control them. The backlight can then be controlled via existing userspace tools. Signed-off-by: Matthew Garrett <mjg@redhat.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>