From 0f7d07aacc6e4221dd79517b5465066650e7fc43 Mon Sep 17 00:00:00 2001 From: Junwei Zhang Date: Mon, 25 Jul 2016 13:53:45 +0800 Subject: [PATCH 099/117] amdgpu: add the copyright and macros for the asic id header file Change-Id: I83b2f0bb3828cc91b950a826bbfd2fcd5a6965ac Signed-off-by: Junwei Zhang Reviewed-by: Flora Cui --- amdgpu/amdgpu_asic_id.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/amdgpu/amdgpu_asic_id.h b/amdgpu/amdgpu_asic_id.h index 00815bd..d521175 100644 --- a/amdgpu/amdgpu_asic_id.h +++ b/amdgpu/amdgpu_asic_id.h @@ -1,3 +1,30 @@ +/* + * Copyright © 2016 Advanced Micro Devices, Inc. + * All Rights Reserved. + * + * 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 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 COPYRIGHT HOLDER(S) OR AUTHOR(S) 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. + * + */ + +#ifndef __AMDGPU_ASIC_ID_H__ +#define __AMDGPU_ASIC_ID_H__ + struct amdgpu_asic_id_table_t { uint32_t did; uint32_t rid; @@ -140,3 +167,4 @@ struct amdgpu_asic_id_table_t { {0x0000, 0x0, "\0"}, }; +#endif -- 2.7.4