[Mesa-dev] [PATCH v2 10/18] anv: Move queues, events, and semaphores to their own file

Chad Versace chadversary at chromium.org
Tue Apr 4 00:26:12 UTC 2017


On Mon 13 Mar 2017, Jason Ekstrand wrote:
> Things are about to get more complicated, especially as far as
> semaphores are concerned.
> ---
>  src/intel/Makefile.sources        |   1 +
>  src/intel/vulkan/Makefile.sources |  86 +++++++
>  src/intel/vulkan/anv_device.c     | 440 -----------------------------------
>  src/intel/vulkan/anv_queue.c      | 470 ++++++++++++++++++++++++++++++++++++++
>  4 files changed, 557 insertions(+), 440 deletions(-)
>  create mode 100644 src/intel/vulkan/Makefile.sources
>  create mode 100644 src/intel/vulkan/anv_queue.c
> 
> diff --git a/src/intel/Makefile.sources b/src/intel/Makefile.sources
> index 1337574..4382d79 100644
> --- a/src/intel/Makefile.sources
> +++ b/src/intel/Makefile.sources
> @@ -184,6 +184,7 @@ VULKAN_FILES := \
>  	vulkan/anv_pipeline.c \
>  	vulkan/anv_pipeline_cache.c \
>  	vulkan/anv_private.h \
> +	vulkan/anv_queue.c \
>  	vulkan/anv_util.c \
>  	vulkan/anv_wsi.c \
>  	vulkan/vk_format_info.h
> diff --git a/src/intel/vulkan/Makefile.sources b/src/intel/vulkan/Makefile.sources
> new file mode 100644
> index 0000000..aa243a1
> --- /dev/null
> +++ b/src/intel/vulkan/Makefile.sources
> @@ -0,0 +1,86 @@
> +# Copyright © 2015 Intel Corporation
> +#
> +# Permission is hereby granted, free of charge, to any person obtaining a
> +# copy of this software and associated documentation files (the "Software"),
> +# to deal in the Software without restriction, including without limitation
> +# the rights to use, copy, modify, merge, publish, distribute, sublicense,
> +# and/or sell copies of the Software, and to permit persons to whom the
> +# Software is furnished to do so, subject to the following conditions:
> +#
> +# The above copyright notice and this permission notice (including the next
> +# paragraph) shall be included in all copies or substantial portions of the
> +# Software.
> +#
> +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
> +# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
> +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
> +# IN THE SOFTWARE.

Oops. This patch adds an extra Makefile.sources.

Other than the dup'd file, patch 10 is
Reviewed-by: Chad Versace <chadversary at chromium.org>


More information about the mesa-dev mailing list