summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2023-08-04drm-uapi: Import nouveau_drm.hFaith Ekstrand1-0/+463
From https://cgit.freedesktop.org/drm-misc/ commit e02238990b1ab2dfc8abb4c28369f1da6e863f81 Author: Danilo Krummrich <dakr@redhat.com> Date: Fri Aug 4 20:23:43 2023 +0200 drm/nouveau: new VM_BIND uAPI interfaces Signed-off-by: Faith Ekstrand <faith.ekstrand@collabora.com> Reviewed-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
2023-08-04vulkan: bump header register to 1.3.261Samuel Pitoiset2-20/+321
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24365>
2023-07-28dri: Support 1555/4444 formatsDaniel Stone1-0/+7
Add support for 1555 and 4444 formats, both in RGB/BGR ordering, with and without alpha. These are already supported by Gallium and drivers, but not yet for winsys surfaces. Adding these is enough to make them renderable when using Weston on iris. Signed-off-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24331>
2023-07-27kopper: pass modifier availability to drawable creationMike Blumenkrantz1-0/+1
Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24075>
2023-07-27kopper: move pixmap param for drawable creation to info structMike Blumenkrantz1-1/+6
no functional changes Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24075>
2023-07-25intel: Sync xe_drm.hJosé Roberto de Souza1-99/+313
Sync with commit aef50195664a ("drm/xe/uapi: add the userspace bits for small-bar") Link: https://patchwork.freedesktop.org/series/115515/ Signed-off-by: José Roberto de Souza <jose.souza@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23781>
2023-07-21vulkan: bump header register to 1.3.258Lionel Landwerlin18-82/+582
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Acked-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24279>
2023-06-27drm-uapi/i915_drm.h: Update from drm-next (2023-06-09)Jordan Justen1-1/+43
git://anongit.freedesktop.org/drm/drm 2222dcb0775d36de28992f56455ab3967b30d380 The motivation for this change in to get the uapi changes from: commit 81b1b599dfd71c958418dad586fa72c8d30d1065 Author: Fei Yang <fei.yang@intel.com> Date: Tue Jun 6 12:00:42 2023 +0200 drm/i915: Allow user to set cache at BO creation Specifically, the I915_GEM_CREATE_EXT_SET_PAT extension. 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/22878>
2023-06-25vulkan: Update XML and headers to 1.3.255Caio Oliveira1-1/+67
Acked-by: Ivan Briano <ivan.briano@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23837>
2023-06-20vulkan: registry/headers bump to 1.3.254Lionel Landwerlin3-145/+462
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Constantine Shablya <constantine.shablya@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23716>
2023-06-16include/uapi: Update drm_fourcc.h from drm kernelJianxun Zhang1-0/+43
From: ba57b9b11f78530146f02b776854b2b6b6d344a4 Merge: 959294e47953 24335848e543 Author: Dave Airlie <airlied@redhat.com> Date: Fri Jun 9 16:43:35 2023 +1000 Merge tag 'drm-intel-gt-next-2023-06-08' of git://anongit.freedesktop.org/drm/drm-intel into drm-next UAPI Changes: - I915_GEM_CREATE_EXT_SET_PAT for Mesa on Meteorlake. Signed-off-by: Jianxun Zhang <jianxun.zhang@intel.com> Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Nanley Chery <nanley.g.chery@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20327>
2023-06-16dri: Replace usage of boolean/TRUE/FALSE with bool/true/falseYonggang Luo1-11/+9
First do the find/replace in src/gallium/frontends/dri/ folder, then fixes the compiling errors manually: Because of this, the prototype of functions in include/GL/internal/dri_interface.h are changed Acked-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23582>
2023-06-12drm-uapi: bump headers (except AMD)Alan Previn7-37/+193
NOTE: skipped AMD header update due to build error. From drm-next at the following commit: commit 2e1492835e439fceba57a5b0f9b17da8e78ffa3d Merge: 85d712f033d2 43049f17b526 Author: Dave Airlie <airlied@redhat.com> Date: Fri Jun 2 13:38:48 2023 +1000 Merge tag 'drm-misc-next-2023-06-01' of git://anongit.freedesktop.org/drm/drm-misc into drm-next Signed-off-by: Alan Previn <alan.previn.teres.alexis@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23382>
2023-06-07Update OpenGL headersSimon Ser15-421/+582
Token from commit 91cdaf381d77b6e700654ecd78cb88a95c1fde1a of OpenGL-Registry. Signed-off-by: Simon Ser <contact@emersion.fr> Reviewed-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23144>
2023-05-29vulkan: Update XML and headers to 1.3.251Samuel Pitoiset1-1/+13
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23292>
2023-05-27intel: Sync xe_drm.hChristopher Snowhill1-1/+33
My second attempt at a minimally invasive reshuffle of the uAPI, this time only forcibly aligning structures to 32-bits or 64-bits depending on the members which follow, so that 64-bit userspace is identical to the current unmerged kernel module, and the 32-bit compat userspace aligns with that, and functions rather than crashing. Should work just fine with the current drm-xe-next Git tree, which is rebased on 6.3.0-1, with a few extra changes, as of this commit. Based on commit 2cd469458fcc24c5f345ad39721a1aedaf70ec0f ("drm/xe: Add explicit padding to uAPI definition") Signed-off-by: Christopher Snowhill <kode54@gmail.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22652>
2023-05-24intel/dev: provide helper to check if devinfo is ATS-MTapani Pälli1-2/+2
Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20784>
2023-05-17intel/dev: remove dg2 0x5698 pci idJonathan Gray1-1/+0
0x5698 is now reserved for future use From Matt Roper in linux 3a38be31ec82 ("drm/i915/dg2: Drop one PCI ID") Fixes: 65c9a810eed ("intel/pci_ids: Add dg2 0x5698 pci-id") Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22985>
2023-05-09vulkan: Update XML and headers to 1.3.250Samuel Pitoiset1-1/+21
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22849>
2023-05-04vulkan: bump headers to 1.3.249Lionel Landwerlin2-9/+24
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <f{merge_request.web_url}>
2023-04-27dri/android: Fix MSAA resolveRob Clark1-1/+2
Commit f9a074dd550 ("dri2/android: Bypass throttling") dropped unnecessary throtting in the SwapBuffers() path for android. But unfortunately MSAA resolve got tangled up in the throttle reason flag. So add a new flag that indicates "no throttingling, but yes please do MSAA resolve". Fixes: f9a074dd550 ("dri2/android: Bypass throttling") Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22719>
2023-04-27amd: update amdgpu_drm.hPierre-Eric Pelloux-Prayer1-0/+2
Reviewed-by: André Almeida <andrealmeid@igalia.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22290>
2023-04-25amd: update amdgpu_drm.hPierre-Eric Pelloux-Prayer1-0/+18
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21986>
2023-03-31vulkan: Update XML and headers to 1.3.246Samuel Pitoiset2-1/+179
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22231>
2023-03-24anv: Partialy import drm-uapi/gpu_scheduler.h and use itJosé Roberto de Souza1-0/+44
To replace the hard-coded values. Not fully importing gpu_scheduler.h because it includes several Linux specific headers that will make the life of anyone porting Xe to other Unix harder. Signed-off-by: José Roberto de Souza <jose.souza@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22112>
2023-03-24intel: Sync xe_drm.hJosé Roberto de Souza1-9/+10
Based on commit f6e26dff8fa3 ("drm/xe: Add max engine priority to xe query") Signed-off-by: José Roberto de Souza <jose.souza@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22112>
2023-03-24freedreno/msm: Rename drm_msm_gem_submit_reloc::or in C++ codeDanylo Piliaiev1-0/+4
Clashes with C++ `or` keyword Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21931>
2023-03-20vulkan: Update XML and headers to 1.3.244Faith Ekstrand4-187/+184
Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Acked-by: Iván Briano <ivan.briano@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22031>
2023-03-13intel/dev: Enable MTL PCI idsJordan Justen1-5/+5
Ref: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/drm/i915_pciids.h?h=v6.0-rc4#n736 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Signed-off-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/18481>
2023-03-03intel: Pull in xe_drm.hJosé Roberto de Souza1-0/+807
This is the uapi of the new Xe kernel driver. Signed-off-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21368>
2023-03-03amd: update amdgpu_drm.hMarek Olšák1-0/+10
From kernel commit 817714d9665e. Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21641>
2023-02-24amd: implement conformant TRUNC_COORD behavior for gfx11Marek Olšák1-0/+1
For testing, the conformant behavior can be enabled by setting conformant_trunc_coord to true manually and running this to enable the conformant behavior in hw: umr -w *.*.regTA_CNTL2 0x40000 The layer index rounding and TRUNC_COORD resetting workarounds can disabled in the shader compiler. Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21525>
2023-02-18hgl: removeX5125-312/+0
Use EGL and glvnd instead on Haiku platform. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21079>
2023-02-17vulkan: Update the XML and headers to 1.3.241Faith Ekstrand28-126/+363
Acked-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21225>
2023-02-15egl/kopper: Pass ancillary invalidate flush flags down to gallium.Emma Anholt1-1/+2
We can just add the flags to the kopper interface, since it's private to Mesa. This gets us depth/stencil invalidation on swapbuffers, which is critical for tiler performance. glmark2-es2 -b texture (windowed) goes from 1650 to 1930 fps on zink+turnip with ZINK_DEBUG=rp. Part of #7321 (we're still a little behind freedreno's 2180 fps) 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/21317>
2023-02-06intel/dev: Add another EHL pci idJonathan Gray1-0/+1
described as "32 Execution Unit (EU) Super SKU" in: Intel Atom x6000E Series, and Intel Pentium and Celeron N and J Series Processors for IoT Applications Datasheet, Volume 1 Document Number: 636112-1.6 Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21129>
2023-02-06intel/dev: remove invalid EHL pci idJonathan Gray1-1/+0
removed in linux 0e8e272f1368 ("drm/i915/ehl: Remove invalid PCI ID") Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21129>
2023-02-01amd: update amdgpu_drm.hMarek Olšák1-2/+26
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20790>
2023-01-25drm-uapi/dma-buf.h: use __u32/__u64 typesPierre-Eric Pelloux-Prayer1-2/+2
Otherwise we might get build errors: https://gitlab.freedesktop.org/mesa/mesa/-/jobs/34886940 Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20728>
2023-01-11drm-uapi/dma-buf.h: unbreak on non-Linux via local typedefsJan Beich1-0/+18
In file included from src/vulkan/wsi/wsi_common_drm.c:34: include/drm-uapi/dma-buf.h:23:10: fatal error: 'linux/types.h' file not found #include <linux/types.h> ^~~~~~~~~~~~~~~ Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com> Acked-by: Daniel Stone <daniels@collabora.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16987>
2023-01-11drm-uapi/dma-buf.h: Update from drm-misc-next (2022-06-10)Jason Ekstrand1-0/+182
From https://cgit.freedesktop.org/drm-misc/ 9cc4853e4781bf0dd0f35355dc92d97c9da02f5d Author: Antonio Borneo <antonio.borneo@foss.st.com> Date: Tue Jun 7 23:31:44 2022 +0200 drm: adv7511: override i2c address of cec before accessing it This version has the new sync_file import/export ioctls. Acked-by: Daniel Stone <daniels@collabora.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16987>
2023-01-03glx: Remove dead declarations from <GL/glx.h>Adam Jackson1-70/+0
MESA_swap_control is defined in glxext.h now. MESA_swap_frame_usage was removed in Mesa 7.9 in 2010. The other two were never specified or implemented. Acked-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20300>
2023-01-03include: Sync <GL/glxext.h> with KhronosAdam Jackson1-22/+7
Acked-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20300>
2022-12-20vulkan: update headers/registry to 1.3.238 for video decodeDave Airlie8-621/+673
This moves the video decoding to KHR and out of beta. Acked-by: Jason Ekstrand <jason.ekstrand@collabora.com> Acked-by: Yonggang Luo <luoyonggang@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20384>
2022-12-09egl: Replace sRGB support check with a pscreen query.Emma Anholt1-4/+0
This drops the remaining use of rendererQuery from EGL. Reviewed-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20171>
2022-12-05egl+glx: Always support no_error contexts.Emma Anholt1-3/+2
Since we know we're loading this Mesa build, we know that no_error is always supported (the renderer query always returned true). Reviewed-by: Adam Jackson <ajax@redhat.com> Acked-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20069>
2022-12-05egl: Collapse a bunch of renderer queries into pipe cap queries.Emma Anholt1-12/+0
Now that we can access the pipe screen through the dri_screen, we can skip some indirection. Reviewed-by: Adam Jackson <ajax@redhat.com> Acked-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20069>
2022-12-05dri: Add createContext hook to __DRI_MESA.Emma Anholt1-0/+2
Again, reduces switching on driver type in the loader. Reviewed-by: Adam Jackson <ajax@redhat.com> Acked-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20069>
2022-12-05gallium/dri: Move the backendVtable InitScreen func into __DRI_MESA.Emma Anholt1-0/+5
Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20069>
2022-12-05dri: Add createNewScreen into the __DRI_MESA extension.Emma Anholt1-0/+8
Now the loaders don't have to switch on dri2/dri3/swrast. Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20069>