iris: plumb device/driver UUID generators
authorJuan A. Suarez Romero <jasuarez@igalia.com>
Thu, 26 Mar 2020 16:04:19 +0000 (17:04 +0100)
committerEleni Maria Stea <estea@igalia.com>
Wed, 7 Oct 2020 08:11:28 +0000 (11:11 +0300)
commit456fa9b8385b14d6f2d4bea16e89bf280c4d5b3f
treeb9ad35f634442a9bd64e94d742776a2d015352ba
parente9a766a8c02710bf206529f74b25f6cfb817b35d
iris: plumb device/driver UUID generators

Use the same generators as used in anv driver so both Vulkan and OpenGL
drivers can share the same external memory objects.

v2: removed extra parameter from function gen_uuid_compute_device_id

Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Signed-off-by: Eleni Maria Stea <estea@igalia.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Rohan Garg <rohan.garg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7025>
src/gallium/drivers/iris/iris_screen.c
src/intel/common/gen_uuid.c
src/intel/common/gen_uuid.h
src/intel/vulkan/anv_device.c