summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
...
* dri: rename PROTECTED_CONTENT in PROTECTED_SURFACELionel Landwerlin2022-10-271-1/+1
| | | | | | | | Better suiting to the associated extension EXT_protected_surface. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8092>
* drm-uapi: bump headersLionel Landwerlin2022-10-279-86/+585
| | | | | | | Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8092>
* EGL: sync headers with KhronosSimon Zeni2022-10-125-50/+95
| | | | | | | | | | | | Since [1], EGL removed the inclusion of the Xlib headers by default. The logic is now reversed, and the call has to define USE_X11 to include the Xlib headers instead of EGL_NO_X11_HEADERS to prevent the inclusion. [1]: https://github.com/KhronosGroup/EGL-Registry/pull/130/commits/3670d645f4a26a0a9e87e7f3a8608e7cc1d53b5b Signed-off-by: Simon Zeni <simon@bl4ckb0ne.ca> Reviewed-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18848>
* vulkan: update beta and video headers to 1.3.230Dave Airlie2022-10-047-217/+284
| | | | | Acked-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18945>
* vulkan: Update the XML and headers to 1.3.230Mike Blumenkrantz2022-09-292-23/+894
| | | | | Acked-by: Ivan Briano <ivan.briano@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18878>
* Try to fix FTBFS on kfreebsd architectureLaurent Bigonville2022-09-221-0/+1
| | | | | | | Fixes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4081 Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15058>
* vulkan: Update to 1.3.228 headers.Hans-Kristian Arntzen2022-09-151-17/+47
| | | | | Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18610>
* rusticl: addedKarol Herbst2022-09-121-17/+20
| | | | | | | | Initial code drop for Rusticl :) Signed-off-by: Karol Herbst <kherbst@redhat.com> Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15439>
* intel/pci_ids: Drop non-upstream dg2 pci-idsJordan Justen2022-09-071-7/+0
| | | | | | | | | | | | | | These pci-ids should be included in https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14523, since these pci-ids will only be supported by kernels that support the forked Linux uapi. (Note that !14523 will never be merged into upstream Mesa.) Ref: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/drm/i915_pciids.h?h=v6.0-rc3#n695 Fixes: 398a9be94b4 ("intel/dev: Enable remaining DG2 and ATS-M device IDs") Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18386>
* ac/gpu_info: handle LPDDR4 and 5 in ac_memory_ops_per_clockMarek Olšák2022-09-051-0/+6
| | | | | | | | | | and update amdgpu_drm.h Fixes: 50238f495869ce5 - amd/common: Remove redundant code for determining memory ops per clock Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7163 Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18340>
* vulkan: fixup 1.3.226 updateLionel Landwerlin2022-09-022-34/+106
| | | | | | Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18397>
* vulkan, spirv: Update to Vulkan 1.3.226 and latest SPIR-V headers.Timur Kristóf2022-09-021-4/+94
| | | | | | | | Done using the "khronos-update.py" script, leaving out parts that are not relevant to Vulkan. Acked-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18366>
* intel/pci_ids: Add dg2 0x5698 pci-idJordan Justen2022-09-021-0/+1
| | | | | | | | | | | | This motherboard-down pci-id was added in kernel commit 8618b8489ba6 ("drm/i915: DG2 and ATS-M device ID updates"). Ref: bspec 44477 Ref: https://patchwork.freedesktop.org/patch/msgid/20220701152231.529511-2-matthew.d.roper@intel.com Fixes: ad565f6b70d ("intel/dev: Enable first set of DG2 PCI IDs") Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18385>
* intel/pci_ids: Update DG2 device namesJordan Justen2022-09-021-12/+12
| | | | | | | | | Ref: bspec 44477 Ref: https://www.intel.com/content/www/us/en/products/details/discrete-gpus/arc/arc-a-series.html Cc: mesa-stable Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18303>
* intel/pci_ids: Update ATS-M device namesJordan Justen2022-09-021-2/+2
| | | | | | | | | Ref: bspec 44477 Ref: https://www.intel.com/content/www/us/en/products/details/discrete-gpus/data-center-gpu/flex-series/products.html Cc: mesa-stable Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18303>
* panfrost: Sync panfrost_drm.h from drm-misc-nextAdrián Larumbe2022-08-311-2/+49
| | | | | | | | | | Updated from changes in commit 730c2bf4ad39 ("drm/panfrost: Add support for devcoredump"). From drm-misc/drm-misc-next. Signed-off-by: Adrián Larumbe <adrian.larumbe@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14034>
* intel/pci_ids: Add 0x468b ADL-S PCI-idJordan Justen2022-08-261-0/+1
| | | | | | | | Ref: bspec 53655 Fixes: d399c3e861a ("intel/dev: Add device info for ADL-S") Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17569>
* intel/pci_ids: Update ADL-S stringsJordan Justen2022-08-261-7/+7
| | | | | | | | Ref: bspec 53655 Fixes: d399c3e861a ("intel/dev: Add device info for ADL-S") Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17569>
* vulkan: update rest of the headers to v1.3.225Dave Airlie2022-08-247-401/+419
| | | | | Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18237>
* vulkan: Update the XML and headers to 1.3.225Mike Blumenkrantz2022-08-241-30/+44
| | | | | Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18133>
* egl: Remove eglextchromium.h and import eglext_angle.hYonggang Luo2022-08-093-72/+404
| | | | | | | | | | | | | The upstream eglextchromium.h in https://chromium.googlesource.com/chromium/src/+/refs/heads/master/ui/gl/EGL/eglextchromium.h are broken, so remove it and using eglext_angle.h instead. By running "python bin/khronos-update.py egl" to update EGL files, then discard changes other than eglext_angle.h Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17815>
* vulkan: Update the XML and headers to 1.3.224Mike Blumenkrantz2022-08-052-17/+184
| | | | | | | Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Acked-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17883>
* gbm: Add USE_FRONT_RENDERING flagRob Clark2022-08-051-0/+1
| | | | | | | | | | | | Provide a use flag to let the driver know that the allocated buffer will be used for frontbuffer rendering. For example, bandwidth compressed formats should usually be avoided for frontbuffer rendering to avoid the visual corruption that results from this display racing with the GPU writing header data vs. pixel data. Signed-off-by: Rob Clark <robdclark@chromium.org> Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17799>
* dri: fix incorrect fourcc for R16G16B16A16_UNORM formatManuel Stoeckl2022-07-271-1/+0
| | | | | | | | | | | The DRM fourcc for this format is DRM_FORMAT_ABGR16161616 = 'AB48', not __DRI_IMAGE_FOURCC_RGBA16161616 = 'RA48'. This should have no outward effect for clients, since the format does not get revealed by dri2_query_dma_buf_formats, and is otherwise only used within the library. Signed-off-by: Manuel Stoeckl <code@mstoeckl.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14580>
* dri_interface: add XBGR16161616 formatManuel Stoeckl2022-07-271-0/+1
| | | | | Signed-off-by: Manuel Stoeckl <code@mstoeckl.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14580>
* ac/gpu_info: use hw_ip::ip_discovery_version to set IP versionsMarek Olšák2022-07-271-1/+2
| | | | | Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17411>
* intel/dev: Enable remaining DG2 and ATS-M device IDsJordan Justen2022-07-271-19/+18
| | | | | | | | | | | | | Mostly Matt Roper's kernel patch commit message: The device IDs here are associated with DG2 add-in cards. We need to wait for some additional functionality (e.g., small BAR recovery) to land before we're ready to upstream these. Ref: https://patchwork.freedesktop.org/patch/483381/?series=103098&rev=1 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12706>
* drm-uapi/i915_drm.h: Update from drm-next (2022-07-22)Jordan Justen2022-07-261-87/+300
| | | | | | | git://anongit.freedesktop.org/drm/drm 417c1c1963549e9a48b83ada59d90258e38c6594 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16739>
* kopper: Implement {EGL,GLX}_EXT_buffer_ageAdam Jackson2022-07-181-0/+1
| | | | | Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17527>
* kopper: Use the swap interval that was set at swapchain creation time.Emma Anholt2022-07-121-0/+1
| | | | | | | | | | | | We need to track what the caller has given us for swap interval, and use that to set the present mode at startup. Fixes incorrect vblank syncing in apitrace's glretrace, which sets the swap interval to 0 before the swapchain is made. Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17470>
* vulkan: Update Vulkan XML and headers to 1.3.219.Hans-Kristian Arntzen2022-07-061-1/+98
| | | | | Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17332>
* c11: Move the implementation of threads.h into c source codeYonggang Luo2022-06-154-944/+0
| | | | | | | | | By doing this, now the global variable impl_tss_dtor_tbl are only defined one time. So the memory usage would reduced Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15087>
* drm-uapi/i915_drm.h: Update from drm-next (2022-05-06)Jordan Justen2022-06-151-6/+56
| | | | | | | | | | | | git://anongit.freedesktop.org/drm/drm 98bcaafd7fb06647529227561ee72e37d3f00ff0 This defines I915_ENGINE_CLASS_COMPUTE to access the compute engine when available. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14395>
* c99_compat.h: assume c99 supportErik Faye-Lund2022-06-141-2/+2
| | | | | | Reviewed-By: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16908>
* vulkan: Spec update to 1.3.217.Georg Lehmann2022-06-092-2/+166
| | | | | | Signed-off-by: Georg Lehmann <dadschoorse@gmail.com> Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12729>
* c11: Implement c11/time.h with c11/impl/time.cYonggang Luo2022-06-093-48/+1
| | | | | | | | | | | | | | | Create c11/time.h instead of put timespec_get in `c11/threads.h` Creating impl folder is used to avoid `#include <time.h>` point the c11/time.h file Detecting if `struct timespec` present with meson Define TIME_UTC in `c11/time.h` instead `c11/threads.h` Define `struct timespec` in `c11/time.h` when not present. Implement timespec_get in c11/impl/time.c instead threads.h Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15497>
* c11/threads: Remove the detecting code for `HAVE_TIMESPEC_GET` in ↵Yonggang Luo2022-06-091-5/+0
| | | | | | | | | | threads_win32.h The meson already detecting it properly now, so remove the duplicated detecting code Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15497>
* vulkan: Spec update to 1.3.216Konstantin Seurer2022-06-082-39/+305
| | | | | | | | | | | Update the vulkan headers and xml to 1.3.216 including the spirv headers. The new spirv spec added new OpAlias*INTEL ops, which we ignore in vtn_gather_types_c.py. Signed-off-by: Konstantin Seurer <konstantin.seurer@gmail.com> Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16430>
* include: drop c11_compat.hErik Faye-Lund2022-06-021-27/+0
| | | | | | | | | | | We now require C11, and C++ supports static_assert just fine, which is the only thing this header ever added support for. So let's get rid of this needless header. Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com> Reviewed-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16812>
* include: drop c99_math.hErik Faye-Lund2022-06-021-210/+0
| | | | | | | | | | | Since we now depend on C11, we know that we have support for the C99 math functionality. So let's drop the c99_math.h compatibility wrapper, and just include <math.h> directly. Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com> Reviewed-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16812>
* include: remove needless c99_compat.h includesErik Faye-Lund2022-06-022-3/+0
| | | | | | | Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com> Reviewed-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16812>
* c99_compat.h: remove inline and __func__ shimsErik Faye-Lund2022-06-021-50/+0
| | | | | | | | | | We're requiring C11 now, and both "inline" and __func__ is supported in C++ code as well. So no need for these compatibility-shims anymore. Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com> Reviewed-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16812>
* include: update amdgpu_drm.hMarek Olšák2022-05-161-0/+12
| | | | | Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16466>
* intel/dev: Enable first set of DG2 PCI IDsJordan Justen2022-05-121-21/+19
| | | | | | | | | | | | | | | | | Mostly Matt Roper's kernel patch commit message: The IDs added here are the subset reserved for 'motherboard down' designs of DG2. We have all the necessary support upstream to enable these now. The remaining DG2 IDs for add-in cards will be enabled in a future patch once some additional required functionality has fully landed. Ref: https://patchwork.freedesktop.org/patch/msgid/20220425211251.77154-3-matthew.d.roper@intel.com Cc: 22.1 <mesa-stable> Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16449>
* intel/dev: Add DG2 G12 PCI IDsJordan Justen2022-05-121-0/+6
| | | | | | | | | Ref: https://patchwork.freedesktop.org/patch/483381/?series=103098&rev=1 Ref: https://patchwork.freedesktop.org/patch/msgid/20220425211251.77154-3-matthew.d.roper@intel.com Cc: 22.1 <mesa-stable> Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16449>
* ac/surface: define gfx11 modifiersMarek Olšák2022-05-101-0/+2
| | | | | Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16328>
* intel/dev: add RPL-S pci ids from drm-intel-nextJonathan Gray2022-05-041-0/+2
| | | | | | | from Tejas Upadhyay 'drm/i915: Add RPL-S PCI IDs' in drm-intel-next Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16320>
* kopper: Grow a swap interval APIAdam Jackson2022-05-041-0/+1
| | | | | | | | | | | We take a slight liberty here by allowing 0 to mean either MAILBOX or IMMEDIATE, since Wayland (at least) doesn't have a true IMMEDIATE mode at least MAILBOX won't throttle to vblank. This only correctly handles intervals of 0 or 1 at the moment. Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15800>
* intel/dev: sync ADL-S pci ids with linuxJonathan Gray2022-05-041-4/+1
| | | | | | | | sync ADL-S pci ids with linux c79b846f892d ("drm/i915/adl_s: Update ADL-S PCI IDs") Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16317>
* include/uapi: Update drm_fourcc.h from kernelAnuj Phogat2022-04-281-1/+71
| | | | | | | | | | | Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> v2. Pull in the header from drm-next at commit 9035039e1ed691cd893777a42e048003a2f349d6 Cc: 22.1 <mesa-stable> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14521>