mesa/src
Nataraj Deshpande d94fca5420 anv: Add HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED in vk_format
When HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED is used, then the platform
gralloc module will select a format based on the usage flags provided by
the camera device and the other endpoint of the stream.

The patch fixes crash in vulkan when the test is run with camera stream
set to HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED.

Test: android.graphics.cts.CameraVulkanGpuTest#testCameraImportAndRendering
on chromebook with camera HAL3.

v2: use AHARDWAREBUFFER_FORMAT_IMPLEMENTATION_DEFINED and take
    AHARDWAREBUFFER_USAGE_CAMERA_MASK in to account (Gurchetan)

Fixes: f1654fa7e3 "anv/android: support creating images from external format"
Signed-off-by: Nataraj Deshpande <nataraj.deshpande@intel.com>
Signed-off-by: Gurchetan Singh <gurchetansingh@chromium.org>
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
2019-06-24 08:28:18 +03:00
..
amd android: winsys/amdgpu,radv: fix generated amdgfxregs.h header dependecies 2019-06-21 15:53:23 +02:00
broadcom v3d: implement simultaneous peripheral access exceptions for V3D 4.1+ 2019-06-18 08:09:03 +02:00
compiler nir/lower_tex: Add an assert() in nir_lower_txs_lod() 2019-06-20 09:15:53 -07:00
egl Revert "egl: drop empty eglfallbacks.c" and "egl: move fallback calls to eglapi.c" 2019-06-22 21:59:06 +01:00
etnaviv etnaviv: etnaviv_bo_cache_test: Use /dev/dri/renderD128 by default 2019-06-05 08:58:05 +00:00
freedreno freedreno: Only upload UBO pointers for UBOs that haven't been lowered. 2019-06-21 17:14:43 -07:00
gallium iris: move sysvals to their own constant buffer 2019-06-23 18:33:23 +02:00
gbm
getopt
glx glx: fix glvnd pointer types 2019-06-20 17:21:37 +01:00
gtest
hgl
imgui imgui: bump imgui memory editor copy 2019-06-18 15:34:13 +00:00
intel anv: Add HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED in vk_format 2019-06-24 08:28:18 +03:00
loader
mapi meson: Search for execinfo.h 2019-06-19 12:16:18 -07:00
mesa i965,iris: Move guardband calculations to a common location 2019-06-21 14:18:59 +00:00
panfrost lima,panfrost: Move lima_tiling.c/h to /src/panfrost 2019-06-20 08:06:35 -07:00
util include: update GL headers from the registry 2019-06-21 19:00:52 -04:00
vulkan vulkan: Update the XML and headers to 1.1.110 2019-06-04 17:30:51 +00:00
meson.build lima,panfrost: Move lima_tiling.c/h to /src/panfrost 2019-06-20 08:06:35 -07:00
SConscript