mesa/src/amd/vulkan
Keith Packard 67a2c1493c vulkan: Add VK_EXT_calibrated_timestamps extension (radv and anv) [v5]
Offers three clocks, device, clock monotonic and clock monotonic
raw. Could use some kernel support to reduce the deviation between
clock values.

v2:
	Ensure deviation is at least as big as the GPU time interval.

v3:
	Set device->lost when returning DEVICE_LOST.
	Use MAX2 and DIV_ROUND_UP instead of open coding these.
	Delete spurious TIMESTAMP in radv version.

	Suggested-by: Jason Ekstrand <jason@jlekstrand.net>
	Suggested-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>

v4:
	Add anv_gem_reg_read to anv_gem_stubs.c

	Suggested-by: Jason Ekstrand <jason@jlekstrand.net>

v5:
	Adjust maxDeviation computation to max(sampled_clock_period) +
	sample_interval.

	Suggested-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
	Suggested-by: Jason Ekstrand <jason@jlekstrand.net>

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
2018-10-17 20:10:15 -07:00
..
winsys/amdgpu radv/winsys: fix creating the BO list for virtual buffers 2018-08-17 15:00:21 +02:00
.editorconfig amd: add .editorconfig 2017-08-29 01:08:58 +03:00
.gitignore radv: add generated files to .gitignore(s) 2018-05-15 22:53:55 +02:00
Android.mk radv: Fix missing Android platform define. 2018-08-14 22:11:04 +02:00
Makefile.am Revert "configure: allow building with python3" 2018-08-24 11:14:15 +01:00
Makefile.sources radv: move vk_format_table.c to generated sources 2018-07-28 12:39:49 +02:00
meson.build radv: add missing meson c++ visibility arguments 2018-10-09 14:22:24 +01:00
radv_android.c radv: Add option to print errors even in optimized builds. 2018-05-31 11:51:23 +02:00
radv_cmd_buffer.c ac: correct PKT3_COPY_DATA definitions 2018-10-06 21:50:09 -04:00
radv_cs.h amd,radeonsi: rename radeon_winsys_cs -> radeon_cmdbuf 2018-06-19 13:08:50 -04:00
radv_debug.c amd,radeonsi: rename radeon_winsys_cs -> radeon_cmdbuf 2018-06-19 13:08:50 -04:00
radv_debug.h radv: using tls to store llvm related info and speed up compiles (v10) 2018-07-10 07:58:03 +10:00
radv_descriptor_set.c radv: use a 64-bit unsigned integer when allocating a descriptor pool 2018-09-19 13:36:12 +02:00
radv_descriptor_set.h Revert "radv: Don't store buffer references in the descriptor set." 2018-04-20 16:18:13 +02:00
radv_device.c vulkan: Add VK_EXT_calibrated_timestamps extension (radv and anv) [v5] 2018-10-17 20:10:15 -07:00
radv_entrypoints_gen.py radv: generate entrypoints for VK_ANDROID_native_buffer 2018-07-28 12:39:57 +02:00
radv_extensions.py vulkan: Add VK_EXT_calibrated_timestamps extension (radv and anv) [v5] 2018-10-17 20:10:15 -07:00
radv_formats.c radv: do not support blitting surfaces for R32G32B32 formats 2018-10-12 15:28:21 +02:00
radv_icd.py python: Specify the JSON separators 2018-07-05 12:52:38 +01:00
radv_image.c radv: add a sanity check for mutable formats and TC-compat HTILE 2018-10-01 12:13:09 +02:00
radv_llvm_helper.cpp radv: using tls to store llvm related info and speed up compiles (v10) 2018-07-10 07:58:03 +10:00
radv_meta.c radv: use different builtin shader cache for 32bit 2018-08-23 00:34:32 +03:00
radv_meta.h radv: Add on-demand compilation of built-in shaders. 2018-08-14 10:26:24 +02:00
radv_meta_blit.c radv: do not re-create the sampler for every blits in CmdBlitImage() 2018-09-18 13:27:59 +02:00
radv_meta_blit2d.c radv: Remove garbage comment. 2018-09-27 02:04:06 +02:00
radv_meta_buffer.c radv: adjust the CmdUpdateBuffer threshold for optimal performance 2018-09-28 09:08:44 +02:00
radv_meta_bufimage.c radv: implement buffer to image operations for R32G32B32 2018-10-16 09:22:38 +02:00
radv_meta_clear.c radv: implement clear operations for R32G32B32 2018-10-11 14:49:16 +02:00
radv_meta_copy.c radv: implement buffer to image operations for R32G32B32 2018-10-16 09:22:38 +02:00
radv_meta_decompress.c radv/meta_decompress: fix pointer to integer conversion 2018-08-15 14:34:50 +02:00
radv_meta_fast_clear.c radv/meta: Set num_components on image_store intrinsics 2018-08-30 08:26:14 -05:00
radv_meta_resolve.c radv: use the resolve compute path if dest uses multiple layers 2018-09-21 16:35:59 +02:00
radv_meta_resolve_cs.c radv/meta: Set num_components on image_store intrinsics 2018-08-30 08:26:14 -05:00
radv_meta_resolve_fs.c radv: Possible on-demand compilation fix. 2018-08-16 11:13:19 +02:00
radv_nir_to_llvm.c radv: remove unsigned comparison against 0 2018-10-11 10:19:20 +10:00
radv_pass.c radv: remove unused variable in radv_CreateRenderPass2KHR() 2018-07-18 10:54:42 +02:00
radv_pipeline.c radv: do not force the flat qualifier for clip/cull distances 2018-10-15 21:55:28 +02:00
radv_pipeline_cache.c radv: Add on-demand compilation of built-in shaders. 2018-08-14 10:26:24 +02:00
radv_private.h radv: implement buffer to image operations for R32G32B32 2018-10-16 09:22:38 +02:00
radv_query.c ac: correct PKT3_COPY_DATA definitions 2018-10-06 21:50:09 -04:00
radv_radeon_winsys.h radv: get rid of buffer object priorities 2018-07-12 11:08:40 +02:00
radv_shader.c radv: make use of nir_lower_load_const_to_scalar() 2018-09-25 09:31:22 +10:00
radv_shader.h radv: handle loc->indirect correctly for the first descriptor 2018-09-14 10:59:52 +02:00
radv_shader_helper.h radv: using tls to store llvm related info and speed up compiles (v10) 2018-07-10 07:58:03 +10:00
radv_shader_info.c radv: gather the output usage mask for clip/cull distances correctly 2018-08-31 17:34:41 +02:00
radv_util.c radv: Add startup debug option. 2018-05-31 11:51:23 +02:00
radv_util.h radv: Use proper header guards over 'pragma once' directives 2016-10-10 16:10:56 +11:00
radv_wsi.c anv,radv: Implement vkAcquireNextImage2 2018-09-21 07:02:35 -05:00
radv_wsi_display.c anv,radv: Add support for VK_KHR_get_display_properties2 2018-07-09 17:09:41 -07:00
radv_wsi_wayland.c radv/wsi: Don't include wayland headers 2017-03-13 11:16:30 +00:00
radv_wsi_x11.c vulkan/wsi/radv: add initial prime support (v1.1) 2017-02-27 05:42:16 +10:00
si_cmd_buffer.c radeonsi: save raster config in screen, add se_tile_repeat 2018-10-16 15:28:22 -04:00
vk_format.h radv: Fix SRGB compute copies. 2018-05-21 10:33:41 +02:00
vk_format_layout.csv radv: Add support for ETC2 textures. 2018-07-27 01:31:32 +02:00
vk_format_parse.py python: Fix inequality comparisons 2018-08-10 08:45:59 -07:00
vk_format_table.py python: Use the print function 2018-07-06 10:04:22 -07:00