summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-03-02drm: drop Linux < 2.6.15 supportPekka Paalanen5-142/+2
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-03-02drm: drop Linux < 2.6.12 supportPekka Paalanen4-53/+1
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-03-02R6xx/R7xx: don't pad ring for IB age submissionAlex Deucher1-7/+1
This fixes studdering on HD video playpack, but I don't think it's the root cause. This need more investigation, maybe a larger ring for r6xx/r7xx?
2009-03-02drm: drop Linux < 2.6.10 supportPekka Paalanen6-26/+5
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-03-02drm: drop Linux <= 2.6.8 supportPekka Paalanen1-18/+0
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-03-01drm: drm_bo_mmap_locked() is static.Pekka Paalanen1-2/+1
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-02-28drm, ati: fix printf format warningsPekka Paalanen2-4/+4
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-02-28drm: build fix for Linux drm_vblank_cleanup()Pekka Paalanen1-0/+1
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 Noland1-1/+5
2009-02-27Move vblank_init to driver load time.Robert Noland20-25/+58
2009-02-27intel: Update reloc_tree_size of the first buffer when we count the tree size.Eric Anholt1-1/+14
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 Noland3-8/+7
This was somehow hit with r600 demo. Submitted by: Jung-uk Kim <jkim@FreeBSD.org>
2009-02-25R6xx/R7xx: fix AGP on 2.6.29Alex Deucher1-3/+3
2009-02-25i915: Backport jbarnes gm45 vblank counter patch.Robert Noland5-1/+25
2009-02-25drm compat: fix euid for >=2.6.28Pekka Paalanen2-1/+7
drm_fops.c reads the current process' EUID directly from task_struct. Apparently starting in 2.6.28-rc4 this fails to build. In Linus' tree, commit b6dff3ec5e116e3af6f537d4caedcad6b9e5082a "CRED: Separate task security context from task_struct" moves the euid field from task_struct to another struct. Earlier commit 9e2b2dc4133f65272a6d3c5dcb2ce63f8a87cae9 "CRED: Introduce credential access wrappers" implements the wrapper macros to access e.g. euid. This is in 2.6.27-rc4, and this contains the definition of current_euid() that will be used in the DRM compatibility header for kernels before 2.6.27. That commit also creates <linux/cred.h>, which contains the upstream definition of current_euid(). drm_fops.c is fixed to use current_euid(), and drm_compat.h will offer the compatibility definition for kernels <2.6.27. Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-02-25RS600: cleanup page table properlyAlex Deucher3-3/+9
2009-02-25RS600: fix gart setupAlex Deucher2-28/+34
2009-02-25r6xx/r7xx: re-init vm regs on resumeAlex Deucher1-4/+7
should fix resume
2009-02-24intel: Don't copy dirty data out when freeing a BO in the fake bufmgr.Eric Anholt1-7/+12
2009-02-24FreeBSD: Drop the Giant lock.Robert Noland1-1/+1
2009-02-24FreeBSD: Turn on msiRobert Noland3-35/+78
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 Noland1-9/+23
local instance.
2009-02-24i915: A few whitespace cleanups.Robert Noland1-6/+6
2009-02-24linux: Add msi_enabled to the drm_device so the build should be happy.Robert Noland1-0/+1
2009-02-24radeon: Prepare radeon for msi support.Robert Noland1-0/+28
2009-02-24i915: This was part of a sync to the intel driver at some pointRobert Noland7-2277/+1908
-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øgsberg1-0/+1
Oops. Disting is hard.
2009-02-24nouveau: Also dist nouveau_private.h.Kristian Høgsberg1-1/+2
2009-02-24RS600: fix MC addr maskAlex Deucher1-1/+1
noticed by osiris on IRC
2009-02-24FreeBSD: Rip out the locked task support now that i915 no longer uses it.Robert Noland4-64/+0
2009-02-23i915: Rip out the use of vblank_swapRobert Noland3-433/+14
2009-02-23FreeBSD: There is no compelling reason to hold the lock here.Robert Noland1-2/+0
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 Noland1-2/+2
2009-02-23FreeBSD: Set MAP_NOSYNC on mmaps.Robert Noland1-2/+2
There is no reason to gratuitously sync these maps to swap.
2009-02-23Add libdrm_intel.pc by popular demand.libdrm-2.4.5Eric Anholt4-3/+16
2009-02-23Fix DRM_CAS() on Alpha. (#16549)Ivan Kokshaysky1-23/+25
2009-02-23modetest: Print names of properties.Kristian Høgsberg1-2/+18
2009-02-23radeon: fix logic errorAlex Deucher2-2/+2
2009-02-23RS600: add initial support (untested)Alex Deucher4-7/+186
The RS600 gart setup is more like R6xx/R7xx than older IGP chips. If you have an RS600, please test!
2009-02-23FreeBSD: Finish fixing up the r6/7xx build on FreeBSD.Robert Noland4-8/+14
Slightly modified version of a patch provided by vehemens.
2009-02-22Fix fix distcheck for optional nouveau stuff.Pekka Paalanen1-1/+1
Tylo. Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-02-21Fix distcheck for optional nouveau stuff.Eric Anholt2-5/+6
2009-02-21Bump version to 2.4.5 for new API additions.Eric Anholt1-1/+1
2009-02-21intel: Add a new bufmgr alloc function to get BOs ready for rendering to.Eric Anholt6-25/+80
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 Skeggs1-0/+1
2009-02-20libdrm/nouveau: fix dma debuggingBen Skeggs1-0/+1
2009-02-19radeon: make radeon_do_release() r6xx/r7xx safeAlex Deucher3-15/+26
2009-02-19R6xx/R7xx: pad VB age submission to 8 dwordsAlex Deucher1-11/+8
also switch to standard VB age check
2009-02-18R6xx/R7xx: make sure to call radeon_freelist_reset() in engine_reset()Alex Deucher1-2/+11
fixes VT switch
2009-02-18nouveau: support backlight only when kernel doesPekka Paalanen1-1/+16
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>