From 963d658f0998e7851cb6278e8cf6c4ef103dc202 Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Wed, 6 Sep 2023 10:35:28 -0500 Subject: [PATCH] nvk: SPDX everything I chose to use "Collabora Ldt. and Red Hat Inc." as the author line. I could have gone through and manually checked every single file but I think it's better to spread the blame around. No one should actually trust those lines anyway. That's what git blame is for. Acked-by: Karol Herbst Part-of: --- src/nouveau/vulkan/meson.build | 2 ++ src/nouveau/vulkan/nvk_bo_sync.h | 4 ++++ src/nouveau/vulkan/nvk_buffer.c | 4 ++++ src/nouveau/vulkan/nvk_buffer.h | 4 ++++ src/nouveau/vulkan/nvk_buffer_view.c | 4 ++++ src/nouveau/vulkan/nvk_buffer_view.h | 4 ++++ src/nouveau/vulkan/nvk_cmd_buffer.c | 4 ++++ src/nouveau/vulkan/nvk_cmd_buffer.h | 4 ++++ src/nouveau/vulkan/nvk_cmd_clear.c | 4 ++++ src/nouveau/vulkan/nvk_cmd_copy.c | 4 ++++ src/nouveau/vulkan/nvk_cmd_dispatch.c | 4 ++++ src/nouveau/vulkan/nvk_cmd_draw.c | 4 ++++ src/nouveau/vulkan/nvk_cmd_meta.c | 4 ++++ src/nouveau/vulkan/nvk_cmd_pool.c | 4 ++++ src/nouveau/vulkan/nvk_cmd_pool.h | 4 ++++ src/nouveau/vulkan/nvk_compute_pipeline.c | 4 ++++ src/nouveau/vulkan/nvk_descriptor_set.c | 4 ++++ src/nouveau/vulkan/nvk_descriptor_set.h | 4 ++++ src/nouveau/vulkan/nvk_descriptor_set_layout.c | 4 ++++ src/nouveau/vulkan/nvk_descriptor_set_layout.h | 4 ++++ src/nouveau/vulkan/nvk_descriptor_table.c | 4 ++++ src/nouveau/vulkan/nvk_descriptor_table.h | 4 ++++ src/nouveau/vulkan/nvk_device.c | 4 ++++ src/nouveau/vulkan/nvk_device.h | 4 ++++ src/nouveau/vulkan/nvk_device_memory.c | 4 ++++ src/nouveau/vulkan/nvk_device_memory.h | 4 ++++ src/nouveau/vulkan/nvk_event.c | 4 ++++ src/nouveau/vulkan/nvk_event.h | 4 ++++ src/nouveau/vulkan/nvk_format.c | 4 ++++ src/nouveau/vulkan/nvk_format.h | 4 ++++ src/nouveau/vulkan/nvk_graphics_pipeline.c | 4 ++++ src/nouveau/vulkan/nvk_heap.c | 4 ++++ src/nouveau/vulkan/nvk_heap.h | 4 ++++ src/nouveau/vulkan/nvk_image.c | 4 ++++ src/nouveau/vulkan/nvk_image.h | 4 ++++ src/nouveau/vulkan/nvk_image_view.c | 4 ++++ src/nouveau/vulkan/nvk_image_view.h | 4 ++++ src/nouveau/vulkan/nvk_instance.c | 4 ++++ src/nouveau/vulkan/nvk_instance.h | 4 ++++ src/nouveau/vulkan/nvk_mme.c | 4 ++++ src/nouveau/vulkan/nvk_mme.h | 4 ++++ src/nouveau/vulkan/nvk_nir_lower_descriptors.c | 4 ++++ src/nouveau/vulkan/nvk_physical_device.c | 4 ++++ src/nouveau/vulkan/nvk_physical_device.h | 4 ++++ src/nouveau/vulkan/nvk_pipeline.c | 4 ++++ src/nouveau/vulkan/nvk_pipeline.h | 4 ++++ src/nouveau/vulkan/nvk_private.h | 4 ++++ src/nouveau/vulkan/nvk_query_pool.c | 4 ++++ src/nouveau/vulkan/nvk_query_pool.h | 4 ++++ src/nouveau/vulkan/nvk_queue.c | 4 ++++ src/nouveau/vulkan/nvk_queue.h | 4 ++++ src/nouveau/vulkan/nvk_queue_drm_nouveau.c | 4 ++++ src/nouveau/vulkan/nvk_sampler.c | 4 ++++ src/nouveau/vulkan/nvk_sampler.h | 4 ++++ src/nouveau/vulkan/nvk_shader.c | 4 ++++ src/nouveau/vulkan/nvk_shader.h | 4 ++++ src/nouveau/vulkan/nvk_wsi.c | 5 ++++- src/nouveau/vulkan/nvk_wsi.h | 4 ++++ src/nouveau/vulkan/test_nvk_mme.c | 4 ++++ 59 files changed, 234 insertions(+), 1 deletion(-) diff --git a/src/nouveau/vulkan/meson.build b/src/nouveau/vulkan/meson.build index cf60c0b9f19..f631631a7d4 100644 --- a/src/nouveau/vulkan/meson.build +++ b/src/nouveau/vulkan/meson.build @@ -1,3 +1,5 @@ +# Copyright © 2022 Collabora Ltd. and Red Hat Inc. +# SPDX-License-Identifier: MIT nvk_files = files( '../../gallium/auxiliary/tgsi/tgsi_from_mesa.c', 'nvk_buffer.c', diff --git a/src/nouveau/vulkan/nvk_bo_sync.h b/src/nouveau/vulkan/nvk_bo_sync.h index efd4eca088d..c5e9757a825 100644 --- a/src/nouveau/vulkan/nvk_bo_sync.h +++ b/src/nouveau/vulkan/nvk_bo_sync.h @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #ifndef NVK_BO_SYNC_H #define NVK_BO_SYNC_H 1 diff --git a/src/nouveau/vulkan/nvk_buffer.c b/src/nouveau/vulkan/nvk_buffer.c index d851eb3c450..2caf903e935 100644 --- a/src/nouveau/vulkan/nvk_buffer.c +++ b/src/nouveau/vulkan/nvk_buffer.c @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #include "nvk_buffer.h" #include "nvk_entrypoints.h" diff --git a/src/nouveau/vulkan/nvk_buffer.h b/src/nouveau/vulkan/nvk_buffer.h index 8f698d1a408..6ca8f7c055a 100644 --- a/src/nouveau/vulkan/nvk_buffer.h +++ b/src/nouveau/vulkan/nvk_buffer.h @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #ifndef NVK_BUFFER_H #define NVK_BUFFER_H 1 diff --git a/src/nouveau/vulkan/nvk_buffer_view.c b/src/nouveau/vulkan/nvk_buffer_view.c index c0a505357b3..7ff07cb3096 100644 --- a/src/nouveau/vulkan/nvk_buffer_view.c +++ b/src/nouveau/vulkan/nvk_buffer_view.c @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #include "nvk_buffer_view.h" #include "nil_format.h" diff --git a/src/nouveau/vulkan/nvk_buffer_view.h b/src/nouveau/vulkan/nvk_buffer_view.h index 213e1567f9a..1f77150c8b2 100644 --- a/src/nouveau/vulkan/nvk_buffer_view.h +++ b/src/nouveau/vulkan/nvk_buffer_view.h @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #ifndef NVK_BUFFER_VIEW_H #define NVK_BUFFER_VIEW_H 1 diff --git a/src/nouveau/vulkan/nvk_cmd_buffer.c b/src/nouveau/vulkan/nvk_cmd_buffer.c index 8ec870a2059..da8787ad9a3 100644 --- a/src/nouveau/vulkan/nvk_cmd_buffer.c +++ b/src/nouveau/vulkan/nvk_cmd_buffer.c @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #include "nvk_cmd_buffer.h" #include "nvk_buffer.h" diff --git a/src/nouveau/vulkan/nvk_cmd_buffer.h b/src/nouveau/vulkan/nvk_cmd_buffer.h index c8ed0a8c08c..4e62c63490c 100644 --- a/src/nouveau/vulkan/nvk_cmd_buffer.h +++ b/src/nouveau/vulkan/nvk_cmd_buffer.h @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #ifndef NVK_CMD_BUFFER_H #define NVK_CMD_BUFFER_H 1 diff --git a/src/nouveau/vulkan/nvk_cmd_clear.c b/src/nouveau/vulkan/nvk_cmd_clear.c index 652cf672643..4793fb9beab 100644 --- a/src/nouveau/vulkan/nvk_cmd_clear.c +++ b/src/nouveau/vulkan/nvk_cmd_clear.c @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #include "nvk_cmd_buffer.h" #include "nvk_device.h" diff --git a/src/nouveau/vulkan/nvk_cmd_copy.c b/src/nouveau/vulkan/nvk_cmd_copy.c index 33f4d4e12a1..f01d1d088a1 100644 --- a/src/nouveau/vulkan/nvk_cmd_copy.c +++ b/src/nouveau/vulkan/nvk_cmd_copy.c @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #include "nvk_cmd_buffer.h" #include "nvk_buffer.h" diff --git a/src/nouveau/vulkan/nvk_cmd_dispatch.c b/src/nouveau/vulkan/nvk_cmd_dispatch.c index 6b5f3944eb8..352462b2259 100644 --- a/src/nouveau/vulkan/nvk_cmd_dispatch.c +++ b/src/nouveau/vulkan/nvk_cmd_dispatch.c @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #include "nvk_buffer.h" #include "nvk_cmd_buffer.h" #include "nvk_descriptor_set.h" diff --git a/src/nouveau/vulkan/nvk_cmd_draw.c b/src/nouveau/vulkan/nvk_cmd_draw.c index 4fb204737a7..051603a4179 100644 --- a/src/nouveau/vulkan/nvk_cmd_draw.c +++ b/src/nouveau/vulkan/nvk_cmd_draw.c @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #include "nvk_buffer.h" #include "nvk_entrypoints.h" #include "nvk_cmd_buffer.h" diff --git a/src/nouveau/vulkan/nvk_cmd_meta.c b/src/nouveau/vulkan/nvk_cmd_meta.c index c75c485ac3e..91c0d4d8570 100644 --- a/src/nouveau/vulkan/nvk_cmd_meta.c +++ b/src/nouveau/vulkan/nvk_cmd_meta.c @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #include "nvk_buffer.h" #include "nvk_cmd_buffer.h" #include "nvk_device.h" diff --git a/src/nouveau/vulkan/nvk_cmd_pool.c b/src/nouveau/vulkan/nvk_cmd_pool.c index cb4eb0d41f9..e5aa01c29de 100644 --- a/src/nouveau/vulkan/nvk_cmd_pool.c +++ b/src/nouveau/vulkan/nvk_cmd_pool.c @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #include "nvk_cmd_pool.h" #include "nvk_device.h" diff --git a/src/nouveau/vulkan/nvk_cmd_pool.h b/src/nouveau/vulkan/nvk_cmd_pool.h index 82cc9128587..dc9211520cd 100644 --- a/src/nouveau/vulkan/nvk_cmd_pool.h +++ b/src/nouveau/vulkan/nvk_cmd_pool.h @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #ifndef NVK_CMD_POOL_H #define NVK_CMD_POOL_H diff --git a/src/nouveau/vulkan/nvk_compute_pipeline.c b/src/nouveau/vulkan/nvk_compute_pipeline.c index fe922db8257..8ca4f085a0f 100644 --- a/src/nouveau/vulkan/nvk_compute_pipeline.c +++ b/src/nouveau/vulkan/nvk_compute_pipeline.c @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #include "nvk_private.h" #include "nvk_device.h" #include "nvk_physical_device.h" diff --git a/src/nouveau/vulkan/nvk_descriptor_set.c b/src/nouveau/vulkan/nvk_descriptor_set.c index d78115e1acc..a05e9243951 100644 --- a/src/nouveau/vulkan/nvk_descriptor_set.c +++ b/src/nouveau/vulkan/nvk_descriptor_set.c @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #include "nvk_descriptor_set.h" #include "nvk_buffer.h" diff --git a/src/nouveau/vulkan/nvk_descriptor_set.h b/src/nouveau/vulkan/nvk_descriptor_set.h index e938eac245a..00d90ed56d5 100644 --- a/src/nouveau/vulkan/nvk_descriptor_set.h +++ b/src/nouveau/vulkan/nvk_descriptor_set.h @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #ifndef NVK_DESCRIPTOR_SET #define NVK_DESCRIPTOR_SET 1 diff --git a/src/nouveau/vulkan/nvk_descriptor_set_layout.c b/src/nouveau/vulkan/nvk_descriptor_set_layout.c index cca6b089234..492a3c0b5dd 100644 --- a/src/nouveau/vulkan/nvk_descriptor_set_layout.c +++ b/src/nouveau/vulkan/nvk_descriptor_set_layout.c @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #include "nvk_descriptor_set_layout.h" #include "nvk_descriptor_set.h" diff --git a/src/nouveau/vulkan/nvk_descriptor_set_layout.h b/src/nouveau/vulkan/nvk_descriptor_set_layout.h index d8f1d1fb3b1..815649db895 100644 --- a/src/nouveau/vulkan/nvk_descriptor_set_layout.h +++ b/src/nouveau/vulkan/nvk_descriptor_set_layout.h @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #ifndef NVK_DESCRIPTOR_SET_LAYOUT #define NVK_DESCRIPTOR_SET_LAYOUT 1 diff --git a/src/nouveau/vulkan/nvk_descriptor_table.c b/src/nouveau/vulkan/nvk_descriptor_table.c index 6307f5705ba..d50fe7f5208 100644 --- a/src/nouveau/vulkan/nvk_descriptor_table.c +++ b/src/nouveau/vulkan/nvk_descriptor_table.c @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #include "nvk_descriptor_table.h" #include "nvk_device.h" diff --git a/src/nouveau/vulkan/nvk_descriptor_table.h b/src/nouveau/vulkan/nvk_descriptor_table.h index 3cd2d356b0e..743dca1599b 100644 --- a/src/nouveau/vulkan/nvk_descriptor_table.h +++ b/src/nouveau/vulkan/nvk_descriptor_table.h @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #ifndef NVK_DESCRIPTOR_TABLE_H #define NVK_DESCRIPTOR_TABLE_H 1 diff --git a/src/nouveau/vulkan/nvk_device.c b/src/nouveau/vulkan/nvk_device.c index cf1f2e98ec8..a0bf50aefaf 100644 --- a/src/nouveau/vulkan/nvk_device.c +++ b/src/nouveau/vulkan/nvk_device.c @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #include "nvk_device.h" #include "nvk_cmd_buffer.h" diff --git a/src/nouveau/vulkan/nvk_device.h b/src/nouveau/vulkan/nvk_device.h index 9180454a03a..8dee8f30024 100644 --- a/src/nouveau/vulkan/nvk_device.h +++ b/src/nouveau/vulkan/nvk_device.h @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #ifndef NVK_DEVICE_H #define NVK_DEVICE_H 1 diff --git a/src/nouveau/vulkan/nvk_device_memory.c b/src/nouveau/vulkan/nvk_device_memory.c index 930a9b511e8..e5e9b098d1d 100644 --- a/src/nouveau/vulkan/nvk_device_memory.c +++ b/src/nouveau/vulkan/nvk_device_memory.c @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #include "nvk_device_memory.h" #include "nouveau_bo.h" diff --git a/src/nouveau/vulkan/nvk_device_memory.h b/src/nouveau/vulkan/nvk_device_memory.h index 354bd6c9fbf..7b8662dbaea 100644 --- a/src/nouveau/vulkan/nvk_device_memory.h +++ b/src/nouveau/vulkan/nvk_device_memory.h @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #ifndef NVK_MEMORY_H #define NVK_MEMORY_H 1 diff --git a/src/nouveau/vulkan/nvk_event.c b/src/nouveau/vulkan/nvk_event.c index ad2d8f6ac29..3d113c829b3 100644 --- a/src/nouveau/vulkan/nvk_event.c +++ b/src/nouveau/vulkan/nvk_event.c @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #include "nvk_event.h" #include "nvk_cmd_buffer.h" diff --git a/src/nouveau/vulkan/nvk_event.h b/src/nouveau/vulkan/nvk_event.h index aec4060f1d4..245ab109a79 100644 --- a/src/nouveau/vulkan/nvk_event.h +++ b/src/nouveau/vulkan/nvk_event.h @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #ifndef NVK_EVENT_H #define NVK_EVENT_H 1 diff --git a/src/nouveau/vulkan/nvk_format.c b/src/nouveau/vulkan/nvk_format.c index f182d931f6e..f2748e7facf 100644 --- a/src/nouveau/vulkan/nvk_format.c +++ b/src/nouveau/vulkan/nvk_format.c @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #include "nvk_format.h" #include "nvk_buffer_view.h" diff --git a/src/nouveau/vulkan/nvk_format.h b/src/nouveau/vulkan/nvk_format.h index cf50581eb34..700e3a0ab38 100644 --- a/src/nouveau/vulkan/nvk_format.h +++ b/src/nouveau/vulkan/nvk_format.h @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #ifndef NVK_FORMAT_H #define NVK_FORMAT_H 1 diff --git a/src/nouveau/vulkan/nvk_graphics_pipeline.c b/src/nouveau/vulkan/nvk_graphics_pipeline.c index 5bf09a13f92..e7320fba068 100644 --- a/src/nouveau/vulkan/nvk_graphics_pipeline.c +++ b/src/nouveau/vulkan/nvk_graphics_pipeline.c @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #include "nvk_pipeline.h" #include "nvk_device.h" diff --git a/src/nouveau/vulkan/nvk_heap.c b/src/nouveau/vulkan/nvk_heap.c index 607852d5770..6de646bfc9e 100644 --- a/src/nouveau/vulkan/nvk_heap.c +++ b/src/nouveau/vulkan/nvk_heap.c @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #include "nvk_heap.h" #include "nvk_device.h" diff --git a/src/nouveau/vulkan/nvk_heap.h b/src/nouveau/vulkan/nvk_heap.h index 4f0d82c7173..b7c280ab006 100644 --- a/src/nouveau/vulkan/nvk_heap.h +++ b/src/nouveau/vulkan/nvk_heap.h @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #ifndef NVK_HEAP_H #define NVK_HEAP_H 1 diff --git a/src/nouveau/vulkan/nvk_image.c b/src/nouveau/vulkan/nvk_image.c index 2f0642bc62b..983b9836d50 100644 --- a/src/nouveau/vulkan/nvk_image.c +++ b/src/nouveau/vulkan/nvk_image.c @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #include "nvk_image.h" #include "nvk_device.h" diff --git a/src/nouveau/vulkan/nvk_image.h b/src/nouveau/vulkan/nvk_image.h index 6023f018b7d..40b44b91285 100644 --- a/src/nouveau/vulkan/nvk_image.h +++ b/src/nouveau/vulkan/nvk_image.h @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #ifndef NVK_IMAGE_H #define NVK_IMAGE_H 1 diff --git a/src/nouveau/vulkan/nvk_image_view.c b/src/nouveau/vulkan/nvk_image_view.c index 24ffd6f3208..e5c8713b257 100644 --- a/src/nouveau/vulkan/nvk_image_view.c +++ b/src/nouveau/vulkan/nvk_image_view.c @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #include "nvk_image_view.h" #include "nvk_device.h" diff --git a/src/nouveau/vulkan/nvk_image_view.h b/src/nouveau/vulkan/nvk_image_view.h index 05b7db6c2d6..ffff7a1de3a 100644 --- a/src/nouveau/vulkan/nvk_image_view.h +++ b/src/nouveau/vulkan/nvk_image_view.h @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #ifndef NVK_IMAGE_VIEW_H #define NVK_IMAGE_VIEW_H 1 diff --git a/src/nouveau/vulkan/nvk_instance.c b/src/nouveau/vulkan/nvk_instance.c index 0c266ddea8e..4d0ee13156e 100644 --- a/src/nouveau/vulkan/nvk_instance.c +++ b/src/nouveau/vulkan/nvk_instance.c @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #include "nvk_instance.h" #include "nvk_entrypoints.h" diff --git a/src/nouveau/vulkan/nvk_instance.h b/src/nouveau/vulkan/nvk_instance.h index 99b39fa726d..9623467bf65 100644 --- a/src/nouveau/vulkan/nvk_instance.h +++ b/src/nouveau/vulkan/nvk_instance.h @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #ifndef NVK_INSTANCE_H #define NVK_INSTANCE_H 1 diff --git a/src/nouveau/vulkan/nvk_mme.c b/src/nouveau/vulkan/nvk_mme.c index 3c1bf1f9735..8e733dafcee 100644 --- a/src/nouveau/vulkan/nvk_mme.c +++ b/src/nouveau/vulkan/nvk_mme.c @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #include "nvk_mme.h" #include "nvk_private.h" diff --git a/src/nouveau/vulkan/nvk_mme.h b/src/nouveau/vulkan/nvk_mme.h index e91a74134aa..9fcfc5b06ae 100644 --- a/src/nouveau/vulkan/nvk_mme.h +++ b/src/nouveau/vulkan/nvk_mme.h @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #ifndef NVK_MME_H #define NVK_MME_H 1 diff --git a/src/nouveau/vulkan/nvk_nir_lower_descriptors.c b/src/nouveau/vulkan/nvk_nir_lower_descriptors.c index 653b0b8126e..2633fdb7d32 100644 --- a/src/nouveau/vulkan/nvk_nir_lower_descriptors.c +++ b/src/nouveau/vulkan/nvk_nir_lower_descriptors.c @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #include "nvk_cmd_buffer.h" #include "nvk_descriptor_set.h" #include "nvk_descriptor_set_layout.h" diff --git a/src/nouveau/vulkan/nvk_physical_device.c b/src/nouveau/vulkan/nvk_physical_device.c index 41f2dbad948..86671d2a17d 100644 --- a/src/nouveau/vulkan/nvk_physical_device.c +++ b/src/nouveau/vulkan/nvk_physical_device.c @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #include "nvk_physical_device.h" #include "nvk_bo_sync.h" diff --git a/src/nouveau/vulkan/nvk_physical_device.h b/src/nouveau/vulkan/nvk_physical_device.h index d86c048d085..738ffcfbe08 100644 --- a/src/nouveau/vulkan/nvk_physical_device.h +++ b/src/nouveau/vulkan/nvk_physical_device.h @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #ifndef NVK_PHYSICAL_DEVICE_H #define NVK_PHYSICAL_DEVICE_H 1 diff --git a/src/nouveau/vulkan/nvk_pipeline.c b/src/nouveau/vulkan/nvk_pipeline.c index d7875969543..2b5815ebb4f 100644 --- a/src/nouveau/vulkan/nvk_pipeline.c +++ b/src/nouveau/vulkan/nvk_pipeline.c @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #include "nvk_pipeline.h" #include "nvk_device.h" diff --git a/src/nouveau/vulkan/nvk_pipeline.h b/src/nouveau/vulkan/nvk_pipeline.h index c77343453cb..c48bd92764b 100644 --- a/src/nouveau/vulkan/nvk_pipeline.h +++ b/src/nouveau/vulkan/nvk_pipeline.h @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #ifndef NVK_PIPELINE_H #define NVK_PIPELINE_H 1 diff --git a/src/nouveau/vulkan/nvk_private.h b/src/nouveau/vulkan/nvk_private.h index 8ac7b2358ae..ba6e6c6876b 100644 --- a/src/nouveau/vulkan/nvk_private.h +++ b/src/nouveau/vulkan/nvk_private.h @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora, Ltd. + * SPDX-License-Identifier: MIT + */ #ifndef NVK_PRIVATE_H #define NVK_PRIVATE_H 1 diff --git a/src/nouveau/vulkan/nvk_query_pool.c b/src/nouveau/vulkan/nvk_query_pool.c index cab52987d43..feff84e8319 100644 --- a/src/nouveau/vulkan/nvk_query_pool.c +++ b/src/nouveau/vulkan/nvk_query_pool.c @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #include "nvk_query_pool.h" #include "nvk_buffer.h" diff --git a/src/nouveau/vulkan/nvk_query_pool.h b/src/nouveau/vulkan/nvk_query_pool.h index 4a3eec531ad..4319a407a62 100644 --- a/src/nouveau/vulkan/nvk_query_pool.h +++ b/src/nouveau/vulkan/nvk_query_pool.h @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #ifndef NVK_QUERY_POOL_H #define NVK_QUERY_POOL_H 1 diff --git a/src/nouveau/vulkan/nvk_queue.c b/src/nouveau/vulkan/nvk_queue.c index a13c7e76a40..bd0a1bcb1a2 100644 --- a/src/nouveau/vulkan/nvk_queue.c +++ b/src/nouveau/vulkan/nvk_queue.c @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #include "nvk_queue.h" #include "nvk_cmd_buffer.h" diff --git a/src/nouveau/vulkan/nvk_queue.h b/src/nouveau/vulkan/nvk_queue.h index 7cf695338e8..2aef7678cd4 100644 --- a/src/nouveau/vulkan/nvk_queue.h +++ b/src/nouveau/vulkan/nvk_queue.h @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #ifndef NVK_QUEUE_H #define NVK_QUEUE_H 1 diff --git a/src/nouveau/vulkan/nvk_queue_drm_nouveau.c b/src/nouveau/vulkan/nvk_queue_drm_nouveau.c index 3d96d64d55a..27ef679b572 100644 --- a/src/nouveau/vulkan/nvk_queue_drm_nouveau.c +++ b/src/nouveau/vulkan/nvk_queue_drm_nouveau.c @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #include "nvk_queue.h" #include "nvk_bo_sync.h" diff --git a/src/nouveau/vulkan/nvk_sampler.c b/src/nouveau/vulkan/nvk_sampler.c index 1a5be9ca407..39fb9948f6e 100644 --- a/src/nouveau/vulkan/nvk_sampler.c +++ b/src/nouveau/vulkan/nvk_sampler.c @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #include "nvk_sampler.h" #include "nvk_device.h" diff --git a/src/nouveau/vulkan/nvk_sampler.h b/src/nouveau/vulkan/nvk_sampler.h index a8360c33016..e6374eb1eae 100644 --- a/src/nouveau/vulkan/nvk_sampler.h +++ b/src/nouveau/vulkan/nvk_sampler.h @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #ifndef NVK_SAMPLER_H #define NVK_SAMPLER_H 1 diff --git a/src/nouveau/vulkan/nvk_shader.c b/src/nouveau/vulkan/nvk_shader.c index 9008457d3e4..82b81a3d7f1 100644 --- a/src/nouveau/vulkan/nvk_shader.c +++ b/src/nouveau/vulkan/nvk_shader.c @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #include "nvk_shader.h" #include "nvk_cmd_buffer.h" diff --git a/src/nouveau/vulkan/nvk_shader.h b/src/nouveau/vulkan/nvk_shader.h index c60a2e60884..dbf9d32df58 100644 --- a/src/nouveau/vulkan/nvk_shader.h +++ b/src/nouveau/vulkan/nvk_shader.h @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #ifndef NVK_SHADER_H #define NVK_SHADER_H 1 diff --git a/src/nouveau/vulkan/nvk_wsi.c b/src/nouveau/vulkan/nvk_wsi.c index f245c85b933..4683926cf96 100644 --- a/src/nouveau/vulkan/nvk_wsi.c +++ b/src/nouveau/vulkan/nvk_wsi.c @@ -1,4 +1,7 @@ - +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #include "nvk_wsi.h" #include "nvk_instance.h" #include "wsi_common.h" diff --git a/src/nouveau/vulkan/nvk_wsi.h b/src/nouveau/vulkan/nvk_wsi.h index fb98434111f..6b6a0f60176 100644 --- a/src/nouveau/vulkan/nvk_wsi.h +++ b/src/nouveau/vulkan/nvk_wsi.h @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #ifndef NVK_WSI_H #define NVK_WSI_H 1 diff --git a/src/nouveau/vulkan/test_nvk_mme.c b/src/nouveau/vulkan/test_nvk_mme.c index 71e0b2cc61f..d8eea63cbd2 100644 --- a/src/nouveau/vulkan/test_nvk_mme.c +++ b/src/nouveau/vulkan/test_nvk_mme.c @@ -1,3 +1,7 @@ +/* + * Copyright © 2022 Collabora Ltd. and Red Hat Inc. + * SPDX-License-Identifier: MIT + */ #include "nvk_mme.h" #include "nvk_cla097.h"