Mesa (master): vulkan/wsi/wayland: fix leaks

2018-04-03 Thread Daniel Stone
Fixes: bfa22266cd ("vulkan/wsi/wayland: Add support for zwp_dmabuf") Reviewed-by: Daniel Stone <dani...@collabora.com> CC: Jason Ekstrand <ja...@jlekstrand.net> --- src/vulkan/wsi/wsi_common_wayland.c | 4 1 file changed, 4 insertions(+) diff --git a/src/vulkan/wsi

Mesa (master): st/dri: Initialise modifier to INVALID for DRI2

2018-04-02 Thread Daniel Stone
Module: Mesa Branch: master Commit: 4cbecb61682a0ee426faaa03d824fc8fd7aef826 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4cbecb61682a0ee426faaa03d824fc8fd7aef826 Author: Daniel Stone <dani...@collabora.com> Date: Mon Apr 2 13:20:34 2018 +0100 st/dri: Initialise mo

Mesa (master): x11: Only report supported DRI3/Present versions

2018-03-30 Thread Daniel Stone
Module: Mesa Branch: master Commit: 696762eef57e83b4027acbdf0a6e74d1f75083b0 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=696762eef57e83b4027acbdf0a6e74d1f75083b0 Author: Daniel Stone <dani...@collabora.com> Date: Thu Mar 22 15:23:49 2018 + x11: Only report supporte

Mesa (master): egl/wayland: Make swrast display_sync the correct queue

2018-03-22 Thread Daniel Stone
e sync callback we're waiting for). The easiest known reproduction case is running weston-subsurfaces under weston --use-pixman Signed-off-by: Derek Foreman <der...@osg.samsung.com> Reviewed-by: Daniel Stone <dani...@collabora.com> --- src/egl/drivers/dri2/platform_wayland.c | 2 +-

Mesa (master): dri3: Fix typo in version check

2018-03-20 Thread Daniel Stone
Module: Mesa Branch: master Commit: 9f3509665d880457487dff82a96132d2eb27a0b4 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9f3509665d880457487dff82a96132d2eb27a0b4 Author: Daniel Stone <dani...@collabora.com> Date: Tue Mar 20 16:05:13 2018 + dri3: Fix typo in version

Mesa (master): meson: Don't build svga by default on ARM/AArch64

2018-03-20 Thread Daniel Stone
Module: Mesa Branch: master Commit: bc5e59119ef6e7fdb5b54ce0a690a1ad43e6401c URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bc5e59119ef6e7fdb5b54ce0a690a1ad43e6401c Author: Daniel Stone <dani...@collabora.com> Date: Tue Feb 27 18:00:23 2018 + meson: Don't build svga by d

Mesa (master): meson: Add default DRI drivers for ARM/AArch64

2018-03-20 Thread Daniel Stone
Module: Mesa Branch: master Commit: d7603cb518cf1e0bf2c07d6ce4b139bf075b3980 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d7603cb518cf1e0bf2c07d6ce4b139bf075b3980 Author: Daniel Stone <dani...@collabora.com> Date: Tue Feb 27 10:00:24 2018 + meson: Add default DRI d

Mesa (master): dri3: Don't fail on version mismatch

2018-03-20 Thread Daniel Stone
Module: Mesa Branch: master Commit: 478fc2d2a1a392108f48a3ed9aa21b10be72b4a2 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=478fc2d2a1a392108f48a3ed9aa21b10be72b4a2 Author: Daniel Stone <dani...@collabora.com> Date: Mon Mar 19 15:03:22 2018 + dri3: Don't fail on version mi

Mesa (master): vulkan/wsi/x11: Add support for DRI3 v1.2

2018-03-09 Thread Daniel Stone
Module: Mesa Branch: master Commit: c80c08e226033e9e33abdca43e02e7f8c845ae0a URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c80c08e226033e9e33abdca43e02e7f8c845ae0a Author: Daniel Stone <dani...@collabora.com> Date: Thu Jun 8 17:24:30 2017 +0100 vulkan/wsi/x11: Add support fo

Mesa (master): egl/x11: Support DRI3 v1.1

2018-03-09 Thread Daniel Stone
nne <l...@collabora.com> Reviewed-by: Eric Engestrom <eric.engest...@imgtec.com> Reviewed-by: Emil Velikov <emil.veli...@collabora.com> Reviewed-by: Daniel Stone <dani...@collabora.com> --- src/egl/drivers/dri2/egl_dri2.c | 7 + src/egl/drivers/dri2/egl_dri2.h

Mesa (master): egl/x11: Re-allocate buffers if format is suboptimal

2018-03-09 Thread Daniel Stone
nne <l...@collabora.com> Reviewed-by: Daniel Stone <dani...@collabora.com> --- src/egl/drivers/dri2/egl_dri2.c | 2 ++ src/egl/drivers/dri2/egl_dri2.h | 2 ++ src/egl/drivers/dri2/platform_x11_dri3.c | 3 +++ src/glx/dri3_glx.c |

Mesa (master): vulkan/wsi/x11: Return VK_SUBOPTIMAL_KHR for X11

2018-03-09 Thread Daniel Stone
Return VK_SUBOPTIMAL_KHR for X11 When it is detected that a window could have been flipped but has been copied because of suboptimal format/modifier. The Vulkan client should then re-create the swapchain. Signed-off-by: Louis-Francis Ratté-Boulianne <l...@collabora.com> Reviewed-by: Daniel

