aboutsummaryrefslogtreecommitdiff
path: root/linux-core
AgeCommit message (Collapse)Author
2009-01-27drm compat: fix euid for >=2.6.28Pekka Paalanen
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-01-19drm: remove drmstat/dristat from linux-core buildDave Airlie
pointed out by pq
2008-12-22intel: Remove linux build of i915 DRM, as it's unmaintained and a user trap.Eric Anholt
The code's in the linux kernel.
2008-12-17libdrm: add mode setting filesJesse Barnes
Add mode setting files to libdrm, including xf86drmMode.* and the new drm_mode.h header. Also add a couple of tests to sanity check the kernel interfaces and update code to support them.
2008-12-10Revert "Merge branch 'modesetting-gem'"Jesse Barnes
This reverts commit 6656db10551bbb8770dd945b6d81d5138521f208. We really just want the libdrm and ioctl bits, not all the driver stuff.
2008-11-19Merge branch 'modesetting-gem' of ssh://git.freedesktop.org/git/mesa/drm ↵Jesse Barnes
into modesetting-gem
2008-11-17Revert "gem: protect idr_pre with the spinlock"Jerome Glisse
This reverts commit f46aba43329786c9b2776e82af31d90e1c67eae0.
2008-11-16gem: protect idr_pre with the spinlockJerome Glisse
There seems to be an issue if we don't protect idr_pre with the spinlock we use for idr operations.
2008-11-15drm/bo: fix stupid lock imbalanceDave Airlie
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-12mode: Minor reodering and renamingJakob Bornecrantz
2008-11-12mode: Remove hotplug support from ioctl interfaceJakob Bornecrantz
2008-11-12radeon+libdrm-radeon: change relocation informationsJerome Glisse
Relocation now consist of the following informations (in this order) : handle buffer object handle identifier start_offset start offset of first data of the buffer object used by the cs end_offset end offset of last data of the buffer object used by the cs read_domain read domain (either VRAM, or GTT as GPU is invalid for CS) write_domain write domain (either VRAM, or GTT as GPU is invalid for CS) flags flags used for further optimization (like discard previous buffer content or forget buffer content after cs which can help in avoiding moving content in or out)
2008-11-10radeon: add gart useable size to report to userspaceDave Airlie
2008-11-10radeon: upgrade atom headersDave Airlie
2008-11-10radeon: fix fence race condition hopefullyDave Airlie
For some reason reading the SCRATCH reg from RAM causes some race to occur. Hopefully fix this.
2008-11-10drm/radeon: add dpms connector functionsDave Airlie
2008-11-10radeon: avivo cursors are across the full surface.Dave Airlie
fixes cursor on second head
2008-11-10modesetting: set the crtc x,y after the mode base changeDave Airlie
2008-11-10drm/radeon: add uncached allocator to drm ttm code.Dave Airlie
2008-11-10radeon: fixup vram visible calculation to take a/c pinned objects for nowDave Airlie
2008-11-06radeon: lib radeon add bo & cs gem backendJerome Glisse
2008-11-03radeon: make build againDave Airlie
2008-11-03radeon: fix ROP values for the paint ROPDave Airlie
2008-11-03radeon: add mtrr support for VRAM aperture.Dave Airlie
2008-11-03radeon: add more HDMI bitsDave Airlie
2008-11-03radeon: set dma bufs bo type to a kernel typeDave Airlie
2008-11-03radeon: enable DVI-D + HDMI connectors.Dave Airlie
This allows the rs690 to work on DVI
2008-11-03radeon: add more debuggingDave Airlie
2008-11-03radeon: overhaul ring interactionsDave Airlie
emit in 16-dword blocks, emit irqs at same time as everything else
2008-11-03radeon: fix race in sysfsDave Airlie
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: remove unused gem indirect ioctlDave Airlie
2008-11-03radeon: fix some warningsDave Airlie
2008-11-03radeon: fix free after refcountDave Airlie
2008-11-03radeon: CS2 make it all work with new relocs styleDave Airlie
2008-11-03radeon: make new CS2 command submission interface port older interface to thisDave Airlie
2008-11-03radeon/drm: fixup ref counting in on fb objsDave 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: fix accessible VRAM sizingDave Airlie
2008-11-03radeon: fix some warningsDave Airlie
2008-11-03radeon: workaround failure to parse some rs48x edidDave Airlie
2008-11-02nouveau: compat fix for set_page_locked().Pekka Paalanen
The set_page_locked() function has changed its name again. 2.6.28 offers __set_page_locked() instead, which uses non-atomic __set_bit() to do the work. In this case, offer our own set_page_locked() using the atomic set_bit(), because I do not know if atomic access is really necessary. Atomic behaviour is the one previously expected. Signed-off-by: Pekka Paalanen <pq@iki.fi>
2008-10-28nv50: symlink nv50_grctx.h to linux-core...Ben Skeggs
2008-10-27drm: missing init_mm symbol, compatibility fixPekka Paalanen
The drm_compat.c version of kmap_atomic_prot_pfn() uses the macro pgd_offset_k(), which references the symbol init_mm. Starting in 2.6.25, init_mm is no longer exported by default. The only user of kmap_atomic_prot_pfn() is i915, so this should not hurt anyone, and it allows people to load drm.ko. Signed-off-by: Pekka Paalanen <pq@iki.fi>
2008-10-24mode: Try to settle on a standard for struct fieldsJakob Bornecrantz
2008-10-16radeon: add initial agp support.Dave Airlie
This add agpmode command line option.