summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* intel/dev: remove dg2 0x5698 pci idJonathan Gray2023-05-171-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>
* vulkan: Update XML and headers to 1.3.250Samuel Pitoiset2023-05-091-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>
* vulkan: bump headers to 1.3.249Lionel Landwerlin2023-05-042-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}>
* dri/android: Fix MSAA resolveRob Clark2023-04-271-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>
* amd: update amdgpu_drm.hPierre-Eric Pelloux-Prayer2023-04-271-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>
* amd: update amdgpu_drm.hPierre-Eric Pelloux-Prayer2023-04-251-0/+18
| | | | | Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21986>
* vulkan: Update XML and headers to 1.3.246Samuel Pitoiset2023-03-312-1/+179
| | | | | Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22231>
* anv: Partialy import drm-uapi/gpu_scheduler.h and use itJosé Roberto de Souza2023-03-241-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>
* intel: Sync xe_drm.hJosé Roberto de Souza2023-03-241-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>
* freedreno/msm: Rename drm_msm_gem_submit_reloc::or in C++ codeDanylo Piliaiev2023-03-241-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>
* vulkan: Update XML and headers to 1.3.244Faith Ekstrand2023-03-204-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>
* intel/dev: Enable MTL PCI idsJordan Justen2023-03-131-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>
* intel: Pull in xe_drm.hJosé Roberto de Souza2023-03-031-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>
* amd: update amdgpu_drm.hMarek Olšák2023-03-031-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>
* amd: implement conformant TRUNC_COORD behavior for gfx11Marek Olšák2023-02-241-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>
* hgl: removeX5122023-02-185-312/+0
| | | | | | Use EGL and glvnd instead on Haiku platform. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21079>
* vulkan: Update the XML and headers to 1.3.241Faith Ekstrand2023-02-1728-126/+363
| | | | | Acked-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21225>
* egl/kopper: Pass ancillary invalidate flush flags down to gallium.Emma Anholt2023-02-151-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>
* intel/dev: Add another EHL pci idJonathan Gray2023-02-061-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>
* intel/dev: remove invalid EHL pci idJonathan Gray2023-02-061-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>
* amd: update amdgpu_drm.hMarek Olšák2023-02-011-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>
* drm-uapi/dma-buf.h: use __u32/__u64 typesPierre-Eric Pelloux-Prayer2023-01-251-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>
* drm-uapi/dma-buf.h: unbreak on non-Linux via local typedefsJan Beich2023-01-111-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>
* drm-uapi/dma-buf.h: Update from drm-misc-next (2022-06-10)Jason Ekstrand2023-01-111-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>
* glx: Remove dead declarations from <GL/glx.h>Adam Jackson2023-01-031-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>
* include: Sync <GL/glxext.h> with KhronosAdam Jackson2023-01-031-22/+7
| | | | | Acked-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20300>
* vulkan: update headers/registry to 1.3.238 for video decodeDave Airlie2022-12-208-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>
* egl: Replace sRGB support check with a pscreen query.Emma Anholt2022-12-091-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>
* egl+glx: Always support no_error contexts.Emma Anholt2022-12-051-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>
* egl: Collapse a bunch of renderer queries into pipe cap queries.Emma Anholt2022-12-051-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>
* dri: Add createContext hook to __DRI_MESA.Emma Anholt2022-12-051-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>
* gallium/dri: Move the backendVtable InitScreen func into __DRI_MESA.Emma Anholt2022-12-051-0/+5
| | | | | Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20069>
* dri: Add createNewScreen into the __DRI_MESA extension.Emma Anholt2022-12-051-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>
* dri: Introduce internal Mesa DRI driver loader extension.Emma Anholt2022-12-051-0/+51
| | | | | | | | | | | All DRI loaders in Mesa (EGL, GLX, gbm) now require this ext and that the driver come from a matching build. This will let us use Mesa-internal types and enums across the loader-driver bounary inside of Mesa. Reviewed-by: Adam Jackson <ajax@redhat.com> Acked-by: Eric Engestrom <eric@igalia.com> LOL-YESed-by: Kristian Høgsberg <krh@bitplanet.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20069>
* intel/dev: Add (disabled) device info for MTLJordan Justen2022-12-011-0/+6
| | | | | | | | | | | | | | | | | | | Reworks: * Jordan: INTEL_PLATFORM_MTL_M/INTEL_PLATFORM_MTL_P * Lionel: .has_coarse_pixel_primitive_and_cb * Jordan: .has_mesh_shading & .has_ray_tracing * Paulo: .has_64bit_float * José: .has_integer_dword_mul (BSpec: 47431) * Jordan: Comment pci device ids for now similar to DG2: * 70a4e646852 ("intel: Add *disabled* device ids for DG2") * ad565f6b70d ("intel/dev: Enable first set of DG2 PCI IDs") 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> Signed-off-by: José Roberto de Souza <jose.souza@intel.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19658>
* dri: Add notes on what part of the loader interface are used by Xorg.Emma Anholt2022-12-011-14/+70
| | | | | Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20044>
* dri: move private __DRIDriverVtableExtension out of dri_interface.hMarek Olšák2022-11-271-17/+0
| | | | | | | It's only used internally. Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19741>
* include: Update the OpenCL headersJason Ekstrand2022-11-1819-11754/+12984
| | | | | | | | | | | This syncs all our headers with their canonical versions from Khronos. Of particular note, CL headers repo does not have cl.hpp and cl2.hpp has been depricated all in favor of opencl.hpp which is the new canonical header. Fortunately, nothing in Mesa uses any of the C++ headers so this shouldn't break anything. Acked-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19816>
* vulkan: Update the XML and headers to 1.3.235Jason Ekstrand2022-11-171-2/+387
| | | | | Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19815>
* drm-uapi: import i915_drm.h changes for the new OA report typeLionel Landwerlin2022-11-171-0/+10
| | | | | | | | To be replace by a proper drm-next update. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Ivan Briano <ivan.briano@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18893>
* zink: Only #include <vulkan/vulkan_core.h> instead #include ↵Yonggang Luo2022-11-101-23/+17
| | | | | | | | | | | <vulkan/vulkan.h> in kopper_interface.h It's pulled too much system dependent headers before this commit when #include <vulkan/vulkan.h> directly, Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19491>
* zink: struct kopper_surface is not accessed, remove it in kopper_interface.hYonggang Luo2022-11-101-2/+0
| | | | | | Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19491>
* panfrost: Fix build with Perfetto (again)Alyssa Rosenzweig2022-11-091-1/+1
| | | | | | | | | | | | Sync UAPI for the upstream fix. Upstream commit: https://cgit.freedesktop.org/drm-misc/commit/?h=drm-misc-fixes&id=c4299907c09a638c0a30f029338d07941c049d73 Closes: #7195 Fixes: 6a4532cbabf ("panfrost: Sync panfrost_drm.h from drm-misc-next") Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Tested-by: Chris Healy <healych@amazon.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19581>
* drm-uapi: bump headersLucas Stach2022-11-033-5/+96
| | | | | | | | | | | | | | | From drm-next at the following commit: commit 7f7a942c0a338c4a2a7b359bdb2b68e9896122ec Merge: 0a20a3ea4259 ddcb8fa6514f Author: Dave Airlie <airlied@redhat.com> Date: Thu Oct 27 14:44:02 2022 +1000 Merge tag 'drm-next-20221025' of git://linuxtv.org/pinchartl/media into drm-next Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9780>
* mesa: sync GLAPIENTRY with KHRONOS_APIENTRY in GL/gl.hYonggang Luo2022-11-031-3/+4
| | | | | | | | Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Acked-by: Brian Paul brianp@vmware.com Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19472>
* mesa: BUILD_GL32 is not used anymoreYonggang Luo2022-11-031-5/+1
| | | | | | | | | | Remove usage of BUILD_GL32 in GL/gl.h Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Acked-by: Brian Paul brianp@vmware.com Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19472>
* include: Add driver data to v2 of mesa_glinterop_device_infoJesse Natalie2022-11-021-1/+13
| | | | | | Reviewed-by: Adam Jackson <ajax@redhat.com> Acked-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19242>
* include: Add a flush interop methodJesse Natalie2022-11-022-1/+57
| | | | | | Reviewed-by: Adam Jackson <ajax@redhat.com> Acked-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19242>
* include: Add WGL version of GL interop extensionsJesse Natalie2022-11-021-0/+38
| | | | | | Reviewed-by: Adam Jackson <ajax@redhat.com> Acked-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19242>
* egl: Add EGL_EXT_protected_content supportLionel Landwerlin2022-10-271-1/+10
| | | | | | 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>