Mesa (master): build: Move wayland-protocols check into platform

2018-02-26 Thread Daniel Stone
Module: Mesa Branch: master Commit: d33cd875e89b894eb9f848f702ba17a70478d2b8 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d33cd875e89b894eb9f848f702ba17a70478d2b8 Author: Daniel Stone <dani...@collabora.com> Date: Thu Feb 22 09:21:00 2018 + build: Move wayland-protocols

Mesa (master): vulkan/wsi/wayland: Move Wayland protocol from BUILT_SOURCES

2018-02-26 Thread Daniel Stone
Module: Mesa Branch: master Commit: d8f19d9aa03b50feaf8583b26ff5561ea2a56101 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d8f19d9aa03b50feaf8583b26ff5561ea2a56101 Author: Daniel Stone <dani...@collabora.com> Date: Fri Feb 23 11:15:11 2018 + vulkan/wsi/wayland: Move W

Mesa (master): build: Move wayland-scanner check into platform

2018-02-26 Thread Daniel Stone
Module: Mesa Branch: master Commit: 61d6ff3ba3c0a21239641f4d5fe8d4fa9c864325 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=61d6ff3ba3c0a21239641f4d5fe8d4fa9c864325 Author: Daniel Stone <dani...@collabora.com> Date: Thu Feb 22 09:22:36 2018 + build: Move wayland-scanner

Mesa (master): meson: Fix GL and EGL pkg-config files with glvnd

2018-02-23 Thread Daniel Stone
needs to provide many of the header files, which makes it a more involved job. Fixes: a47c525f3281a27 ("meson: build glx") Fixes: 035ec7a2bb2d5e4 ("meson: Add support for EGL glvnd") Signed-off-by: Dylan Baker <dylan.c.ba...@intel.com> Reviewed-by: Daniel Stone <dani

Mesa (master): vulkan/wsi: Add drm_modifier member to wsi_image

2018-02-21 Thread Daniel Stone
Module: Mesa Branch: master Commit: 55b27e1e5f21d62855e955446a63afb5ef8b97a6 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=55b27e1e5f21d62855e955446a63afb5ef8b97a6 Author: Daniel Stone <dani...@collabora.com> Date: Fri Feb 9 15:43:26 2018 -0800 vulkan/wsi: Add drm_modifier

Mesa (master): vulkan/wsi/x11: Set OUT_OF_DATE if wait_for_special_event fails

2018-02-21 Thread Daniel Stone
F_DATE if wait_for_special_event fails This most likely means we lost our connection to the X server so OUT_OF_DATE is reasonable. This was also the one case where we pushed a UINT32_MAX into the queue without setting an error condition. Cc: mesa-sta...@lists.freedesktop.org Reviewed-by: Daniel

Mesa (master): vulkan/wsi: Add modifiers support to wsi_create_native_image

2018-02-21 Thread Daniel Stone
sition all of the structs used in wsi_common to the real extension structs. Reviewed-by: Daniel Stone <dani...@collabora.com> --- src/vulkan/wsi/wsi_common.c | 164 src/vulkan/wsi/wsi_common.h | 23 + src/vulkan/wsi/wsi_common_pri

Mesa (master): vulkan/wsi/wayland: Add support for zwp_dmabuf

2018-02-21 Thread Daniel Stone
Module: Mesa Branch: master Commit: bfa22266cd4d268e52d2535b41ef972421e66f71 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bfa22266cd4d268e52d2535b41ef972421e66f71 Author: Daniel Stone <dani...@collabora.com> Date: Fri Feb 9 15:43:30 2018 -0800 vulkan/wsi/wayland: Add s

Mesa (master): anv/image: Add support for modifiers for WSI

2018-02-21 Thread Daniel Stone
upport for modifiers for WSI This adds support for the modifiers portion of the WSI "extension". Reviewed-by: Daniel Stone <dani...@collabora.com> --- src/intel/vulkan/anv_formats.c | 38 ++ src/intel/vulkan/anv_image.c | 40 +++

Mesa (master): anv/image: Separate modifiers from legacy scanout

2018-02-21 Thread Daniel Stone
clear in the driver when we're using modifiers and when we're using legacy paths. v2 (Jason Ekstrand): - Rename legacy_scanout to needs_set_tiling Reviewed-by: Daniel Stone <dani...@collabora.com> --- src/intel/vulkan/anv_device.c | 22 ++ src/intel/vulkan/anv_im

Mesa (master): vulkan/wsi/x11: Consistently update and return swapchain status

2018-02-21 Thread Daniel Stone
Module: Mesa Branch: master Commit: c7e22483febd2f21452f8dff8f987c998f9a75f5 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c7e22483febd2f21452f8dff8f987c998f9a75f5 Author: Daniel Stone <dani...@collabora.com> Date: Tue Feb 20 20:56:02 2018 + vulkan/wsi/x11: Consistently

Mesa (master): vulkan/wsi: Add multiple planes to wsi_image

2018-02-21 Thread Daniel Stone
Module: Mesa Branch: master Commit: 61c3feb38dcae3feb1176426903ca8e0046edd12 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=61c3feb38dcae3feb1176426903ca8e0046edd12 Author: Daniel Stone <dani...@collabora.com> Date: Fri Feb 9 15:43:25 2018 -0800 vulkan/wsi: Add multiple

