summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2019-11-21vulkan: delete typo'd headerEric Engestrom1-54/+0
Two files exist in that directory: - vulkan_xlib_randr.h - vulkan_xlib_xrandr.h Both were imported in 205c271562db8cb2effc ("vulkan: Update the XML and headers to 1.1.70") with identical contents (ie. the VK_EXT_acquire_xlib_display extension), but the former was never included anywhere and can't be found upstream [1], while the latter is included in vulkan.h and found upstream. [1] https://github.com/KhronosGroup/Vulkan-Headers/tree/master/include/vulkan Fixes: 205c271562db8cb2effc ("vulkan: Update the XML and headers to 1.1.70") Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Acked-by: Jason Ekstrand <jason@jlekstrand.net> (cherry picked from commit 344859c32d00e444e4e820642541628b36c0622e)
2019-10-17c99_compat.h: Don't try to use 'restrict' in C++ codeAlan Coopersmith1-1/+1
Fixes build failures on Solaris in C++ files using gcc: ../src/util/u_math.h:628:41: error: expected ‘,’ or ‘...’ before ‘dest’ 628 | util_memcpy_cpu_to_le32(void * restrict dest, const void * restrict src, size_t n) | ^~~~ ../src/util/u_math.h: In function ‘void* util_memcpy_cpu_to_le32(void*)’: ../src/util/u_math.h:641:18: error: ‘dest’ was not declared in this scope 641 | return memcpy(dest, src, n); | ^~~~ ../src/util/u_math.h:641:24: error: ‘src’ was not declared in this scope 641 | return memcpy(dest, src, n); | ^~~ ../src/util/u_math.h:641:29: error: ‘n’ was not declared in this scope; did you mean ‘yn’? 641 | return memcpy(dest, src, n); | ^ | yn Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Acked-by: Eric Engestrom <eric.engestrom@intel.com> (cherry picked from commit ddde652e7000a13e3431316ad9ad7d1237552a0b)
2019-10-11meson: skip installation of GLVND-provided headersEric Engestrom1-54/+56
Fixes: 93df862b6affb6b8507e ("meson: re-add incorrect pkg-config files with GLVND for backward compatibility") Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/1846 Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> (cherry picked from commit 34ba363ab0e231c2842c4a045dc51c5b1cd33401)
2019-10-11meson: split Mesa headers as a separate installationEric Engestrom1-0/+7
Fixes: 93df862b6affb6b8507e ("meson: re-add incorrect pkg-config files with GLVND for backward compatibility") Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> (cherry picked from commit 1a7e9652c499340a4f269cae147a68ed553a9a6c)
2019-10-11meson: split headers one per lineEric Engestrom1-6/+22
Fixes: 93df862b6affb6b8507e ("meson: re-add incorrect pkg-config files with GLVND for backward compatibility") Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> (cherry picked from commit daae003f471e7df222d5959f3ce1b3c709436579)
2019-10-11meson: move a couple of include installs aroundEric Engestrom1-8/+8
Preparation for a later commit. Fixes: 93df862b6affb6b8507e ("meson: re-add incorrect pkg-config files with GLVND for backward compatibility") Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> (cherry picked from commit b9a5fb1f056d842811c2747fc3a836c16c3ded8a)
2019-10-11GL: drop symbols mangling supportEric Engestrom6-2911/+2
SCons and Meson have never supported that feature, and Autotools was deleted over 6 months ago and no-one complained yet, so it's pretty obvious nobody cares about it. Fixes: 95aefc94a941701616fd ("Delete autotools") Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Acked-by: Dylan Baker <dylan@pnwbakers.com> (cherry picked from commit a0829cf23b307ca44ab8c4505974fb7c8d71a35a)
2019-09-26intel: use proper label for Comet Lake skusLionel Landwerlin1-23/+23
Fixes: 82f6a746e8 ("intel: Add support for Comet Lake") Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit 813f3460e7d331ad752c48ee08ca8988f8bfabd7)
2019-09-24amd: add more PCI IDs for Navi14Marek Olšák1-0/+2
trivial and urgent Cc: 19.2 <mesa-stable@lists.freedesktop.org> (cherry picked from commit 65b698136c5ef0ef1a15cb6fbff13cbc4ceb3881)
2019-09-18radeonsi: add Navi12 PCI IDMarek Olšák1-0/+2
trivial and urgent Cc: 19.2 <mesa-stable@lists.freedesktop.org> (cherry picked from commit 83f195414a2e89bd9f549dacc04365f67e5bd110)
2019-08-27radeonsi/gfx10: finish up Navi14, add PCI IDMarek Olšák1-0/+2
2019-08-19panfrost: Sync UAPI header from kernelRob Herring1-0/+61
Sync the panfrost_drm.h UAPI header with the latest from the kernel. This adds madvise ioctl and GPU feature params. Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Signed-off-by: Rob Herring <robh@kernel.org>
2019-08-14radeonsi: add support for RenoirMarek Olšák1-0/+2
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
2019-08-14EGL: sync headers with KhronosEric Engestrom4-19/+124
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
2019-08-13dri_interface: add DRI2_BufferDamage interfaceDaniel Stone1-0/+43
Add a new DRI2_BufferDamage interface to support the EGL_KHR_partial_update extension, informing the driver of an overriding scissor region for a particular drawable. Based on a commit originally authored by: Harish Krupo <harish.krupo.kps@intel.com> renamed extension, retargeted at DRI drawable instead of context, rewritten description Signed-off-by: Daniel Stone <daniels@collabora.com> Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Qiang Yu <yuq825@gmail.com> Tested-by: Qiang Yu <yuq825@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
2019-08-12vulkan: Update the XML and headers to 1.1.119Jason Ekstrand1-2/+146
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2019-08-08panfrost: Mark BOs as NOEXECTomeu Vizoso1-0/+27
Unless a BO has the EXECUTABLE flag, mark it as NOEXEC. v2: - Rework version detection (Alyssa). Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
2019-08-04introduce c11_compat.h to provide C11 things in C99Eric Engestrom1-0/+27
Right now, all it does is provide the new standard `static_assert()` name. Fixes: fbf7c38da35afe7f1de0 ("egl/wayland: use bitset.h for `formats` bit set") Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Tested-by: Bhushan Shah <bshah@kde.org>
2019-07-29amd: add support for ArcturusMarek Olšák1-0/+4
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
2019-07-29vulkan: Bump headers to 1.1.117Lionel Landwerlin1-3/+105
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2019-07-29include/vulkan: bump vk_android_native_bufferLionel Landwerlin1-15/+54
Taken off https://android.googlesource.com/platform/frameworks/native/+/refs/tags/android-9.0.0_r45/vulkan/include/vulkan/vk_android_native_buffer.h Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2019-07-24vulkan: Update the XML and headers to 1.1.116Jason Ekstrand1-29/+70
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
2019-07-09vulkan: bump headers & registry to 1.1.114Lionel Landwerlin1-1/+47
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
2019-07-04scons: s/HAVE_NO_AUTOCONF/HAVE_SCONS/Eric Engestrom1-4/+3
Back when autotools and scons were the two build systems, it kinda made sense to call scons "not autoconf", but autoconf's been gone for a while now and other build systems have been added (android.mk and meson), so the name really doesn't make any sense anymore. Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
2019-07-04vulkan: Update headers to 1.1.113Andres Gomez2-3/+15
Some headers were not dragged in the last update(s). Fixes: 465ec0b145c ("vulkan: Update the XML and headers to 1.1.113") Signed-off-by: Andres Gomez <agomez@igalia.com> Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com> Acked-by: Jason Ekstrand <jason@jlekstrand.net>
2019-07-03amd: add NAVI10 PCI IDsNicolai Hähnle1-0/+8
Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
2019-07-02vulkan: Update the XML and headers to 1.1.113Jason Ekstrand1-4/+39
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
2019-06-21include: update GL headers from the registryMarek Olšák9-146/+691
Acked-by: Ilia Mirkin <imirkin@alum.mit.edu>
2019-06-21intel/icl: Add new ICL PCI-IDsAnuj Phogat1-0/+2
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2019-06-18panfrost: Adapt to constant name change in UABITomeu Vizoso1-2/+4
We hadn't updated the kernel header after the driver got into mainline. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
2019-06-05etnaviv: drm: Move uapi headerGuido Günther1-0/+289
Signed-off-by: Guido Günther <guido.gunther@puri.sm> Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
2019-06-04vulkan: Update the XML and headers to 1.1.110Jason Ekstrand1-2/+207
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
2019-05-27ac: treat Mullins as Kabini, remove the enumMarek Olšák1-16/+16
it's the same design
2019-05-14freedreno: Restore msm_drm.h to a pristine "make headers_install" copy.Eric Anholt1-1/+1
This diverged back in f1374805a86d ("drm-uapi: use local files, not system libdrm") to point at drm-uapi's copy, which we don't need now that we're actually in drm-uapi. Reviewed-by: Rob Clark <robdclark@gmail.com>
2019-05-14freedreno: Move msm_drm.h to the same spot as other DRM uapi.Eric Anholt1-0/+335
The new location matches other drivers, and has a README about the rules for updating it. Reviewed-by: Rob Clark <robdclark@gmail.com>
2019-05-13vulkan: Update the XML and headers to 1.1.108Jason Ekstrand1-17/+94
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2019-05-08drm-uapi: Update i915_drm.h for I915_CONTEXT_PARAM_RECOVERABLEChris Wilson1-0/+20
Pull i915_drm.h to include kernel commit ba4fda620a5f7db521aa9e0262cf49854c1b1d9c Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Mon Feb 18 10:58:21 2019 +0000 drm/i915: Optionally disable automatic recovery after a GPU reset for improved resilience in handling GPU hangs.
2019-04-20st/nine: skip position checks in SetCursorPosition()Andre Heider1-2/+5
For HW cursors, "cursor.pos" doesn't hold the current position of the pointer, just the position of the last call to SetCursorPosition(). Skip the check against stale values and bump the d3dadapter9 drm version to expose this change of behaviour. Signed-off-by: Andre Heider <a.heider@gmail.com> Reviewed-by: Axel Davy <davyaxel0@gmail.com>
2019-04-15vulkan: Update the XML and headers to 1.1.106Jason Ekstrand4-20/+103
Acked-by: Dave Airlie <airlied@redhat.com> Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2019-04-11drm-uapi: add lima_drm.hQiang Yu1-0/+169
Acked-by: Eric Anholt <eric@anholt.net> Signed-of-by: Qiang Yu <yuq825@gmail.com>
2019-04-10intel: Fix the description of Coffeelake pci-id 0x3E98Jian-Hong Pan1-1/+1
According to Intel website [1], the description of chipset 8086:3E98 is Intel(R) UHD Graphics 630. Besides, xserver also mentions it as "Intel(R) UHD Graphics 630 (Coffeelake 3x8 GT2)" in commit d3a26bbf (DRI2: Add another Coffeelake PCI ID) [2]. This patch modifies the description to sync with xserver. [1]: https://ark.intel.com/content/www/us/en/ark/products/134896/intel-core-i5-9600k-processor-9m-cache-up-to-4-60-ghz.html [2]: https://gitlab.freedesktop.org/xorg/xserver/commit/d3a26bbf618507e1ca05b2bc99a880075b77db77 Fixes: commit 44f1dcf9b3fd "i965: Add a new CFL PCI ID." Signed-off-by: Jian-Hong Pan <jian-hong@endlessm.com> Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com> Reviewed-by: Anuj Phogat anuj.phogat@gmail.com
2019-04-01intel: Add support for Comet LakeAnuj Phogat1-0/+18
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
2019-03-27intel: Add Elkhart Lake PCI-IDsAnuj Phogat1-0/+4
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2019-03-18vulkan: Update the XML and headers to 1.1.104Bas Nieuwenhuizen12-288/+242
Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Acked-by: Eric Engestrom <eric@engestrom.ch> Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2019-03-14panfrost: Adapt to uapi changesTomeu Vizoso1-2/+2
Two ioctls had wrong DRM_IO* flags. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
2019-03-13panfrost: Set bo->size[0] in the DRM backendTomeu Vizoso1-1/+0
So we can unmap it later. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
2019-03-11st/dri: allow direct UYVY importChristian Gmeiner1-0/+1
Push this format to the pipe driver unchanged. Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2019-03-10panfrost: Add backend targeting the DRM driverTomeu Vizoso1-0/+141
This backend interacts with the new DRM driver for Midgard GPUs which is currently in development. When using this backend, Panfrost has roughly on-par functionality as when using the non-DRM driver from Arm. Alyssa Rosenzweig: To do so, we implement additional routines for runtime GPU version detection and fencing. We cleanup some duplicate code interfering with the new driver. We fix a long-standing memory leak which is aggravated on the new driver. Finally, we implement BO import/export in a way compatible with the new driver. These changes are squashed to preserve bisectability given the hard-to-track ABI shifts in the nondrm module Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
2019-03-09st/nine: Change a few advertised capsAxel Davy1-0/+3
Most hw on the native platform advertise these caps this way. D3DCAPS_READ_SCANLINE: We don't really have hardware support for that, but many games don't even check the flag, and expect GetRasterStatus to work, which is why we emulated it with a timer (like wine). So we may as well advertise the cap. D3DCURSORCAPS_LOWRES: I don't know what is the status of this on X11, but I don't know of any dx9 game running at height < 400 either. D3DPTEXTURECAPS_TEXREPEATNOTSCALEDBYSIZE: The cap should correspond to what the current generation of hw is doing. Signed-off-by: Axel Davy <davyaxel0@gmail.com> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
2019-03-08glx/meson: use full include path for dri_interface.hEric Engestrom1-1/+0
Everything else uses `#include "GL/internal/dri_interface.h"` instead, and this full path was even already used in other parts of GLX. While at it, nothing uses `inc_gl_internal` anymore so let's remove it as well. Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Tested-by: Clayton Craft <clayton.a.craft@intel.com>