anv: split physical_device from anv_device.c

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Acked-by: Ivan Briano <ivan.briano@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30285>
This commit is contained in:
Lionel Landwerlin
2024-07-21 11:33:02 +03:00
committed by Marge Bot
parent c7ecf10c20
commit ca51a02e7b
4 changed files with 2966 additions and 2958 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -140,6 +140,11 @@ struct intel_perf_query_result;
#include "util/log.h"
#include "wsi_common.h"
/* The "RAW" clocks on Linux are called "FAST" on FreeBSD */
#if !defined(CLOCK_MONOTONIC_RAW) && defined(CLOCK_MONOTONIC_FAST)
#define CLOCK_MONOTONIC_RAW CLOCK_MONOTONIC_FAST
#endif
#define NSEC_PER_SEC 1000000000ull
#define BINDING_TABLE_POOL_BLOCK_SIZE (65536)
@@ -181,6 +186,7 @@ struct intel_perf_query_result;
#define MAX_INLINE_UNIFORM_BLOCK_SIZE 4096
#define MAX_INLINE_UNIFORM_BLOCK_DESCRIPTORS 32
#define MAX_EMBEDDED_SAMPLERS 2048
#define MAX_CUSTOM_BORDER_COLORS 4096
/* We need 16 for UBO block reads to work and 32 for push UBOs. However, we
* use 64 here to avoid cache issues. This could most likely bring it back to
* 32 if we had different virtual addresses for the different views on a given

View File

@@ -171,6 +171,7 @@ libanv_files = files(
'anv_nir_lower_resource_intel.c',
'anv_nir_push_descriptor_analysis.c',
'anv_perf.c',
'anv_physical_device.c',
'anv_pipeline.c',
'anv_pipeline_cache.c',
'anv_private.h',