Mesa (master): x11/dri3: Store raw present completion mode

2018-02-21 Thread Daniel Stone
Module: Mesa Branch: master Commit: eef890b7b1216443bd75382f7f602e26338a7899 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=eef890b7b1216443bd75382f7f602e26338a7899 Author: Daniel Stone <dani...@collabora.com> Date: Wed Feb 21 10:39:34 2018 + x11/dri3: Store raw p

Mesa (master): x11/dri3: Don't open-code ARRAY_SIZE

2018-02-21 Thread Daniel Stone
Module: Mesa Branch: master Commit: a6f1952814c96f9d04360337e58cb30df02038f9 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a6f1952814c96f9d04360337e58cb30df02038f9 Author: Daniel Stone <dani...@collabora.com> Date: Wed Feb 21 11:39:09 2018 + x11/dri3: Don't open-code ARRA

Mesa (master): i965: Fix aux-surface size check

2018-02-17 Thread Daniel Stone
Module: Mesa Branch: master Commit: 9d21dbeb88bc99ca0e153c11265e19536ad36b61 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9d21dbeb88bc99ca0e153c11265e19536ad36b61 Author: Daniel Stone <dani...@collabora.com> Date: Thu Feb 15 15:04:51 2018 + i965: Fix aux-surface size

Mesa (master): meson: Move Wayland dmabuf to wayland-drm

2018-02-16 Thread Daniel Stone
Module: Mesa Branch: master Commit: f766e1afa58b1e02e1f54c54f5cadadfc339ecf0 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f766e1afa58b1e02e1f54c54f5cadadfc339ecf0 Author: Daniel Stone <dani...@collabora.com> Date: Thu Jan 25 08:29:38 2018 + meson: Move Wayland

Mesa (master): egl/wayland: Always use in-tree wayland-egl-backend.h

2018-02-16 Thread Daniel Stone
Module: Mesa Branch: master Commit: ff5432dc506111788ef19d25466b8c4ac91478d3 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ff5432dc506111788ef19d25466b8c4ac91478d3 Author: Daniel Stone <dani...@collabora.com> Date: Thu Feb 15 09:17:52 2018 + egl/wayland: Always use i

Mesa (master): dri: fromPlanar() can return NULL as a valid result

2018-02-15 Thread Daniel Stone
rancis Ratté-Boulianne <l...@collabora.com> Reviewed-by: Jason Ekstrand <ja...@jlekstrand.net> Reviewed-by: Daniel Stone <dani...@collabora.com> --- src/egl/drivers/dri2/egl_dri2.c | 3 ++- src/egl/drivers/dri2/platform_wayland.c | 9 +++-- src/gbm/backends/dri/gbm_d

Mesa (master): egl/x11: Fix leak in dri3_create_image_khr_pixmap

2018-02-14 Thread Daniel Stone
x leak in dri3_create_image_khr_pixmap bp_reply wasn't properly free'd Signed-off-by: Louis-Francis Ratté-Boulianne <l...@collabora.com> Reviewed-by: Daniel Stone <dani...@collabora.com> --- src/egl/drivers/dri2/platform_x11_dri3.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sr

Mesa (master): egl/gbm: Fix compiler warning about visual matching.

2018-02-12 Thread Daniel Stone
visual matching. The compiler doesn't know that num_visuals > 0. Fixes: 37a8d907cc16 ("egl/gbm: Ensure EGLConfigs match GBM surface format") Reviewed-by: Daniel Stone <dani...@collabora.com> --- src/egl/drivers/dri2/platform_drm.c | 2 +- 1 file changed, 1 insertion(+), 1 dele

Mesa (master): egl/wayland: Use proper enum type in visual definition

2018-02-09 Thread Daniel Stone
Module: Mesa Branch: master Commit: 66912641df480f53a0bac459fc7b6395d31c4eb3 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=66912641df480f53a0bac459fc7b6395d31c4eb3 Author: Daniel Stone <dani...@collabora.com> Date: Tue Feb 6 09:33:56 2018 + egl/wayland: Use proper enu

Mesa (master): egl/gbm: Remove duplicate format table

2018-02-09 Thread Daniel Stone
Module: Mesa Branch: master Commit: 8174e5b49e96a98a585b13074d6f1a68e70629d7 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8174e5b49e96a98a585b13074d6f1a68e70629d7 Author: Daniel Stone <dani...@collabora.com> Date: Tue Feb 6 17:44:37 2018 + egl/gbm: Remove duplicate

Mesa (master): gbm/dri: Add RGBA masks to GBM format table

2018-02-09 Thread Daniel Stone
Module: Mesa Branch: master Commit: 2ed344645d65f379f8196596b1b77534e28c URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2ed344645d65f379f8196596b1b77534e28c Author: Daniel Stone <dani...@collabora.com> Date: Tue Feb 6 17:38:37 2018 + gbm/dri: Add RGBA masks

Mesa (master): egl/wayland: Use visual map for DRIImage<->FourCC map

2018-02-09 Thread Daniel Stone
Module: Mesa Branch: master Commit: 4de98a9c07b599939143255214858c7525e814c4 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4de98a9c07b599939143255214858c7525e814c4 Author: Daniel Stone <dani...@collabora.com> Date: Tue Feb 6 11:51:17 2018 + egl/wayland: Use visu

Mesa (master): egl/wayland: Use an array for modifiers

