summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2012-01-09intel: add sprite ioctl defines and struct for i915 sprite codeHEADmasterJesse Barnes1-0/+36
2012-01-04intel: Update for new i915_drm.h defines.Eric Anholt1-1/+5
2011-12-13libdrm: update drm headers from kernel, including new overlay ioctls & structsJesse Barnes4-0/+199
Add structs and functions necessary for the new plane and fb handling code, including a new header, drm_fourcc.h, that includes the surface formats supported by various DRM drivers. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2011-04-04libdrm: (revised) vblank wait on crtc > 1Ilija Hadzic1-0/+1
Hi Alex, Enclosed is a revised version of the patch sent on Mar 18, against the master branch of the drm userspace (i.e. libdrm). Details summarised in this thread: http://lists.freedesktop.org/archives/dri-devel/2011-March/009499.html This patch reconciles libdrm with the the kernel change that Dave pushed this morning. It *supersedes* the previously sent patch (i.e. apply it to the master branch as it exists at the time of this writing, not as an incremental patch to the one sent previously). Regards, Ilija Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com> Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-03-30drm_mode: fix types on recently added ioctlsDave Airlie1-8/+8
2011-03-04Implement drmGetCap() to query device/driver capabilitiesBen Skeggs1-0/+9
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2011-03-04drm: add dumb interfaceDave Airlie2-0/+33
2011-03-01intel: Add I915_PARAM_HAS_RELAXED_DELTAChris Wilson1-0/+1
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-12-19intel: Export CONSTANT_BUFFER addressing modeChris Wilson1-0/+13
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-10-29intel: enable relaxed fence allocation for i915Chris Wilson1-0/+1
The kernel has always allowed userspace to underallocate objects supplied for fencing. However, the kernel only allocated the object size for the fence in the GTT and so caused tiling corruption. More recently the kernel does allocate the full fence region in the GTT for an under-sized object and so advertises that clients may finally make use of this feature. The biggest benefit is for texture-heavy GL games on i945 such as World of Padman which go from needing over 1GiB of RAM to play to fitting in the GTT! Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-10-26intel: Prepare for BLT ring split.Chris Wilson1-1/+6
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-10-21nouveau: Define the HAS_PAGEFLIP getparam.Francisco Jerez1-0/+1
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-10-12nouveau: Define buffer object usage flags.Francisco Jerez1-0/+7
Signed-off-by: Francisco Jerez <currojerez@riseup.net> Acked-by: Ben Skeggs <bskeggs@redhat.com>
2010-08-26Avoid use of c++ reserved keyword "virtual" when using a C++ compiler.Eric Anholt1-0/+4
Avoids requiring nasty hacks around libdrm headers in the new C++ parts of Mesa drivers.
2010-08-04Copy headers from kernel drm-core-nextDave Airlie5-3/+79
2010-06-06intel: Add support for kernel multi-ringbuffer API.Zou Nan hai1-1/+4
This introduces a new API to exec on BSD ring buffer, for H.264 VLD decoding. Signed-off-by: Xiang Hai hao <haihao.xiang@intel.com> Signed-off-by: Zou Nan hai <nanhai.zou@intel.com>
2010-05-12Pull in new kernel headersKristian Høgsberg2-7/+32
Changes struct drm_mode_crtc_page_flip to use __u32 instead of uint32_t, fixes https://bugs.freedesktop.org/show_bug.cgi?id=26994
2010-03-17Install headers to $(includedir)/libdrmJulien Cristau1-1/+1
Avoids conflicts with kernel headers. Signed-off-by: Julien Cristau <jcristau@debian.org> Reviewed-by: Rémi Cardona <remi@gentoo.org> Signed-off-by: Eric Anholt <eric@anholt.net>
2010-03-02libdrm/intel: execbuf2 supportJesse Barnes1-1/+55
This patch to libdrm adds support for the new execbuf2 ioctl. If detected, it will be used instead of the old ioctl. By using the new drm_intel_bufmgr_gem_enable_fenced_relocs(), you can indicate that any time a fence register is actually required for a relocation target you will call drm_intel_bo_emit_reloc_fence instead of drm_intel_bo_emit_reloc, which will reduce fence register pressure. Signed-off-by: Eric Anholt <eric@anholt.net>
2010-02-18vmwgfx: Update kernel headerJakob Bornecrantz1-46/+17
2010-02-18radeon: add square-tiling flagMarek Olšák1-0/+1
2010-02-16nouveau: bump MAX_PUSH to 512Ben Skeggs1-1/+1
2010-02-16nouveau: interface changes for 0.0.16 DRMLuca Barbieri1-54/+32
This commit encompasses the changes necessary to run on top of the 0.0.16 nouveau interface, additional APIs to support the new features of the interface, as well as code from Luca Barbieri to improve the pushbuf interface, which just happens to break nouveau's libdrm ABI so was delayed until now. API changes as a result of 0.0.16 DRM interface: 1. No more bo_pin()/bo_unpin(), these were only there for UMS and we no longer support it. 2. Any random nouveau_bo can be submitted to the GPU as a push buffer. 3. Relocations can be applied on any nouveau_bo This patch changes the pushbuffer ABI to: 1. No longer use/expose nouveau_pushbuffer. Everything is directly in nouveau_channel. This saves the extra "pushbuf" pointer dereference. 2. Use cur/end pointers instead of tracking the remaining size. Pushing data now only needs to alter cur and not both cur and remaining. The goal is to make the *_RING macros faster and make the interface simpler and cleaner in the process. The *_RING APIs are unchanged, but those are inlined and the ABI is changed. Also, anything accessing pushbuf->remaining instead of using AVAIL_RING will need to be fixed.
2010-01-27nouveau: Update nouveau_drm.hMarcin Kościelnicki1-0/+1
2010-01-05vmwgfx: Add experimental vmwgfx kernel headerJakob Bornecrantz2-0/+579
2009-12-02Merge branch 'modesetting-dirty-libdrm'Jakob Bornecrantz2-0/+40
Conflicts: include/drm/drm.h
2009-12-03Merge branch 'pageflip' of git://people.freedesktop.org/~jbarnes/drmJesse Barnes3-0/+16
Conflicts: include/drm/drm.h - RMFB had its signature changed to avoid uint32_t
2009-12-02Change the number on the dirty ioctl to match upstreammodesetting-dirty-libdrmJakob Bornecrantz1-1/+1
2009-11-30Change the dirty ioctl a bit and comment itJakob Bornecrantz1-2/+32
2009-11-26Bring dirty code from old branchJakob Bornecrantz2-0/+10
2009-11-24More fixups to allow mesa to buildRobert Noland3-2/+4
2009-11-24Finish fixing the build on FreeBSDRobert Noland4-6/+7
2009-11-23Fix build on *BSDKristian Høgsberg1-10/+13
This adds a minimal #ifdef clause to drm.h that we'll push upstream. Once that goes in we can share drm.h between linux, libdrm, and the bsd's.
2009-11-23Drop duplicated radeon_*.h files in include/drmKristian Høgsberg5-609/+0
These files are userspace headers and live in radeon/
2009-11-20Put mach64_drm.h back in to avoid breaking mesa buildKristian Høgsberg2-1/+258
We may want to drop mach64 from mesa instead, but that's a different discussion.
2009-11-20Install kernel headers in ${includedir}/drmKristian Høgsberg2-0/+38
2009-11-21nouveau: fix DRM headersPekka Paalanen2-57/+220
The nouveau_drmif.h is not the Nouveau DRM kernel ABI file, but purely user space stuff. Remove it, it does not belong in include/drm/. Copy the right header from Nouveau kernel v2.6.31-rc9-757-gaca551c. Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-11-17Fix typo in i915 pipe_from_crtc_id ioctl struct nameKristian Høgsberg1-1/+1
2009-11-17Copy headers from kernel v2.6.32-rc6-130-g5b8f0beKristian Høgsberg18-0/+5383