summaryrefslogtreecommitdiff
path: root/shared-core
AgeCommit message (Collapse)Author
2008-11-19Merge branch 'modesetting-gem' of ssh://git.freedesktop.org/git/mesa/drm ↵Jesse Barnes
into modesetting-gem
2008-11-16radeon: protect cs ioctl atomic part with a mutexJerome Glisse
A small subset of CS need to be atomic (relocation+IB commit to ring) right now, because of the way relocation are handled, we need to protect the whole ioctl.
2008-11-13Merge branch 'master' into modesetting-gemJesse Barnes
Conflicts: libdrm/Makefile.am libdrm/intel/intel_bufmgr.h libdrm/intel/intel_bufmgr_fake.c libdrm/intel/intel_bufmgr_gem.c shared-core/drm.h shared-core/i915_dma.c shared-core/i915_irq.c shared-core/radeon_cp.c shared-core/radeon_drv.h
2008-11-13libdrm: add support for i915 GTT mapping ioctlJesse Barnes
Add a drm_intel_gem_bo_map_gtt() function for mapping a buffer object through the aperture rather than directly to its CPU cacheable memory.
2008-11-12mode: Minor reodering and renamingJakob Bornecrantz
2008-11-12mode: Reorder the ioctls and numberingJakob Bornecrantz
This is to fill in the gaps left by the removal of the hotplug ioctls. And they also look better :)
2008-11-12mode: Remove hotplug support from ioctl interfaceJakob Bornecrantz
2008-11-12mode: Unify types for ids and stringsJakob Bornecrantz
2008-11-10radeon: add gart useable size to report to userspaceDave Airlie
2008-11-10radeon: fix ring tail overflow issue since alignmentDave Airlie
2008-11-10radeon: disable HDP read cache for nowDave Airlie
2008-11-10radeon: force all ring writes to 16-dword alignment.Dave Airlie
2008-11-09radeon: add more packet3 relocations handlingJerome Glisse
2008-11-03radeon: make build againDave Airlie
2008-11-03radeon: add mtrr support for VRAM aperture.Dave Airlie
2008-11-03radeon: disable AGP for certain chips if not specified until we figure it outDave Airlie
2008-11-03radeon: disable debugging messageDave Airlie
2008-11-03radeon: commit ring after emitting the buffer discardsDave Airlie
2008-11-03radeon: setup isync cntl properlyDave Airlie
2008-11-03radeon: overhaul ring interactionsDave Airlie
emit in 16-dword blocks, emit irqs at same time as everything else
2008-11-03radeon: add proc debugging for interrupts/ringDave Airlie
2008-11-03radeon: only enable dynclks if asked forDave Airlie
2008-11-03radeon: add wait rendering APIDave Airlie
2008-11-03radeon: rs480 fixes for bus masteringDave Airlie
2008-11-03radeon: remove unused gem indirect ioctlDave Airlie
2008-11-03radeon: CS2 make it all work with new relocs styleDave Airlie
2008-11-03radeon: don't copy to user the cs idsDave Airlie
2008-11-03radeon: make new CS2 command submission interface port older interface to thisDave Airlie
2008-11-03radeon: release agp on module unloadDave Airlie
2008-11-03radeon: add r423 bits to modesettingDave Airlie
2008-11-03radeon: pull bus master enable into its own functionDave Airlie
2008-11-03radeon: update proper chip familyDave Airlie
2008-11-03radeon: fixup scratch register interactions properlyDave Airlie
2008-11-03radeon: make writeback work againDave Airlie
2008-11-03radeon: fix some warningsDave Airlie
2008-11-03radeon: fix small typo in agp codeDave Airlie
2008-11-03radeon: don't enable dynclks on rs48xDave Airlie
2008-11-03radeon: export radeon_modesetDave Airlie
2008-11-03radeon: fix unused agp functionalityDave Airlie
2008-11-03radeon: add some more r100 support to test AGPDave Airlie
2008-10-29libdrm: fix ABI change in drm_mode_get_encoderJesse Barnes
The encoder_type field should be at the top to match the kernel.
2008-10-28intel: Add dri_bufmgr_check_aperture support for bufmgr_gem.Eric Anholt
This relies on a new kernel ioctl to get the available aperture size. In order to provide reasonable performance from dri_bufmgr_check_aperture, we now require that once a buffer has been used as the target of a relocation, it gets no further relocations added to it. This cuts the cost of check_aperture from 10% to 1% in the 3D driver with no code changes, but slightly complicates our plans for the 2D driver.
2008-10-28nv50: move context-related tables a separate header fileBen Skeggs
This turns the various nvXX_graph_init_ctxvals() methods into tables, and speeds up compliation of nv50_graph.c quite a bit. This has bothered me for a while, but others are complaining now so it's time to fix it :)
2008-10-27i915: Since FreeBSD doesn't have gem support yet, don't advertise it.Robert Noland
This allows us to not crash X when using newer Intel ddx drivers.
2008-10-27radeon: fix error in busmaster enable logicAlex Deucher
- logic was wrong. rs400/rs480 should clear the RADEON_BUS_MASTER_DIS bit - should fix kernel bug 11798
2008-10-27radeon: fix some fallout from the busmaster disable cleanupAlex Deucher
rs400 is just like rs480. I mixed up the internal chipset names for rs600 and rs400.
2008-10-27drm: make handles 32-bits again not sure why they changedDave Airlie
2008-10-25drm/i915: fix ioremap of a user address for non-root (CVE-2008-3831)Matthias Hopf
Olaf Kirch noticed that the i915_set_status_page() function of the i915 kernel driver calls ioremap with an address offset that is supplied by userspace via ioctl. The function zeroes the mapped memory via memset and tells the hardware about the address. Turns out that access to that ioctl is not restricted to root so users could probably exploit that to do nasty things. We haven't tried to write actual exploit code though. It only affects the Intel G33 series and newer.
2008-10-24mode: Try to settle on a standard for struct fieldsJakob Bornecrantz
2008-10-24mode: Indent definesJakob Bornecrantz