2018-02-09 Thread Daniel Stone
Module: Mesa Branch: master Commit: 4732094cff302a10c167e0cb23851c19fccddbe0 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4732094cff302a10c167e0cb23851c19fccddbe0 Author: Daniel Stone <dani...@collabora.com> Date: Tue Feb 6 10:29:13 2018 + egl/wayland: Use an

Mesa (master): egl/wayland: Remove has_format enum

2018-02-09 Thread Daniel Stone
Module: Mesa Branch: master Commit: 5bc49d4cbf8c7c5d465dc994d0a0d2111f742705 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5bc49d4cbf8c7c5d465dc994d0a0d2111f742705 Author: Daniel Stone <dani...@collabora.com> Date: Tue Feb 6 11:14:32 2018 + egl/wayland: Remove has_forma

Mesa (master): egl/wayland: Hoist format <-> EGLConfig definition up

2018-02-09 Thread Daniel Stone
Module: Mesa Branch: master Commit: 19cbca38e45b609f21fb14d75b3bffbd6c6426d6 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=19cbca38e45b609f21fb14d75b3bffbd6c6426d6 Author: Daniel Stone <dani...@collabora.com> Date: Tue Feb 6 09:32:22 2018 + egl/wayland: Hoist

Mesa (master): gbm/dri: Expose visuals table through gbm_dri_device

2018-02-09 Thread Daniel Stone
Module: Mesa Branch: master Commit: 314714ac5311c39785d16c0f03484dbaf482c52b URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=314714ac5311c39785d16c0f03484dbaf482c52b Author: Daniel Stone <dani...@collabora.com> Date: Tue Feb 6 17:42:03 2018 + gbm/dri: Expose visuals

Mesa (master): egl/wayland: Widen channel masks to bpp

2018-02-09 Thread Daniel Stone
Module: Mesa Branch: master Commit: 845c2f61563f17193cfdec263f2b72ede20af3c7 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=845c2f61563f17193cfdec263f2b72ede20af3c7 Author: Daniel Stone <dani...@collabora.com> Date: Tue Feb 6 18:06:52 2018 + egl/wayland: Widen channel

Mesa (master): egl/wayland: Add bpp to visual map

2018-02-09 Thread Daniel Stone
Module: Mesa Branch: master Commit: d32b23f3830099a328b912957de881cf30a0ee7a URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d32b23f3830099a328b912957de881cf30a0ee7a Author: Daniel Stone <dani...@collabora.com> Date: Tue Feb 6 11:58:45 2018 + egl/wayland: Add bpp to visu

Mesa (master): egl/wayland: Use visual map for format advertisement

2018-02-09 Thread Daniel Stone
Module: Mesa Branch: master Commit: 68a80c11bd3b362d7782ded9c8c12ba0e9ecc933 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=68a80c11bd3b362d7782ded9c8c12ba0e9ecc933 Author: Daniel Stone <dani...@collabora.com> Date: Tue Feb 6 10:20:39 2018 + egl/wayland: Use visu

Mesa (master): egl/wayland: Use visual map for config->format lookup

2018-02-09 Thread Daniel Stone
Module: Mesa Branch: master Commit: a9cc4edb6077e9ccda5792c240358ba01df62aed URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a9cc4edb6077e9ccda5792c240358ba01df62aed Author: Daniel Stone <dani...@collabora.com> Date: Tue Feb 6 10:07:23 2018 + egl/wayland: Use visu

Mesa (master): egl/gbm: Ensure EGLConfigs match GBM surface format

2018-02-09 Thread Daniel Stone
Module: Mesa Branch: master Commit: 37a8d907cc167279f44e2e15f980cd93869a51f9 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=37a8d907cc167279f44e2e15f980cd93869a51f9 Author: Daniel Stone <dani...@collabora.com> Date: Tue Feb 6 17:59:05 2018 + egl/gbm: Ensure EGLConfigs mat

Mesa (master): egl/wayland: Fix ARGB/XRGB transposition in config map

2018-02-09 Thread Daniel Stone
Module: Mesa Branch: master Commit: 4fbd2d50b1c06a3c10f3a254e933646345123751 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4fbd2d50b1c06a3c10f3a254e933646345123751 Author: Daniel Stone <dani...@collabora.com> Date: Tue Feb 6 09:45:01 2018 + egl/wayland: Fix ARG

Mesa (master): egl/wayland: Add format enums to visual map

2018-02-09 Thread Daniel Stone
Module: Mesa Branch: master Commit: 1dc013f1ee2246e683d18b968c07f6ab9cf76981 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1dc013f1ee2246e683d18b968c07f6ab9cf76981 Author: Daniel Stone <dani...@collabora.com> Date: Tue Feb 6 09:42:27 2018 + egl/wayland: Add format

Mesa (master): egl/wayland: Use visual map for buffer_from_image

2018-02-09 Thread Daniel Stone
Module: Mesa Branch: master Commit: 3323ce72ff2d5de2fa7ad32d192c1a28ba8681e6 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3323ce72ff2d5de2fa7ad32d192c1a28ba8681e6 Author: Daniel Stone <dani...@collabora.com> Date: Tue Feb 6 10:15:32 2018 + egl/wayland: Use visu

Mesa (master): meson: wayland-egl depends on wayland-client

