summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2017-10-21amdgpu: add padding to the fence to handle ioctlMarek Olšák1-0/+1
copied from Dave's kernel patch.
2017-10-20headers: Sync amdgpu_drm.h with drm-nextAndres Rodriguez1-1/+30
Generated using make headers_install from: airlied/drm-next 282dc83 Merge tag 'drm-intel-next-2017-10-12' ... Signed-off-by: Andres Rodriguez <andresx7@gmail.com> Acked-by: Dave Airlie <airlied@redhat.com> Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
2017-10-12include: sync drm.h and amdgpu_drm.h with airlied/drm-nextMarek Olšák1-0/+21
2017-10-11headers: sync syncobj ioctl defines.Dave Airlie1-0/+22
This syncs the drm.h header with my drm-next branch as of bb7a9c8d712f37385a706a594d6edf6e6d2669d0 Signed-off-by: Dave Airlie <airlied@redhat.com>
2017-10-09headers: sync DRM_MODE_ROTATE/REFLECT defines from kernel v4.14-rc1Rob Herring1-0/+47
Add the new DRM_MODE_ROTATE_* and DRM_MODE_REFLECT_* defines from v4.14-rc1 kernel. Reviewed-by: Thierry Reding <treding@nvidia.com> Reviewed-by: Robert Foss <robert.foss@collabora.com> Signed-off-by: Rob Herring <robh@kernel.org>
2017-08-15drm: Pull new modifier uapi into drm_fourcc and drm_modeJason Ekstrand2-0/+81
Reviewed-by: Daniel Stone <daniels@collabora.com>
2017-06-29drm: update drm.h to latest in drm-next.Dave Airlie1-0/+26
This syncs the drm.h header with my drm-next branch as of 6d61e70ccc21606ffb8a0a03bd3aba24f659502b. It brings over the semaphore API changes. Generated using make headers_install. Generated from git://people.freedesktop.org/~airlied/linux drm-next commit 6d61e70ccc2. [airlied: I split patch in two, split reviewed by across both] Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
2017-06-27amdgpu: sync amdgpu_drm with kernel.Dave Airlie1-1/+53
This syncs the amdgpu_drm header with my drm-next branch as of 6d61e70ccc21606ffb8a0a03bd3aba24f659502b. It brings over the VM and semaphore API changes. Generated using make headers_install. Generated from git://people.freedesktop.org/~airlied/linux drm-next commit 6d61e70ccc2. Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
2017-06-22headers: Update drm_fourcc and vc4_drm.h with new VC4 tiling UAPI.Eric Anholt2-4/+41
Taken from make headers_install of drm-misc-next (34c8ea400ff6383b028f63df2453914163afc07c) Reviewed-by: Daniel Stone <daniels@collabora.com>
2017-06-03headers: sync drm_sarea.h with airlied/drm-nextEric Engestrom1-0/+8
Adds the C++ extern guards from ebbb0e5cfd2ceb1150b1 drm: add extern C guard for the UAPI headers Generated using `make headers_install` from airlied/drm-next at commit 2a1720376adda5ecf8e636fbfb05339c7dad1c55 Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
2017-06-03headers: sync drm_fourcc.h with airlied/drm-nextEric Engestrom1-0/+126
This adds a bunch of modifiers stuff, as well as a few new formats. Includes the following changes: ebbb0e5cfd2ceb1150b1 drm: add extern C guard for the UAPI headers b9fb2a21ac8058965a6b drm_fourcc: Document linear modifier af913418261d6d3e7a29 drm_fourcc: Fix DRM_FORMAT_MOD_LINEAR #define fd056f05b9fcba35b77e drm: add fourcc codes for 16bit R and RG 73f1a5858bf82f3bf232 drm/fourcc: add vivante tiled layout format modifiers ba2b5277dc52cc96944d drm: add RGB formats with separate alpha plane 5e91144dd702d068b22a drm/tegra: Add tiling FB modifiers Generated using `make headers_install` from airlied/drm-next at commit 2a1720376adda5ecf8e636fbfb05339c7dad1c55 Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
2017-05-23amdgpu/drm: add AMDGPU_HW_IP_VCN_ENCLeo Liu1-1/+2
Signed-off-by: Leo Liu <leo.liu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
2017-05-23amdgpu/drm: add AMDGPU_HW_IP_VCN_DECLeo Liu1-1/+2
Signed-off-by: Leo Liu <leo.liu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
2017-05-23amdgpu: add raven family idHawking Zhang1-0/+1
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Chunming Zhou <David1.Zhou@amd.com> Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
2017-04-06Headers: Sync drm{,_mode}.h with the kernelDaniel Stone2-15/+33
Generated using make headers_install, based on drm-misc-next commit 5db06a8a98f515f67446a69c57577c4c363ec65d. This clarifies the comments around modifiers such that they are per-framebuffer rather than per-plane, adds the beginnings of aspect ratio mode flags, link status properties, and updates the 'reserved' field from vblank events to include the CRTC ID. v2: Split into separate patch, pull in full kernel changes. v3: Undo revert of connector-type enums, since it is not actually harmful. Signed-off-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
2017-04-03headers: the uint*_t vs. __u* discrepancy in amdgpu_drm is fixedNicolai Hähnle1-4/+0
This was already done in commit 3dc002df3e5 ("amdgpu: sync amdgpu_drm.h with kernel 4.11-rc2"), now update the README accordingly. Signed-off-by: Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Acked-by: Emil Velikov <emil.velikov@collabora.com>
2017-04-03headers: sync amdgpu_drm.h from airlied/drm-nextNicolai Hähnle1-1/+55
Changes include: PRT and preemption flags, sensor info, and some more changes for Vega10. Generated using make headers_install from airlied/drm-next commit 320d8c3d38739fa8e31a076b86cbdafcf8897d5e. Signed-off-by: Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Acked-by: Emil Velikov <emil.velikov@collabora.com>
2017-03-27amdgpu_drm: add AMDGPU_HW_IP_UVD_ENCLeo Liu1-1/+2
Signed-off-by: Leo Liu <leo.liu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Marek Olšák <marek.olsak@amd.com>
2017-03-27amdgpu: update amdgpu_drm.h for Vega10Marek Olšák1-2/+8
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2017-03-27amdgpu: sync amdgpu_drm.h with kernel 4.11-rc2Marek Olšák1-145/+251
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2017-02-14headers: add explicit note against local changes in the READMEEmil Velikov1-0/+2
Even with the step by step guide people sometimes get confused. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2017-01-27Import uapi/i915_drm.h from v4.10-rc5-950-g152d5750dda9Chris Wilson1-10/+266
To sync with "drm/i915: Support explicit fencing for execbuf"
2016-11-28vc4: Add new GETPARAMs that have been merged to drm-next.Eric Anholt1-0/+2
Signed-off-by: Eric Anholt <eric@anholt.net>
2016-11-22libdrm: random typo fixesGrazvydas Ignotas1-1/+1
Just some trivial boring typo fixes all over the tree. READMEs and comments only. Signed-off-by: Grazvydas Ignotas <notasas@gmail.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
2016-11-14headers: Add README fileEmil Velikov1-0/+157
Since we're trying to standardise and make things more consistent in the area, add a basic README which covers some of the more popular topics. v2: - Drop drm-misc (Daniel Vetter) v3: - Elaborate on when and which headers to update - Add a list of headers and the respective "issues" - Add file to EXTRA_DIST Cc: Dave Airlie <airlied@redhat.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> (v1) Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2016-10-13headers: Sync drm{,_mode}.h with the kernelMichel Dänzer2-3/+63
Generated using make headers_install, based on linus master commit b67be92feb486f800d80d72c67fd87b47b79b18e. Acked-by: Daniel Vetter <daniel@ffwll.ch>
2016-09-07intel: Export pooled EU and min no. of eus in a pool.Yang Rong1-0/+2
Update kernel interface with new I915_GETPARAM ioctl entries for pooled EU and min no. of eus in a pool. Add a wrapping function for each parameter. Userspace drivers need these values when decide the thread count. This kernel enabled pooled eu by default for BXT and for fused down 2x6 parts it is advised to turn it off. But there is another HW issue in these parts (fused down 2x6 parts) before C0 that requires Pooled EU to be enabled as a workaround. In this case the pool configuration changes depending upon which subslice is disabled and the no. of eus in a pool is different, So userspace need to know min no. of eus in a pool. V2: use return value as the query results. ret < 0 when error, ret = 0 when not support, and ret > 0 indicate query results.(Chris) V3: Correct V2 errors. Signed-off-by: Yang Rong <rong.r.yang@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-09-05amdgpu: sync amdgpu_drm.h with the kernelMarek Olšák1-16/+26
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
2016-09-05radeon: sync radeon_drm.h with the kernelMarek Olšák1-9/+42
the CIK tile mode definitions are moved out, userspace doesn't use them Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
2016-09-02amdgpu: expose the AMDGPU_GEM_CREATE_VRAM_CLEARED flagFlora Cui1-0/+2
With this flag specified, VRAM buffer will be cleared at allocation time. Signed-off-by: Flora Cui <Flora.Cui@amd.com> Reviewed-by: Alexandre Demers <alexandre.f.demers@gmail.com>
2016-07-23virtgpu: Update kernel headerAndreas Boll1-51/+58
Generated using make headers_install. This brings the C++ guard, proper include path for drm.h and the switching to kernel types for fixed-with integers. Generated from drm-next commit c11dea5b0290984fa48111957ba3fdc5b3bdae5a Suggested-by: Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by: Andreas Boll <andreas.boll.dev@gmail.com> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
2016-07-15vc4: Update kernel headers for getparam addition.Eric Anholt1-0/+21
This also brings over the C++ guard introduced recently in the kernel headers. Signed-off-by: Eric Anholt <eric@anholt.net>
2016-04-12headers: Update drm.hDaniel Vetter1-26/+41
This needs the kernel patch to make sure the C++ protection is in place. Otherwise just new defines, using the right fixed-width types and some shuffling in where stuff is defined (the DRM_CAP list moved, but the #defines are the same). Generated using make headers_install. Generated fromd drm-misc commit 249c4f538b1aae55d41699f8bafc6cb762a7f48f Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2016-04-12headers: Update drm_mode.hDaniel Vetter1-51/+119
Generated using make headers_install. Only cosmetics&new definitions here now. Generated fromd drm-misc commit 249c4f538b1aae55d41699f8bafc6cb762a7f48f Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2016-04-12headers: Update drm_fourcc.hDaniel Vetter1-4/+13
Only real difference is switching to kernel types for fixed-width integers, like we should. Generated fromd drm-misc commit 249c4f538b1aae55d41699f8bafc6cb762a7f48f Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2016-04-12headers: Update drm_sarea.hDaniel Vetter1-0/+2
Generated using make headers_install. Only difference is a new value of SAREA_MAX for mips. Not that we ever shipped a dri1 driver on that platform probably ... Generated fromd drm-misc commit 249c4f538b1aae55d41699f8bafc6cb762a7f48f Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2016-04-12headers: Update drm_i915.hDaniel Vetter1-8/+35
Generated using make header_install. Generated fromd drm-intel-next-queued commit 55c561a708eec328822721233b1148119e80f5c3 Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2016-04-12headers: Remove _DRM_GEMDaniel Vetter1-1/+0
This was purely a kernel-internal type used in a early patch version to add GEM bo mmap support. It was never used in-kernel in merged code nor in userspace. Nuke it to align with kernel headers. For reference the kernel patch: commit 05f51722a154e73019434bd020e50ddb941046c5 Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Wed Dec 11 11:34:32 2013 +0100 drm/bufs: remove handling of _DRM_GEM mappings Gone with the new gem vma offset manager from David. We can also ditch the uapi header definition from the enum since userspace never used this. It ended up in there purely for historical reasons (for reusing the old drm mmap code essentially), not because userspace ever needed it. Cc: David Herrmann <dh.herrmann@gmail.com> Reviewed-by: David Herrmann <dh.herrmann@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2016-04-07tegra: Sync with Linux kernel UAPI headerThierry Reding1-1/+2
Update the UAPI header to the latest version in the Linux kernel. This changes the struct drm_tegra_gem_mmap to properly handle offsets on 64- bit architectures. See commit bdf765071a8b ("drm/tegra: gem: Return 64-bit offset for mmap(2)") in the Linux kernel (as of v4.1). Signed-off-by: Thierry Reding <treding@nvidia.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
2016-02-24vmwgfx: update uapiThomas Hellstrom1-158/+634
The libdrm shipped vmwgfx_drm.h is obsolete and incorrect. Update it to latest kernel version. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2016-02-03vc4: Add the DRM header file.Eric Anholt1-0/+279
I'll build some libdrm C code soon, but for now this lets libdrm users use vc4 ioctls. Produced from headers_install of 1df59b8497f47495e873c23abd6d3d290c730505 (drm-next) in the kernel. Signed-off-by: Eric Anholt <eric@anholt.net>
2015-12-22nouveau: import and install a selection of nvif headers from the kernelBen Skeggs1-0/+1
This commit also modifies the install path of the main libdrm_nouveau header to be under a nouveau/ subdirectory. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Tested-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
2015-12-14intel: Update i915_drm.hKristian Høgsberg Kristensen1-10/+49
Copy from drm-intel-nightly a307a3a81c2bf2883457e03abcf5c9520cf452c1. Signed-off-by: Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
2015-11-05libdrm: Use userspace compatible type in fourcc_mod_code macroTvrtko Ursulin1-1/+1
__u64 should be used instead of u64. Kernel headers originally pulled in: commit 8983fe5497e89a3ffaba3ad1ee06a30a1c7e6daf Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Date: Mon Aug 3 10:48:03 2015 +0100 libdrm: Add framebuffer modifiers uapi Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Cc: dri-devel@lists.freedesktop.org Cc: Rob Clark <robdclark@gmail.com> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Rob Clark <robclark@freedesktop.org>
2015-10-21drm: add virtgpu_drm.hDave Airlie1-0/+167
This is in drm-next now, so add to libdrm. Signed-off-by: Dave Airlie <airlied@redhat.com>
2015-09-09libdrm: Add framebuffer modifiers uapiTvrtko Ursulin3-1/+104
Sync up with new kernel features as per commits: e3eb3250d84ef97b766312345774367b6a310db8 93b81f5102a7cd270a305c2741b17c8d44bb0629 b5ff6e1637b683d5996ae11ac29afe406c0bee90 8c4f83fb1e8bf317e894f62d17a63c32b7a6b75e 570655b09b065d2fff1b8ab9bdb8308f4c5a05a3 Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Cc: dri-devel@lists.freedesktop.org Cc: Rob Clark <robdclark@gmail.com> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Rob Clark <robclark@freedesktop.org>
2015-08-05libdrm/amdgpu: Fixed drm.h include.Alexandr Akulich1-1/+1
The include type changed from system to own. Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Signed-off-by: Alexandr Akulich <akulichalexander@gmail.com>
2015-08-05amdgpu: add VCE harvesting instance queryLeo Liu1-0/+2
Signed-off-by: Leo Liu <leo.liu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
2015-08-05amdgpu: update to the latest kernel headerAlex Deucher1-44/+91
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2015-08-05amdgpu: cleanup VA IOCTL handlingChristian König1-16/+2
Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>