summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
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>
2019-03-06meson: remove unused include_directories(vulkan)Eric Engestrom1-1/+0
The correct include path is "vulkan/…". Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
2019-03-05vulkan: import vk_layer.h from KhronosEric Engestrom1-0/+195
Instead of relying on the system having it (and the right version). Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2019-03-05vulkan: import missing file from KhronosEric Engestrom1-0/+66
Fixes: 114c4aa0c84fc6d00407 "vulkan: update headers/registry to 1.1.102" Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2019-03-05vulkan: update headers/registry to 1.1.102Lionel Landwerlin2-1/+40
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
2019-03-05meson: avoid going back up the tree with include_directories()Eric Engestrom1-0/+1
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
2019-02-26include/CL: Update to the latest OpenCL 2.2 headersPierre Moreau17-2464/+23131
Acked-by: Francisco Jerez <currojerez@riseup.net> Reviewed-by: Karol Herbst <kherbst@redhat.com>
2019-02-26dri: Add XYUV8888 formatKasireddy, Vivek1-0/+2
In addition to adding this format to the dri_interface header, add an entry in the android and wayland backends as well. Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
2019-02-26drm-uapi: Update headers from drm-nextVivek Kasireddy7-16/+849
Pull new updates from drm-next as of the following commit: commit a5f2fafece141ef3509e686cea576366d55cabb6 Merge: 71f4e45a4ed3 860433ed2a55 Author: Dave Airlie <airlied@redhat.com> Date: Wed Feb 20 12:16:30 2019 +1000 Merge https://gitlab.freedesktop.org/drm/msm into drm-next Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
2019-02-26dri_interface: add missing #includeEric Engestrom1-0/+2
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
2019-02-21iris: Initial commit of a new 'iris' driver for Intel Gen8+ GPUs.Kenneth Graunke1-4/+6
This commit introduces a new Gallium driver for Intel Gen8+ GPUs, named 'iris_dri.so' after the hardware. Developed by: - Kenneth Graunke (overall driver) - Dave Airlie (shaders, conditional render, overflow query, Gen8 port) - Chris Wilson (fencing, pinned memory, ...) - Jordan Justen (compute shaders) - Jason Ekstrand (image load store) - Caio Marcelo de Oliveira Filho (tessellation control passthrough) - Rafael Antognolli (auxiliary buffer fixes) - The rest of the i965 contributors and the Mesa community
2019-02-20vulkan: Update the XML and headers to 1.1.101Lionel Landwerlin1-2/+135
2019-02-14drm-uapi: use local files, not system libdrmEric Engestrom1-1/+0
There was an issue recently caused by the system header being included by mistake, so let's just get rid of this include path and always explicitly #include "drm-uapi/FOO.h" Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Kristian H. Kristensen <hoegsberg@chromium.org>
2019-02-14drm-uapi/README: remove explicit list of driver namesEric Engestrom1-2/+2
These headers are used by a lot more than just the intel drivers nowadays. Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Kristian H. Kristensen <hoegsberg@chromium.org>
2019-02-12dri: add P010, P012, P016 for 10bit/12bit/16bit YUV420 formatsTapani Pälli1-0/+4
Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Signed-off-by: Lin Johnson <johnson.lin@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2019-02-04intel: Add more PCI Device IDs for Coffee Lake and Ice Lake.Rodrigo Vivi1-0/+5
Align with kernel commits: 5e0f5a58b167 ("drm/i915/cfl: Adding another PCI Device ID.") 03ca3cf8e9aa ("drm/i915/icl: Adding few more device IDs for Ice Lake") Cc: José Roberto de Souza <jose.souza@intel.com> Cc: Kenneth Graunke <kenneth@whitecape.org> Cc: Anuj Phogat <anuj.phogat@gmail.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2019-01-25dri_interface: add put shm image2 (v2)Dave Airlie1-1/+18
This adds a new interface to the swrast interface to fix an shm put image bug. The current code adds the x,y src offsets into the offset parameters, however if the x offset is > 0, and the put image copies up to the height of the image, this can trigger an X server validation check to fail and the renderering to get BadMatch. This patch fixes it to pass the x offset coord in as a src x. We cannot pass the Y coordinate due to the horrible code mangling the image w/h vs stride in swrastXPutImage. v2: drop srcx,y from api Cc: <mesa-stable@lists.freedesktop.org> Reviewed-by: Adam Jackson <ajax@redhat.com>
2019-01-24egl: update headers from KhronosEric Engestrom2-8/+24
Cheating a tiny bit as these headers aren't in the Khronos repo yet, but I expect them to be within a couple days. Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
2019-01-22freedreno: drm_fourcc.h header includeFritz Koenig1-0/+13
Add Qualcomm modifier for UBWC
2019-01-07vulkan: Update the XML and headers to 1.1.97Jason Ekstrand12-13/+164
Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
2018-12-21pci_ids: add new VegaM pci idAlex Deucher1-0/+1
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: mesa-stable@lists.freedesktop.org
2018-12-17vulkan: Update the XML and headers to 1.1.96Jason Ekstrand1-8/+8
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2018-12-14pci_ids: add new vega20 pci idAlex Deucher1-0/+1
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: mesa-stable@lists.freedesktop.org
2018-12-14pci_ids: add new vega10 pci idsAlex Deucher1-1/+7
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: mesa-stable@lists.freedesktop.org
2018-12-07v3d: Add the V3D TFU submit interface to the simulator.Eric Anholt1-2/+37
The TFU lets us format raster and SAND images into formats that can be read by the texture engine, and do mipmap generation. The UAPI comes from drm-next e69aa5f9b97f ("Merge tag 'drm-misc-next-2018-12-06' of git://anongit.freedesktop.org/drm/drm-misc into drm-next")
2018-12-03vulkan: Update the XML and headers to 1.1.95Jason Ekstrand1-6/+103
Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
2018-11-22vulkan: Update the XML and headers to 1.1.93Jason Ekstrand1-5/+30
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
2018-11-12dri: add AYUV formatLionel Landwerlin1-0/+2
v2: Add a AYUV entry android in the android backend (Tapani) Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
2018-11-06vulkan: Update the XML and headers to 1.1.91Jason Ekstrand3-280/+271
The biggest change here is the rename of VK_NVX_ray_tracing to VK_NV_ray_tracing and the total removal of VK_KHR_mir_surface. Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2018-10-29vulkan: Update the XML and headers to 1.1.90Jason Ekstrand1-4/+4
This doesn't include any new features but it does include an XML and header typo fix for modifiers. Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
2018-10-26d3dadapter: Fix wrong naming in header fileAxel Davy1-1/+1
GetWindowInfo used to be GetWindowSize before gallium nine was merged. A left-over remained... Signed-off-by: Axel Davy <davyaxel0@gmail.com>
2018-10-15i965: Add PCI IDs for new Amberlake parts that are Coffeelake basedKenneth Graunke1-2/+3
See commit c0c46ca461f136a0ae1ed69da6c874e850aeeb53 in the Linux kernel, where José Roberto de Souza added this new PCI ID there. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2018-10-15vulkan: Add the fuchsia headersJason Ekstrand2-0/+62
These were missing in the last couple of spec updates. Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2018-10-13vulkan: Update the XML and headers to 1.1.88Samuel Pitoiset1-3/+241
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Acked-by: Jason Ekstrand <jason@jlekstrand.net>
2018-10-11intel: Introducing Whiskey Lake platformRodrigo Vivi1-5/+5
Whiskey Lake uses the same gen graphics as Coffe Lake, including some ids that were previously marked as reserved on Coffe Lake, but that now are moved to WHL page. This follows the ids and approach used on kernel's commit b9be78531d27 ("drm/i915/whl: Introducing Whiskey Lake platform") and commit c1c8f6fa731b ("drm/i915: Redefine some Whiskey Lake SKUs") v2: Lionel noticed that GT{1,2,3} on kernel wasn't following spec when looking to number of EUs, so kernel has been updated. Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Cc: José Roberto de Souza <jose.souza@intel.com> Cc: Anuj Phogat <anuj.phogat@gmail.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2018-10-02include: sync eglext.h from KhronosEric Engestrom1-5/+81
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Acked-by: Tapani Pälli <tapani.palli@intel.com>
2018-10-01vulkan: Update the XML and headers to 1.1.86Jason Ekstrand1-3/+642
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
2018-09-21pci_ids: add new polaris pci idAlex Deucher1-0/+1
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: mesa-stable@lists.freedesktop.org