2017-10-26 Thread Daniel Stone
Module: Mesa Branch: master Commit: 9f7ed60b3eae9d3d20805e79c9ab67674619e2cd URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9f7ed60b3eae9d3d20805e79c9ab67674619e2cd Author: Daniel Stone <dani...@collabora.com> Date: Thu Oct 26 11:56:22 2017 +0100 meson: wayland-egl d

Mesa (master): egl/wayland: Don't use dmabuf with no modifiers

2017-10-04 Thread Daniel Stone
Module: Mesa Branch: master Commit: b65d6dafd602813c56ccc59a5d8ddb473fddfd74 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b65d6dafd602813c56ccc59a5d8ddb473fddfd74 Author: Daniel Stone <dani...@collabora.com> Date: Mon Oct 2 16:40:53 2017 +0100 egl/wayland: Don't use

Mesa (master): egl/wayland: Check queryImage return for wl_buffer

2017-10-04 Thread Daniel Stone
Module: Mesa Branch: master Commit: 6273d2f2693c365ac84e8808577d16698a6ae46a URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6273d2f2693c365ac84e8808577d16698a6ae46a Author: Daniel Stone <dani...@collabora.com> Date: Mon Oct 2 16:40:53 2017 +0100 egl/wayland: Check queryImage

Mesa (master): Revert "wayland-drm: constify the callbacks struct"

2017-09-26 Thread Daniel Stone
Module: Mesa Branch: master Commit: 5b7e65136440f60a6afe85c9517f42861ee07224 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5b7e65136440f60a6afe85c9517f42861ee07224 Author: Daniel Stone <dani...@collabora.com> Date: Fri Sep 22 15:40:59 2017 -0700 Revert "wayland-dr

Mesa (master): i965: Fix duplication of DRI images

2017-09-20 Thread Daniel Stone
cation of DRI images Some DRI image properties weren't properly duplicated in the new image. Some properties are still missing, but I'm not certain if there was a good reason to let them out in the first place. Signed-off-by: Louis-Francis Ratté-Boulianne <l...@collabora.com> Reviewed-by:

Mesa (master): egl/wayland: Use roundtrips when awaiting buffer release

2017-08-25 Thread Daniel Stone
aniels: Modified comment and commit message.] Signed-off-by: Kai Chen <kai.c...@intel.com> Reviewed-by: Daniel Stone <dani...@collabora.com> CC: <mesa-sta...@lists.freedesktop.org> --- src/egl/drivers/dri2/platform_wayland.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deleti

Mesa (master): dri3: Move up fourcc utility function

2017-08-21 Thread Daniel Stone
fourcc utility function It will be needed in next patches. Signed-off-by: Louis-Francis Ratté-Boulianne <l...@collabora.com> Reviewed-by: Daniel Stone <dani...@collabora.com> --- src/loader/loader_dri3_helper.c | 42 - 1 file changed, 21

Mesa (master): egl: Add dma_buf_import_modifiers for glvnd

2017-08-21 Thread Daniel Stone
Module: Mesa Branch: master Commit: 85ef0215dd3fac2d2a141018467361cff92f4bab URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=85ef0215dd3fac2d2a141018467361cff92f4bab Author: Daniel Stone <dani...@collabora.com> Date: Mon Jul 31 15:09:16 2017 +0100 egl: Add dma_buf_import_mod

Mesa (master): egl: Update headers from Khronos

2017-08-11 Thread Daniel Stone
Module: Mesa Branch: master Commit: 2eee03b7a11339159f9a1f6ef90259caea899048 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2eee03b7a11339159f9a1f6ef90259caea899048 Author: Daniel Stone <dani...@collabora.com> Date: Mon Jul 31 15:08:29 2017 +0100 egl: Update headers from K

Mesa (master): egl/dri2: Allow modifiers to add FDs to imports

2017-08-11 Thread Daniel Stone
Module: Mesa Branch: master Commit: 7d26a52a7a29b2361164b241ba3ae61b46b4fc69 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7d26a52a7a29b2361164b241ba3ae61b46b4fc69 Author: Daniel Stone <dani...@collabora.com> Date: Mon Jul 31 18:34:57 2017 +0100 egl/dri2: Allow modifiers to a

Mesa (master): i965: Only call create_for_planar_image for multiple planes

2017-08-08 Thread Daniel Stone
y call create_for_planar_image for multiple planes Before, we ended up always calling miptree_create_for_planar_image in almost all cases because most images have image->planar_format != NULL. This commit makes us only take that path if we have a multi-planar format. Reviewed-by: Daniel Stone <dani...@c

Mesa (master): st/dri: Check get-handle return value in queryImage

2017-07-25 Thread Daniel Stone
Module: Mesa Branch: master Commit: b4a18f13ce7f0e7d0307fb3388819345616752ce URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b4a18f13ce7f0e7d0307fb3388819345616752ce Author: Daniel Stone <dani...@collabora.com> Date: Mon Jul 24 14:42:56 2017 +0100 st/dri: Check get-handle

Mesa (master): st/dri2: Return invalid modifier when no driver support

2017-07-25 Thread Daniel Stone
Module: Mesa Branch: master Commit: 45383d32d4fd0265a7133704cb3e6c15620177cd URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=45383d32d4fd0265a7133704cb3e6c15620177cd Author: Daniel Stone <dani...@collabora.com> Date: Fri Jul 21 13:55:42 2017 +0100 st/dri2: Return invalid mo

Mesa (master): egl/wayland: Ignore invalid modifiers

2017-07-24 Thread Daniel Stone
Module: Mesa Branch: master Commit: dd072cf4b131c8aa9e8be0ff24b70856fe39285e URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dd072cf4b131c8aa9e8be0ff24b70856fe39285e Author: Daniel Stone <dani...@collabora.com> Date: Fri Jul 21 12:05:17 2017 +0100 egl/wayland: Ignore i

Mesa (master): egl: Add MKDIR_GEN definition

2017-07-19 Thread Daniel Stone
Module: Mesa Branch: master Commit: 46dace14ff04d59f9f926bdc0f7f76f0620ef18e URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=46dace14ff04d59f9f926bdc0f7f76f0620ef18e Author: Daniel Stone <dani...@collabora.com> Date: Wed Jul 19 09:51:23 2017 +0100 egl: Add MKDIR_GEN defi

Mesa (master): gbm: Remove is_planar_format dead code

2017-07-18 Thread Daniel Stone
Module: Mesa Branch: master Commit: 7f157a21f16296f72d005d73c301c90a98d1e662 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7f157a21f16296f72d005d73c301c90a98d1e662 Author: Daniel Stone <dani...@collabora.com> Date: Fri Jun 16 14:28:42 2017 +0100 gbm: Remove is_planar_forma

Mesa (master): egl/wayland: Remove more surface specifics from create_wl_buffer

2017-07-18 Thread Daniel Stone
Module: Mesa Branch: master Commit: 6595c6995114f4eb56b5a58f18aa954960462a92 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6595c6995114f4eb56b5a58f18aa954960462a92 Author: Daniel Stone <dani...@collabora.com> Date: Fri Jun 16 17:33:56 2017 +0100 egl/wayland: Remove more s

Mesa (master): gbm: Check harder for supported formats

2017-07-18 Thread Daniel Stone
Module: Mesa Branch: master Commit: 7ac09e0c5511c1d2f622ab7271e33f6fe8c27841 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7ac09e0c5511c1d2f622ab7271e33f6fe8c27841 Author: Daniel Stone <dani...@collabora.com> Date: Fri Jun 16 14:19:40 2017 +0100 gbm: Check harder for sup

Mesa (master): egl/wayland: Use linux-dmabuf interface for buffers

2017-07-18 Thread Daniel Stone
Module: Mesa Branch: master Commit: 02cc359372773800de817950aebdf9be2c7973d1 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=02cc359372773800de817950aebdf9be2c7973d1 Author: Daniel Stone <dani...@collabora.com> Date: Fri Jun 16 18:01:23 2017 +0100 egl/wayland: Use linux-

Mesa (master): egl/wayland: Make create_wl_buffer more generic

2017-07-18 Thread Daniel Stone
Module: Mesa Branch: master Commit: c4a1c7a2eb0c7429ffd10cc4aa2b83fe04e92295 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c4a1c7a2eb0c7429ffd10cc4aa2b83fe04e92295 Author: Daniel Stone <dani...@collabora.com> Date: Fri Jun 16 17:29:42 2017 +0100 egl/wayland: Make create_wl_

Mesa (master): gbm: Axe buffer import format conversion table

2017-07-18 Thread Daniel Stone
Module: Mesa Branch: master Commit: 6f8d8b17a1e25361881dfa4f91a43c1c04b029f9 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6f8d8b17a1e25361881dfa4f91a43c1c04b029f9 Author: Daniel Stone <dani...@collabora.com> Date: Fri Jun 16 10:28:03 2017 +0100 gbm: Axe buffer import

Mesa (master): gbm: Pull out FourCC <-> DRIimage format table

2017-07-18 Thread Daniel Stone
Module: Mesa Branch: master Commit: 2ede8943848b139afca7ac281df4c3e982e73b33 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2ede8943848b139afca7ac281df4c3e982e73b33 Author: Daniel Stone <dani...@collabora.com> Date: Fri Jun 16 14:11:16 2017 +0100 gbm: Pull out FourCC <-&

Mesa (master): egl/wayland: Remove duplicate wl_buffer creation code

2017-07-18 Thread Daniel Stone
Module: Mesa Branch: master Commit: cfaca5742e40371bdc6b317569cb847d6bd4eeb0 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cfaca5742e40371bdc6b317569cb847d6bd4eeb0 Author: Daniel Stone <dani...@collabora.com> Date: Fri Jun 16 17:37:19 2017 +0100 egl/wayland: Remove dup

Mesa (master): egl/wayland: Fix whitespace damage

2017-07-14 Thread Daniel Stone
Module: Mesa Branch: master Commit: 4b8ef27e849311b8559ef77a37004e1370ce3dac URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4b8ef27e849311b8559ef77a37004e1370ce3dac Author: Daniel Stone <dani...@collabora.com> Date: Sat Jun 10 14:54:05 2017 +0100 egl/wayland: Fix whitespace

Mesa (master): egl/wayland: Use MIN2 for wl_drm version

2017-07-14 Thread Daniel Stone
Module: Mesa Branch: master Commit: 5295df63ad7822e14e7dabfc107bc416271bfcdc URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5295df63ad7822e14e7dabfc107bc416271bfcdc Author: Daniel Stone <dani...@collabora.com> Date: Sat Jun 10 14:54:44 2017 +0100 egl/wayland: Use MIN2 for

Mesa (master): util: Remove u_math from u_vector

2017-07-14 Thread Daniel Stone
Module: Mesa Branch: master Commit: 2b895475f600b142e9ccbfb3b33009fe68b21162 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2b895475f600b142e9ccbfb3b33009fe68b21162 Author: Daniel Stone <dani...@collabora.com> Date: Fri Jun 9 14:57:20 2017 +0100 util: Remove u_math from u_

Mesa (master): st/dri2: implement image offset query

2017-06-24 Thread Daniel Stone
offset query This trivially adds support for the image offset query, which is needed for the zwp_linux_dmabuf based EGL platform wayland implementation. Signed-off-by: Lucas Stach <l.st...@pengutronix.de> Reviewed-by: Daniel Stone <dani...@collabora.com> --- src/gallium/state_track

Mesa (master): i965: Invert image modifier/tiling inference

2017-06-08 Thread Daniel Stone
Module: Mesa Branch: master Commit: 6b18d4aaec11d629347f842909e7dc1c687098ba URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6b18d4aaec11d629347f842909e7dc1c687098ba Author: Daniel Stone <dani...@collabora.com> Date: Tue May 30 17:41:49 2017 +0530 i965: Invert image modifier/

Mesa (master): i965: Improve same-buffer restriction for imports

2017-06-08 Thread Daniel Stone
Module: Mesa Branch: master Commit: f58e6358bf775e21d49f7a0ea0007f1940c48217 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f58e6358bf775e21d49f7a0ea0007f1940c48217 Author: Daniel Stone <dani...@collabora.com> Date: Tue May 30 17:41:48 2017 +0530 i965: Improve same-

Mesa (master): i965: Support dmabuf import with modifiers

2017-06-08 Thread Daniel Stone
import with modifiers Add support for createImageFromDmaBufs2, adding a modifier to the original, and allow importing CCS resources with auxiliary data from dmabufs. v2: avoid DRIimageExtension version bump, pass single modifier to createImageFromDmaBufs2. Reviewed-by: Daniel Stone

Mesa (master): i965: Move fallback size assignment out of bufmgr

2017-06-08 Thread Daniel Stone
Module: Mesa Branch: master Commit: 78703881ffec1a465c04f9490f5192dc51db715b URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=78703881ffec1a465c04f9490f5192dc51db715b Author: Daniel Stone <dani...@collabora.com> Date: Tue Jun 6 11:53:55 2017 +0100 i965: Move fallback size assi

Mesa (master): i965: Add format/modifier advertising

2017-06-08 Thread Daniel Stone
difier advertising v2: Rebase and reuse tiling/modifier map. (Daniel Stone) v3: bump DRIimageExtension to version 15, fill external_only array. v4: Y-tiling works since gen 6 Reviewed-by: Daniel Stone <dani...@collabora.com> Reviewed-by: Jason Ekstrand <ja...@jlekstrand.net> --- src/mes

Mesa (master): i965: Allocate tile aligned height

2017-06-08 Thread Daniel Stone
v2: Do proper alignment for X tiling, and make sure non-tiled case is handled (Jason) v3: Rebase (Daniel) Reviewed-by: Daniel Stone <dani...@collabora.com> Reviewed-by: Jason Ekstrand <ja...@jlekstrand.net> --- src/mesa/drivers/dri/i965/intel_screen.c | 31 +

Mesa (master): vulkan/wsi/wayland: Fix proxy wrappers for swapchain recreation

2017-05-20 Thread Daniel Stone
ipp.za...@gmail.com> Reviewed-by: Daniel Stone <dani...@collabora.com> Cc: mesa-sta...@lists.freedesktop.org --- src/vulkan/wsi/wsi_common_wayland.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/vulkan/wsi/wsi_common_wayland.c b/src/vulkan/ws

Mesa (master): vulkan/wsi/wayland: Use proxy wrappers for swapchain

2017-05-19 Thread Daniel Stone
Module: Mesa Branch: master Commit: 5034c615582add2be9309dc1d7383fb0daba6dd3 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5034c615582add2be9309dc1d7383fb0daba6dd3 Author: Daniel Stone <dani...@collabora.com> Date: Tue May 2 10:06:32 2017 +0100 vulkan/wsi/wayland: Use

Mesa (master): vulkan: Fix Wayland uninitialised registry

2017-05-19 Thread Daniel Stone
Module: Mesa Branch: master Commit: d9a8bba7f44f7042f0bbd659d0ed342236423dd3 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d9a8bba7f44f7042f0bbd659d0ed342236423dd3 Author: Daniel Stone <dani...@collabora.com> Date: Fri Apr 28 16:49:47 2017 +0200 vulkan: Fix Wayland uniniti

Mesa (master): egl/wayland: Don't open-code roundtrip

2017-05-19 Thread Daniel Stone
Module: Mesa Branch: master Commit: 8118bc269f39ea0b965752ea89b886b28094db42 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8118bc269f39ea0b965752ea89b886b28094db42 Author: Daniel Stone <dani...@collabora.com> Date: Fri May 5 14:44:20 2017 +0100 egl/wayland: Don't ope

Mesa (master): vulkan/wsi/wayland: Remove roundtrip when creating image

2017-05-19 Thread Daniel Stone
Module: Mesa Branch: master Commit: afe8c8a2997950cd63076b7c9eba39e1858fee43 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=afe8c8a2997950cd63076b7c9eba39e1858fee43 Author: Daniel Stone <dani...@collabora.com> Date: Tue May 2 09:51:40 2017 +0100 vulkan/wsi/wayland: Remove rou

Mesa (master): egl/wayland: Use per-surface event queues

2017-05-19 Thread Daniel Stone
Module: Mesa Branch: master Commit: 03dd9a88b0be17ff0ce91e92f6902a9a85ba584a URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=03dd9a88b0be17ff0ce91e92f6902a9a85ba584a Author: Daniel Stone <dani...@collabora.com> Date: Fri May 5 14:49:09 2017 +0100 egl/wayland: Use per-surface

Mesa (master): egl/wayland: Ensure we get a back buffer

2017-05-19 Thread Daniel Stone
Module: Mesa Branch: master Commit: 1f2d0093bf5084f65a923582881dc74153c804a4 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1f2d0093bf5084f65a923582881dc74153c804a4 Author: Daniel Stone <dani...@collabora.com> Date: Mon May 15 22:22:32 2017 +0100 egl/wayland: Ensure we get

Mesa (master): vulkan/wsi/wayland: Use per-display event queue

2017-05-19 Thread Daniel Stone
Module: Mesa Branch: master Commit: c902a1957d079941823006d56b6810e1e85be4b0 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c902a1957d079941823006d56b6810e1e85be4b0 Author: Daniel Stone <dani...@collabora.com> Date: Tue May 2 10:04:33 2017 +0100 vulkan/wsi/wayland: Use per-d

Mesa (master): i915: Fix build break with empty unreachable()

2017-05-05 Thread Daniel Stone
Module: Mesa Branch: master Commit: d4342b1398a001af1192497ca4db3a304f98c309 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d4342b1398a001af1192497ca4db3a304f98c309 Author: Daniel Stone <dani...@collabora.com> Date: Fri May 5 18:24:44 2017 +0100 i915: Fix build break with

Mesa (master): i965: Set modifier for imported and duplicated images

2017-05-05 Thread Daniel Stone
Module: Mesa Branch: master Commit: 8b8af19065a5bfd06fd0d97b891cfff807704935 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8b8af19065a5bfd06fd0d97b891cfff807704935 Author: Daniel Stone <dani...@collabora.com> Date: Wed May 3 09:38:13 2017 +0100 i965: Set modifier for im

Mesa (master): i965: Use helper function for modifier -> tiling

2017-05-05 Thread Daniel Stone
Module: Mesa Branch: master Commit: 467332a0ab2a2328a37ad302dedd81a654e36313 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=467332a0ab2a2328a37ad302dedd81a654e36313 Author: Daniel Stone <dani...@collabora.com> Date: Wed May 3 18:05:10 2017 +0100 i965: Use helper fu

Mesa (master): gbm/dri: Fix sign-extension in modifier query

2017-05-02 Thread Daniel Stone
Module: Mesa Branch: master Commit: 80ac89a952930f068a058a9eee3c2536832b10c9 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=80ac89a952930f068a058a9eee3c2536832b10c9 Author: Daniel Stone <dani...@collabora.com> Date: Tue May 2 19:44:38 2017 +0100 gbm/dri: Fix sign-ext

Mesa (master): gbm: Use unsigned for BO offset getter

2017-03-23 Thread Daniel Stone
Module: Mesa Branch: master Commit: 378025ca8b82c5f2068e202f1016450d97820d99 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=378025ca8b82c5f2068e202f1016450d97820d99 Author: Daniel Stone <dani...@collabora.com> Date: Thu Mar 23 15:09:49 2017 + gbm: Use unsigned for BO

Mesa (master): add EGL_TEXTURE_EXTERNAL_WL to WL_bind_wayland_display spec

2016-12-05 Thread Daniel Stone
NAL_WL to WL_bind_wayland_display spec Signed-off-by: Rob Clark <robdcl...@gmail.com> Reviewed-by: Daniel Stone <dani...@collabora.com> --- docs/specs/WL_bind_wayland_display.spec | 5 + include/EGL/eglmesaext.h| 1 + 2 files changed, 6 insertions(+) diff

Mesa (master): egl/wayland: fix return value in dri2_wl_swrast_commit_backbuffer

2016-11-11 Thread Daniel Stone
2_swap_buffers"") Reviewed-by: Daniel Stone <dani...@collabora.com> Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> --- src/egl/drivers/dri2/platform_wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/egl/drivers/dri2/platform_wayland.c

Mesa (master): Revert "wayland: Block for the frame callback in get_back_bo not dri2_swap_buffers"

2016-11-10 Thread Daniel Stone
Module: Mesa Branch: master Commit: 9ca6711faa03a9527c0946f2489e42cd9a62235c URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ca6711faa03a9527c0946f2489e42cd9a62235c Author: Daniel Stone <dani...@collabora.com> Date: Wed Jun 1 09:59:06 2016 +0100 Revert "wayland: Block fo

Mesa (master): Revert "i965: Always use Y-tiled buffers on SKL+"

2016-05-09 Thread Daniel Stone
Module: Mesa Branch: master Commit: e54b2e902aba22f697c0ba8622cd0a905f1edfff URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e54b2e902aba22f697c0ba8622cd0a905f1edfff Author: Daniel Stone <dani...@collabora.com> Date: Mon May 2 15:34:40 2016 +0100 Revert "i965: Always