diff --git a/drivers/gpu/drm/arise/cbios/CBios.h b/drivers/gpu/drm/arise/cbios/CBios.h index 40082a189ccb3..2db2a9d32fbd2 100644 --- a/drivers/gpu/drm/arise/cbios/CBios.h +++ b/drivers/gpu/drm/arise/cbios/CBios.h @@ -1,28 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - - -/***************************************************************************** -** DESCRIPTION: -** CBios interface function prototype and parameter definition. -** -** NOTE: -** The interface and structure SHOULD NOT be modified under normal condition. -** If the interface need modify for some special case, please make sure to -** update the code where calls this interface. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_H_ diff --git a/drivers/gpu/drm/arise/cbios/Callback/CBiosCallbacks.c b/drivers/gpu/drm/arise/cbios/Callback/CBiosCallbacks.c index dd927a5d528fe..9e2854c22eab6 100644 --- a/drivers/gpu/drm/arise/cbios/Callback/CBiosCallbacks.c +++ b/drivers/gpu/drm/arise/cbios/Callback/CBiosCallbacks.c @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** CBios hw independent callback function implementation. -** -** NOTE: -** The hw dependent callback function SHOULD NOT be added to this file. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosCallbacks.h" diff --git a/drivers/gpu/drm/arise/cbios/Callback/CBiosCallbacks.h b/drivers/gpu/drm/arise/cbios/Callback/CBiosCallbacks.h index 92dfbaf4a860b..4fddb9f8b160d 100644 --- a/drivers/gpu/drm/arise/cbios/Callback/CBiosCallbacks.h +++ b/drivers/gpu/drm/arise/cbios/Callback/CBiosCallbacks.h @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** CBios hw independent callback function prototype. -** -** NOTE: -** The hw dependent callback function SHOULD NOT be added to this file. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_CALLBACKS_H_ #define _CBIOS_CALLBACKS_H_ diff --git a/drivers/gpu/drm/arise/cbios/Device/CBIOSVER.H b/drivers/gpu/drm/arise/cbios/Device/CBIOSVER.H index ba3661170da3e..f667fc23ebbf4 100644 --- a/drivers/gpu/drm/arise/cbios/Device/CBIOSVER.H +++ b/drivers/gpu/drm/arise/cbios/Device/CBIOSVER.H @@ -1,47 +1,26 @@ /* -* Copyright 2019-2020 Shanghai Zhaoxin Semiconductor Co., Ltd. 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, sub license, -* 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 NON-INFRINGEMENT. IN NO EVENT SHALL -* THE AUTHOR(S) OR COPYRIGHT HOLDER(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. -*/ - - -// -// ZXG_MAJOR_VERSION and ZXG_MINOR_VERSION are used to define DRIVER_VERSION -// which is used in the .rc files. -// -// Please keep the ZXG_MINOR_VERSION to 4 decimal digits -// -// -// DX_DRIVER_PREFIX_VERSION is the number specified in the DriverVer -// directive of the .INF file, and indicates operating system and -// the driver's level of DirectX support. E.g. 5.12.01.xxxx is an -// NT5 (Win2000) DX7 driver. The last four digits are for driver use. -// The entire number (DX prefix + driver number) must be unique among -// WHQL submissions. -// - -// -// WARNING: Do NOT use leading zeroes in the ZXG_MINOR_VERSION_NUM! -// Or you'll find that '08' gets treated as an octal signal! -// - + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #define CBIOS_VERSION_MAJOR 10 /* Branch CBios code */ #define CBIOS_VERSION_BRANCH 17 /* Big change such as structure modification */ diff --git a/drivers/gpu/drm/arise/cbios/Device/CBiosChipShare.h b/drivers/gpu/drm/arise/cbios/Device/CBiosChipShare.h index 6ea8dc8a99a4b..8f71c66c2b65f 100644 --- a/drivers/gpu/drm/arise/cbios/Device/CBiosChipShare.h +++ b/drivers/gpu/drm/arise/cbios/Device/CBiosChipShare.h @@ -1,27 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** CBios function prototypes in Init/Utility files -** Defines CBIOS_EXTENSION_COMMON and VCP_INFO -** Defines macro for sharing used. -** -** NOTE: -** The sharing used structure is SUGGESTED to be add to CBiosTypes.h -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_CHIPSHARE_H_ #define _CBIOS_CHIPSHARE_H_ diff --git a/drivers/gpu/drm/arise/cbios/Device/CBiosCompile.h b/drivers/gpu/drm/arise/cbios/Device/CBiosCompile.h index 7851ca1b1c940..c7ab13852887a 100644 --- a/drivers/gpu/drm/arise/cbios/Device/CBiosCompile.h +++ b/drivers/gpu/drm/arise/cbios/Device/CBiosCompile.h @@ -1,26 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - - -/***************************************************************************** -** DESCRIPTION: -** CBios compile switch for some monitor, port or feature supported. -** -** NOTE: -** -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_COMPILE_H_ #define _CBIOS_COMPILE_H_ diff --git a/drivers/gpu/drm/arise/cbios/Device/CBiosDevice.c b/drivers/gpu/drm/arise/cbios/Device/CBiosDevice.c index 299da5aea8f81..01ca3da7b92b6 100644 --- a/drivers/gpu/drm/arise/cbios/Device/CBiosDevice.c +++ b/drivers/gpu/drm/arise/cbios/Device/CBiosDevice.c @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** CBios general device port functions. Call different port or monitor interface. -** -** NOTE: -** -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosChipShare.h" #include "../Hw/HwBlock/CBiosDIU_DP.h" diff --git a/drivers/gpu/drm/arise/cbios/Device/CBiosDevice.h b/drivers/gpu/drm/arise/cbios/Device/CBiosDevice.h index 47cdbf6358494..d38f8a418080e 100644 --- a/drivers/gpu/drm/arise/cbios/Device/CBiosDevice.h +++ b/drivers/gpu/drm/arise/cbios/Device/CBiosDevice.h @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** CBios general device port functions prototype. -** -** NOTE: -** The hw dependent function or structure SHOULD NOT be added to this file. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_DEVICE_H_ #define _CBIOS_DEVICE_H_ diff --git a/drivers/gpu/drm/arise/cbios/Device/CBiosDeviceShare.c b/drivers/gpu/drm/arise/cbios/Device/CBiosDeviceShare.c index 7a202e9363aae..eb2bd7903bff2 100644 --- a/drivers/gpu/drm/arise/cbios/Device/CBiosDeviceShare.c +++ b/drivers/gpu/drm/arise/cbios/Device/CBiosDeviceShare.c @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** Device port sharing function implementation. -** -** NOTE: -** -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosDeviceShare.h" #include "CBiosChipShare.h" diff --git a/drivers/gpu/drm/arise/cbios/Device/CBiosDeviceShare.h b/drivers/gpu/drm/arise/cbios/Device/CBiosDeviceShare.h index ffce6bdd5d837..ac70c2754915f 100644 --- a/drivers/gpu/drm/arise/cbios/Device/CBiosDeviceShare.h +++ b/drivers/gpu/drm/arise/cbios/Device/CBiosDeviceShare.h @@ -1,26 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** Defines common function pointer for each device port. -** Defines CBIOS_DEVICE_COMMON. -** -** NOTE: -** -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_DEVICE_SHARE_H_ #define _CBIOS_DEVICE_SHARE_H_ diff --git a/drivers/gpu/drm/arise/cbios/Device/CBiosReg.h b/drivers/gpu/drm/arise/cbios/Device/CBiosReg.h index 508e35615a40a..1966c21fcdbdb 100644 --- a/drivers/gpu/drm/arise/cbios/Device/CBiosReg.h +++ b/drivers/gpu/drm/arise/cbios/Device/CBiosReg.h @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** CBios CR, SR groups register macro definition -** -** NOTE: -** -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_REG_H_ #define _CBIOS_REG_H_ diff --git a/drivers/gpu/drm/arise/cbios/Device/CBiosShare.c b/drivers/gpu/drm/arise/cbios/Device/CBiosShare.c index 433305e941d9d..36fb4ff6c1871 100644 --- a/drivers/gpu/drm/arise/cbios/Device/CBiosShare.c +++ b/drivers/gpu/drm/arise/cbios/Device/CBiosShare.c @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** Hw independent and chip independent functions. -** -** NOTE: -** The function in this file WOULD BETTER not use CBIOS_EXTENSION_COMMON. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosShare.h" #include "CBiosChipShare.h" diff --git a/drivers/gpu/drm/arise/cbios/Device/CBiosShare.h b/drivers/gpu/drm/arise/cbios/Device/CBiosShare.h index dbda809f6d186..dbbb0bcb0ffb5 100644 --- a/drivers/gpu/drm/arise/cbios/Device/CBiosShare.h +++ b/drivers/gpu/drm/arise/cbios/Device/CBiosShare.h @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** Hw independent and chip independent functions and parameters. -** -** NOTE: -** All outside head files should be included here. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_SHARE_H_ #define _CBIOS_SHARE_H_ diff --git a/drivers/gpu/drm/arise/cbios/Device/CBiosTypes.h b/drivers/gpu/drm/arise/cbios/Device/CBiosTypes.h index 2a6595337e2a8..19f6de59ac8a2 100644 --- a/drivers/gpu/drm/arise/cbios/Device/CBiosTypes.h +++ b/drivers/gpu/drm/arise/cbios/Device/CBiosTypes.h @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** CBios sharing used structures definition. -** -** NOTE: -** The hw only used structure SHOULD be add to hw layer. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_TYPES_H_ #define _CBIOS_TYPES_H_ diff --git a/drivers/gpu/drm/arise/cbios/Device/Monitor/CBiosCRTMonitor.c b/drivers/gpu/drm/arise/cbios/Device/Monitor/CBiosCRTMonitor.c index e42d5fb4cdb33..6b51c2e7a7819 100644 --- a/drivers/gpu/drm/arise/cbios/Device/Monitor/CBiosCRTMonitor.c +++ b/drivers/gpu/drm/arise/cbios/Device/Monitor/CBiosCRTMonitor.c @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** CRT monitor interface function implementation. -** -** NOTE: -** -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosChipShare.h" #include "CBiosCRTMonitor.h" diff --git a/drivers/gpu/drm/arise/cbios/Device/Monitor/CBiosCRTMonitor.h b/drivers/gpu/drm/arise/cbios/Device/Monitor/CBiosCRTMonitor.h index d6b997c36a99c..8da2658c3f07f 100644 --- a/drivers/gpu/drm/arise/cbios/Device/Monitor/CBiosCRTMonitor.h +++ b/drivers/gpu/drm/arise/cbios/Device/Monitor/CBiosCRTMonitor.h @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** CRT monitor interface function prototype and parameter definition. -** -** NOTE: -** CRT monitor ONLY parameters SHOULD be added to CBIOS_CRT_MONITOR_CONTEXT. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_CRT_MONITOR_H_ #define _CBIOS_CRT_MONITOR_H_ diff --git a/drivers/gpu/drm/arise/cbios/Device/Monitor/CBiosDPMonitor.c b/drivers/gpu/drm/arise/cbios/Device/Monitor/CBiosDPMonitor.c index bada9f0fac72e..065e6f980d4e8 100644 --- a/drivers/gpu/drm/arise/cbios/Device/Monitor/CBiosDPMonitor.c +++ b/drivers/gpu/drm/arise/cbios/Device/Monitor/CBiosDPMonitor.c @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** DP monitor interface function implementation. -** -** NOTE: -** DP monitor ONLY characters like link training, DPCD, Aux read/write, SHOULD add to this file. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosChipShare.h" #include "../../Hw/HwBlock/CBiosDIU_DP.h" diff --git a/drivers/gpu/drm/arise/cbios/Device/Monitor/CBiosDPMonitor.h b/drivers/gpu/drm/arise/cbios/Device/Monitor/CBiosDPMonitor.h index fdcff60841708..a1fa4687a6ee0 100644 --- a/drivers/gpu/drm/arise/cbios/Device/Monitor/CBiosDPMonitor.h +++ b/drivers/gpu/drm/arise/cbios/Device/Monitor/CBiosDPMonitor.h @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** DP monitor interface function prototype and parameter definition. -** -** NOTE: -** DP monitor ONLY parameters SHOULD be added to CBIOS_DP_MONITOR_CONTEXT. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_DP_MONITOR_H_ #define _CBIOS_DP_MONITOR_H_ diff --git a/drivers/gpu/drm/arise/cbios/Device/Monitor/CBiosEDPPanel.c b/drivers/gpu/drm/arise/cbios/Device/Monitor/CBiosEDPPanel.c index 3abf0d6bab37c..2e125397255ad 100644 --- a/drivers/gpu/drm/arise/cbios/Device/Monitor/CBiosEDPPanel.c +++ b/drivers/gpu/drm/arise/cbios/Device/Monitor/CBiosEDPPanel.c @@ -1,18 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosChipShare.h" #include "CBiosEDPPanel.h" diff --git a/drivers/gpu/drm/arise/cbios/Device/Monitor/CBiosEDPPanel.h b/drivers/gpu/drm/arise/cbios/Device/Monitor/CBiosEDPPanel.h index db35bc5b0d21f..29238fd187770 100644 --- a/drivers/gpu/drm/arise/cbios/Device/Monitor/CBiosEDPPanel.h +++ b/drivers/gpu/drm/arise/cbios/Device/Monitor/CBiosEDPPanel.h @@ -1,18 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_EDP_PANEL_H_ #define _CBIOS_EDP_PANEL_H_ diff --git a/drivers/gpu/drm/arise/cbios/Device/Monitor/CBiosHDMIMonitor.c b/drivers/gpu/drm/arise/cbios/Device/Monitor/CBiosHDMIMonitor.c index e6390bfdc3bef..f92781c8bd0d8 100644 --- a/drivers/gpu/drm/arise/cbios/Device/Monitor/CBiosHDMIMonitor.c +++ b/drivers/gpu/drm/arise/cbios/Device/Monitor/CBiosHDMIMonitor.c @@ -1,26 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** HDMI monitor interface function implementation. -** -** NOTE: -** HDMI monitor related function SHOULD be added to this file, -** no matter the monitor is on DP port or MHL port. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosChipShare.h" #include "../../Hw/HwBlock/CBiosDIU_HDMI.h" diff --git a/drivers/gpu/drm/arise/cbios/Device/Monitor/CBiosHDMIMonitor.h b/drivers/gpu/drm/arise/cbios/Device/Monitor/CBiosHDMIMonitor.h index 86d20f0accca1..47b0aa9772e83 100644 --- a/drivers/gpu/drm/arise/cbios/Device/Monitor/CBiosHDMIMonitor.h +++ b/drivers/gpu/drm/arise/cbios/Device/Monitor/CBiosHDMIMonitor.h @@ -1,26 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** HDMI monitor interface function prototype and parameter definition. -** -** NOTE: -** HDMI monitor ONLY parameters SHOULD be added to CBIOS_HDMI_MONITOR_CONTEXT., -** no matter the monitor is on DP port or MHL port. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_HDMI_MONITOR_H_ #define _CBIOS_HDMI_MONITOR_H_ diff --git a/drivers/gpu/drm/arise/cbios/Device/Monitor/DSIPanel/CBiosDSIPanel.c b/drivers/gpu/drm/arise/cbios/Device/Monitor/DSIPanel/CBiosDSIPanel.c index 02726cdf505e3..6144644d6ffa2 100644 --- a/drivers/gpu/drm/arise/cbios/Device/Monitor/DSIPanel/CBiosDSIPanel.c +++ b/drivers/gpu/drm/arise/cbios/Device/Monitor/DSIPanel/CBiosDSIPanel.c @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** DSI panel interface function implementation. -** -** NOTE: -** -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosDSI.h" diff --git a/drivers/gpu/drm/arise/cbios/Device/Monitor/DSIPanel/CBiosDSIPanel.h b/drivers/gpu/drm/arise/cbios/Device/Monitor/DSIPanel/CBiosDSIPanel.h index 14ceb76f4f59f..99d9a503dbbb1 100644 --- a/drivers/gpu/drm/arise/cbios/Device/Monitor/DSIPanel/CBiosDSIPanel.h +++ b/drivers/gpu/drm/arise/cbios/Device/Monitor/DSIPanel/CBiosDSIPanel.h @@ -1,26 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - - -/***************************************************************************** -** DESCRIPTION: -** DSI panel interface function prototype and parameter definition. -** -** NOTE: -*** -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_DSI_PANEL_H_ #define _CBIOS_DSI_PANEL_H_ diff --git a/drivers/gpu/drm/arise/cbios/Device/Monitor/DSIPanel/CBiosHX8392A.c b/drivers/gpu/drm/arise/cbios/Device/Monitor/DSIPanel/CBiosHX8392A.c index a185ca514905a..adf584f5aaa3f 100644 --- a/drivers/gpu/drm/arise/cbios/Device/Monitor/DSIPanel/CBiosHX8392A.c +++ b/drivers/gpu/drm/arise/cbios/Device/Monitor/DSIPanel/CBiosHX8392A.c @@ -1,26 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** HX8392A type DSI panel descriptor definition, -** which contains panel config and command lists. -** -** NOTE: -** -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosDSIPanel.h" #include "CBiosDSI.h" diff --git a/drivers/gpu/drm/arise/cbios/Device/Monitor/DSIPanel/CBiosNT35595.c b/drivers/gpu/drm/arise/cbios/Device/Monitor/DSIPanel/CBiosNT35595.c index 97aed0cc3c80d..3022847d7f44e 100644 --- a/drivers/gpu/drm/arise/cbios/Device/Monitor/DSIPanel/CBiosNT35595.c +++ b/drivers/gpu/drm/arise/cbios/Device/Monitor/DSIPanel/CBiosNT35595.c @@ -1,27 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - - -/***************************************************************************** -** DESCRIPTION: -** NT35595 type DSI panel descriptor definition, -** which contains panel config and command lists. -** -** NOTE: -** -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosDSIPanel.h" diff --git a/drivers/gpu/drm/arise/cbios/Device/Monitor/DSIPanel/CBiosR63319.c b/drivers/gpu/drm/arise/cbios/Device/Monitor/DSIPanel/CBiosR63319.c index e63bf199c6acc..7c3ce9cdc4469 100644 --- a/drivers/gpu/drm/arise/cbios/Device/Monitor/DSIPanel/CBiosR63319.c +++ b/drivers/gpu/drm/arise/cbios/Device/Monitor/DSIPanel/CBiosR63319.c @@ -1,26 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** R63319 type DSI panel descriptor definition, -** which contains panel config and command lists. -** -** NOTE: -** -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosDSIPanel.h" diff --git a/drivers/gpu/drm/arise/cbios/Device/Monitor/DSIPanel/CBiosR63417.c b/drivers/gpu/drm/arise/cbios/Device/Monitor/DSIPanel/CBiosR63417.c index 4309fdc6e9d15..1b7b329863e8d 100644 --- a/drivers/gpu/drm/arise/cbios/Device/Monitor/DSIPanel/CBiosR63417.c +++ b/drivers/gpu/drm/arise/cbios/Device/Monitor/DSIPanel/CBiosR63417.c @@ -1,26 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** R63417 type DSI panel descriptor definition, -** which contains panel config and command lists. -** -** NOTE: -** -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosDSIPanel.h" diff --git a/drivers/gpu/drm/arise/cbios/Device/Monitor/EDPPanel/CBiosITN156.c b/drivers/gpu/drm/arise/cbios/Device/Monitor/EDPPanel/CBiosITN156.c index 511b20f563bd3..5465799322849 100644 --- a/drivers/gpu/drm/arise/cbios/Device/Monitor/EDPPanel/CBiosITN156.c +++ b/drivers/gpu/drm/arise/cbios/Device/Monitor/EDPPanel/CBiosITN156.c @@ -1,18 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "../../../Hw/HwCallback/CBiosCallbacksHw.h" #include "../CBiosEDPPanel.h" diff --git a/drivers/gpu/drm/arise/cbios/Device/Port/CBiosCRT.c b/drivers/gpu/drm/arise/cbios/Device/Port/CBiosCRT.c index 62dffd3ec8556..1d89aba7876be 100644 --- a/drivers/gpu/drm/arise/cbios/Device/Port/CBiosCRT.c +++ b/drivers/gpu/drm/arise/cbios/Device/Port/CBiosCRT.c @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** CRT port interface function implementation. -** -** NOTE: -** -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosChipShare.h" #include "CBiosCRT.h" diff --git a/drivers/gpu/drm/arise/cbios/Device/Port/CBiosCRT.h b/drivers/gpu/drm/arise/cbios/Device/Port/CBiosCRT.h index 20baf6acb3596..2b3cf2434403e 100644 --- a/drivers/gpu/drm/arise/cbios/Device/Port/CBiosCRT.h +++ b/drivers/gpu/drm/arise/cbios/Device/Port/CBiosCRT.h @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** CRT port interface function prototype and CBIOS_CRT_CONTEXT definition. -** -** NOTE: -** CRT port ONLY parameters SHOULD be added to CBIOS_CRT_CONTEXT. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_CRT_H_ #define _CBIOS_CRT_H_ diff --git a/drivers/gpu/drm/arise/cbios/Device/Port/CBiosDP.c b/drivers/gpu/drm/arise/cbios/Device/Port/CBiosDP.c index 6f58c8fcc9f93..d742a35f8e386 100644 --- a/drivers/gpu/drm/arise/cbios/Device/Port/CBiosDP.c +++ b/drivers/gpu/drm/arise/cbios/Device/Port/CBiosDP.c @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** DP port interface function implementation. -** -** NOTE: -** -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosChipShare.h" #include "CBiosDP.h" diff --git a/drivers/gpu/drm/arise/cbios/Device/Port/CBiosDP.h b/drivers/gpu/drm/arise/cbios/Device/Port/CBiosDP.h index b21d15fb455c6..d86d2cbc132d0 100644 --- a/drivers/gpu/drm/arise/cbios/Device/Port/CBiosDP.h +++ b/drivers/gpu/drm/arise/cbios/Device/Port/CBiosDP.h @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** DP port interface function prototype and parameter definition. -** -** NOTE: -** DP port ONLY parameters SHOULD be added to CBIOS_DP_CONTEXT. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_DP_H_ #define _CBIOS_DP_H_ diff --git a/drivers/gpu/drm/arise/cbios/Device/Port/CBiosDSI.c b/drivers/gpu/drm/arise/cbios/Device/Port/CBiosDSI.c index 9b97f19fa401e..7346b61b454fd 100644 --- a/drivers/gpu/drm/arise/cbios/Device/Port/CBiosDSI.c +++ b/drivers/gpu/drm/arise/cbios/Device/Port/CBiosDSI.c @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** DSI port interface function implementation. -** -** NOTE: -** -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosChipShare.h" #include "../../Hw/CBiosHwShare.h" diff --git a/drivers/gpu/drm/arise/cbios/Device/Port/CBiosDSI.h b/drivers/gpu/drm/arise/cbios/Device/Port/CBiosDSI.h index bd6011d723003..fb80b7f2b00f2 100644 --- a/drivers/gpu/drm/arise/cbios/Device/Port/CBiosDSI.h +++ b/drivers/gpu/drm/arise/cbios/Device/Port/CBiosDSI.h @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** DSI port interface function prototype and parameter definition. -** -** NOTE: -** -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_DSI_H_ #define _CBIOS_DSI_H_ diff --git a/drivers/gpu/drm/arise/cbios/Device/Port/CBiosDVO.c b/drivers/gpu/drm/arise/cbios/Device/Port/CBiosDVO.c index 695ff093ab658..f05b68e24bdb8 100644 --- a/drivers/gpu/drm/arise/cbios/Device/Port/CBiosDVO.c +++ b/drivers/gpu/drm/arise/cbios/Device/Port/CBiosDVO.c @@ -1,26 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** DVO port interface function implementation. -** -** NOTE: -** DVO port ONLY parameters SHOULD be added to CBIOS_DVO_CONTEXT. -** The daughter card's function and parameter SHOULD be added to corresponding monitor file. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosChipShare.h" #include "../../Hw/HwBlock/CBiosDIU_DVO.h" diff --git a/drivers/gpu/drm/arise/cbios/Device/Port/CBiosDVO.h b/drivers/gpu/drm/arise/cbios/Device/Port/CBiosDVO.h index 4f01744f114f0..cb612c22ab3b3 100644 --- a/drivers/gpu/drm/arise/cbios/Device/Port/CBiosDVO.h +++ b/drivers/gpu/drm/arise/cbios/Device/Port/CBiosDVO.h @@ -1,26 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - - -/***************************************************************************** -** DESCRIPTION: -** DVO port interface function prototype and parameter definition. -** -** NOTE: -** The daughter card's function and parameter SHOULD be added to corresponding monitor file. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_DVO_H_ #define _CBIOS_DVO_H_ diff --git a/drivers/gpu/drm/arise/cbios/Device/gcc_stdarg.h b/drivers/gpu/drm/arise/cbios/Device/gcc_stdarg.h index f7838d069c6a0..2d2ee9cac8ac7 100644 --- a/drivers/gpu/drm/arise/cbios/Device/gcc_stdarg.h +++ b/drivers/gpu/drm/arise/cbios/Device/gcc_stdarg.h @@ -1,18 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _STDARG_H #ifndef _ANSI_STDARG_H_ #ifndef __need___va_list diff --git a/drivers/gpu/drm/arise/cbios/Display/CBiosDisplayManager.c b/drivers/gpu/drm/arise/cbios/Display/CBiosDisplayManager.c index f5faf615e4aa6..4b7ce22b77880 100644 --- a/drivers/gpu/drm/arise/cbios/Display/CBiosDisplayManager.c +++ b/drivers/gpu/drm/arise/cbios/Display/CBiosDisplayManager.c @@ -1,26 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** CBios display manager functions. -** Mainly take charge of set mode, active devices and stream update. -** -** NOTE: -** The hw dependent function or structure SHOULD NOT be added to this file. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosDisplayManager.h" diff --git a/drivers/gpu/drm/arise/cbios/Display/CBiosDisplayManager.h b/drivers/gpu/drm/arise/cbios/Display/CBiosDisplayManager.h index a6187badce427..1c7d6ba8d623a 100644 --- a/drivers/gpu/drm/arise/cbios/Display/CBiosDisplayManager.h +++ b/drivers/gpu/drm/arise/cbios/Display/CBiosDisplayManager.h @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** CBios display manager interface prototype and parameter define. -** -** NOTE: -** The hw dependent function or structure SHOULD NOT be added to this file. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_DISPLAY_MANAGER_H_ #define _CBIOS_DISPLAY_MANAGER_H_ diff --git a/drivers/gpu/drm/arise/cbios/Display/CBiosMode.c b/drivers/gpu/drm/arise/cbios/Display/CBiosMode.c index 7f80e3c982556..f1531277ee244 100644 --- a/drivers/gpu/drm/arise/cbios/Display/CBiosMode.c +++ b/drivers/gpu/drm/arise/cbios/Display/CBiosMode.c @@ -1,26 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** CBios mode related functions. Generate mode list from EDID data. Search timing from EDID and -** timing table. -** -** NOTE: -** The hw dependent function or structure SHOULD NOT be added to this file. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosChipShare.h" diff --git a/drivers/gpu/drm/arise/cbios/Display/CBiosMode.h b/drivers/gpu/drm/arise/cbios/Display/CBiosMode.h index 1f7e7e01b4211..f22e6c69a471c 100644 --- a/drivers/gpu/drm/arise/cbios/Display/CBiosMode.h +++ b/drivers/gpu/drm/arise/cbios/Display/CBiosMode.h @@ -1,26 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - - -/***************************************************************************** -** DESCRIPTION: -** CBios mode module interface prototype and parameter definition. -** -** NOTE: -** The hw dependent function or structure SHOULD NOT be added to this file. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_MODE_H_ #define _CBIOS_MODE_H_ diff --git a/drivers/gpu/drm/arise/cbios/Display/CBiosPathManager.c b/drivers/gpu/drm/arise/cbios/Display/CBiosPathManager.c index d2e730c6da658..e7806274f7127 100644 --- a/drivers/gpu/drm/arise/cbios/Display/CBiosPathManager.c +++ b/drivers/gpu/drm/arise/cbios/Display/CBiosPathManager.c @@ -1,26 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** CBios path manager interface function implementation. -** Generate display source path, DIU module index and devices combination. -** -** NOTE: -**The hw dependent function or structure SHOULD NOT be added to this file. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosPathManager.h" #include "CBiosChipShare.h" diff --git a/drivers/gpu/drm/arise/cbios/Display/CBiosPathManager.h b/drivers/gpu/drm/arise/cbios/Display/CBiosPathManager.h index a27d2d6e634d3..1d7e487a02a03 100644 --- a/drivers/gpu/drm/arise/cbios/Display/CBiosPathManager.h +++ b/drivers/gpu/drm/arise/cbios/Display/CBiosPathManager.h @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** CBios path manager interface function prototype. -** -** NOTE: -**The hw dependent function or structure SHOULD NOT be added to this file. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_PATH_MANAGER_H_ #define _CBIOS_PATH_MANAGER_H_ diff --git a/drivers/gpu/drm/arise/cbios/Hw/Arise/CBiosVCP_Arise.c b/drivers/gpu/drm/arise/cbios/Hw/Arise/CBiosVCP_Arise.c index 2b7c9cb1005bd..5cd74af11e672 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/Arise/CBiosVCP_Arise.c +++ b/drivers/gpu/drm/arise/cbios/Hw/Arise/CBiosVCP_Arise.c @@ -1,26 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** VCP functions implementation. Initailize VCP structure. -** -** NOTE: -** The functions in this file are hw layer internal functions, -** CAN ONLY be called by files under Hw folder. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBios_Arise.h" #include "CBiosVCP_Arise.h" diff --git a/drivers/gpu/drm/arise/cbios/Hw/Arise/CBiosVCP_Arise.h b/drivers/gpu/drm/arise/cbios/Hw/Arise/CBiosVCP_Arise.h index db8553ec1c7fa..5363c3520e8bb 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/Arise/CBiosVCP_Arise.h +++ b/drivers/gpu/drm/arise/cbios/Hw/Arise/CBiosVCP_Arise.h @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** VCP functions prototype and raw VCP data definition. -** -** NOTE: -** This header file CAN ONLY be included by hw layer those files under Hw folder. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_VCP_ELT_H_ #define _CBIOS_VCP_ELT_H_ diff --git a/drivers/gpu/drm/arise/cbios/Hw/Arise/CBios_Arise.c b/drivers/gpu/drm/arise/cbios/Hw/Arise/CBios_Arise.c index 35b95fa9dd9c7..c3acdff60610b 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/Arise/CBios_Arise.c +++ b/drivers/gpu/drm/arise/cbios/Hw/Arise/CBios_Arise.c @@ -1,26 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** chip functions implementation. -** -** NOTE: -** The chip functions SHOULD NOT be called by other modules directly. -** Please call the corresponding function defined in CBiosChipFunc.h. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBios_Arise.h" #include "../Register/BIU_SBI_registers.h" diff --git a/drivers/gpu/drm/arise/cbios/Hw/Arise/CBios_Arise.h b/drivers/gpu/drm/arise/cbios/Hw/Arise/CBios_Arise.h index 92c904a17dad8..0e1d1901857dc 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/Arise/CBios_Arise.h +++ b/drivers/gpu/drm/arise/cbios/Hw/Arise/CBios_Arise.h @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** chip functions prototype and parameter definition. -** -** NOTE: -** This header file CAN ONLY be included by hw layer those files under Hw folder. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_E3K_H_ #define _CBIOS_E3K_H_ diff --git a/drivers/gpu/drm/arise/cbios/Hw/CBiosChipFunc.c b/drivers/gpu/drm/arise/cbios/Hw/CBiosChipFunc.c index b2f69f0094bd5..e0e6ab8984aa4 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/CBiosChipFunc.c +++ b/drivers/gpu/drm/arise/cbios/Hw/CBiosChipFunc.c @@ -1,26 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** CBios chip dependent function. -** The corresponding chip function will be called through function pointer. -** -** NOTE: -** The function in this file CAN be called by sw layer. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosChipShare.h" diff --git a/drivers/gpu/drm/arise/cbios/Hw/CBiosChipFunc.h b/drivers/gpu/drm/arise/cbios/Hw/CBiosChipFunc.h index ee57cea7a4516..2eeb71b2ddb8c 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/CBiosChipFunc.h +++ b/drivers/gpu/drm/arise/cbios/Hw/CBiosChipFunc.h @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** CBios chip dependent function prototype. -** -** NOTE: -** This header file CAN be included by sw layer. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_CHIP_FUNC_H_ #define _CBIOS_CHIP_FUNC_H_ diff --git a/drivers/gpu/drm/arise/cbios/Hw/CBiosHwShare.h b/drivers/gpu/drm/arise/cbios/Hw/CBiosHwShare.h index 2d014bb30fe00..e1e4150273406 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/CBiosHwShare.h +++ b/drivers/gpu/drm/arise/cbios/Hw/CBiosHwShare.h @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** Include hw layer common header files. -** -** NOTE: -** This header file CAN ONLY be included by hw layer those files under Hw folder. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_HW_SHARE_H_ #define _CBIOS_HW_SHARE_H_ diff --git a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_CRT.c b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_CRT.c index 07a7ddf2c6863..4466041af542e 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_CRT.c +++ b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_CRT.c @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** CRT hw block interface function implementation. -** -** NOTE: -** -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosDIU_CRT.h" #include "CBiosChipShare.h" diff --git a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_CRT.h b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_CRT.h index 328b9d4ec5f98..ba343344b6ddd 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_CRT.h +++ b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_CRT.h @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** CRT hw block interface function prototype. -** -** NOTE: -** -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_DIU_CRT_H_ #define _CBIOS_DIU_CRT_H_ diff --git a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_CSC.c b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_CSC.c index 7fc73343994bd..03fccd3f8d612 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_CSC.c +++ b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_CSC.c @@ -1,18 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosChipShare.h" CBIOS_S64 YCbCr601_fr_RGB[][3] = { {269391, 528872, 102711}, diff --git a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_CSC.h b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_CSC.h index 6ecbd3b72f9cf..1a40be3c40854 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_CSC.h +++ b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_CSC.h @@ -1,18 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOSDIU_CSC_H_ #define _CBIOSDIU_CSC_H_ diff --git a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_DP.c b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_DP.c index 49a6d49812fbf..b69798416f745 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_DP.c +++ b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_DP.c @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** DP hw block interface function implementation. -** -** NOTE: -** -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosDIU_DP.h" #include "CBiosChipShare.h" diff --git a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_DP.h b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_DP.h index bc9908779dcbb..9961c8ff017e5 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_DP.h +++ b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_DP.h @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** DP hw block interface function prototype and parameter definition. -** -** NOTE: -** -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_DIU_DP_H_ #define _CBIOS_DIU_DP_H_ diff --git a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_DVO.c b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_DVO.c index d35f687e0ff97..a40281bbccd89 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_DVO.c +++ b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_DVO.c @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** DVO hw block interface function implementation. -** -** NOTE: -** -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosDIU_DVO.h" #include "CBiosChipShare.h" diff --git a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_DVO.h b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_DVO.h index 8c890c475591b..c323095feffc6 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_DVO.h +++ b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_DVO.h @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** DVO hw block interface function prototype. -** -** NOTE: -** -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_DIU_DVO_H_ #define _CBIOS_DIU_DVO_H_ diff --git a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_HDAC.c b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_HDAC.c index abf11ea8b7ad9..02db13f7bccde 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_HDAC.c +++ b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_HDAC.c @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** Audio codec hw block interface function implementation. -** -** NOTE: -** -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosDIU_HDAC.h" #include "CBiosDIU_HDMI.h" diff --git a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_HDAC.h b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_HDAC.h index 9625e128d5672..e354b94fe41d6 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_HDAC.h +++ b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_HDAC.h @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** Audio codec hw block interface function prototype and parameter definition. -** -** NOTE: -** -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_DIU_HDAC_H_ #define _CBIOS_DIU_HDAC_H_ diff --git a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_HDCP.c b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_HDCP.c index c6fa3eee9421a..7c84f9c9832f4 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_HDCP.c +++ b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_HDCP.c @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** HDCP hw block interface function implementation. -** -** NOTE: -** -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosDIU_HDCP.h" #include "CBiosChipShare.h" diff --git a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_HDCP.h b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_HDCP.h index 811daf5229631..a4f7d2ef6764d 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_HDCP.h +++ b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_HDCP.h @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** HDCP hw block interface function prototype. -** -** NOTE: -** -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_DIU_HDCP_H_ #define _CBIOS_DIU_HDCP_H_ diff --git a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_HDMI.c b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_HDMI.c index 894b06ebc09d3..63cb06527306f 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_HDMI.c +++ b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_HDMI.c @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** HDMI hw block interface function implementation. -** -** NOTE: -** -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosDIU_HDMI.h" #include "CBiosDIU_HDTV.h" diff --git a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_HDMI.h b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_HDMI.h index d30086dd06b91..fd42dccc76498 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_HDMI.h +++ b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_HDMI.h @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** HDMI hw block interface function prototype. -** -** NOTE: -** -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_DIU_HDMI_H_ #define _CBIOS_DIU_HDMI_H_ diff --git a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_HDTV.c b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_HDTV.c index bb7b0c01a4223..4a6cec6d691fc 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_HDTV.c +++ b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_HDTV.c @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** HDTV hw block interface function implementation. -** -** NOTE: -** -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosDIU_HDTV.h" #include "CBiosChipShare.h" diff --git a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_HDTV.h b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_HDTV.h index c9be4cb459a2a..0d57addb0a961 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_HDTV.h +++ b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_HDTV.h @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** HDTV hw block interface function prototype. -** -** NOTE: -** -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_DIU_HDTV_H_ #define _CBIOS_DIU_HDTV_H_ diff --git a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_VIP.c b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_VIP.c index b269090ad2b9d..65846c5ef94a1 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_VIP.c +++ b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_VIP.c @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** VIP hw block interface function implementation. -** -** NOTE: -** -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosDIU_VIP.h" #include "CBiosChipShare.h" diff --git a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_VIP.h b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_VIP.h index a70d194091ee7..662def33da03b 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_VIP.h +++ b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosDIU_VIP.h @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** VIP hw block interface function prototype and parameter definition. -** -** NOTE: -** -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_DIU_VIP_H_ #define _CBIOS_DIU_VIP_H_ diff --git a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosIGA_Timing.c b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosIGA_Timing.c index 6e9b03805da82..b178b701d5e67 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosIGA_Timing.c +++ b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosIGA_Timing.c @@ -1,27 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** IGA block interface function implementation. -** Mainly includes set timing, set dclk, set/get active devices. -** -** NOTE: -** The functions in this file are hw layer internal functions, -** CAN ONLY be called by files under Hw folder. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosChipShare.h" #include "../CBiosHwShare.h" diff --git a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosIGA_Timing.h b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosIGA_Timing.h index 4c5b0f76ab145..e058978a83291 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosIGA_Timing.h +++ b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosIGA_Timing.h @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** IGA block interface prototype. -** -** NOTE: -** This header file CAN ONLY be included by hw layer those files under Hw folder. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_IGA_TIMING_H_ #define _CBIOS_IGA_TIMING_H_ diff --git a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosPHY_DP.c b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosPHY_DP.c index fc85b944e5764..df00fb8541140 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosPHY_DP.c +++ b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosPHY_DP.c @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** DP PHY interface function implementation. -** -** NOTE: -** -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosPHY_DP.h" #include "CBiosDIU_DP.h" diff --git a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosPHY_DP.h b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosPHY_DP.h index deb4bc8410eb0..f80075bdd8b49 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosPHY_DP.h +++ b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosPHY_DP.h @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** DP PHY interface function prototype and parameter definition. -** -** NOTE: -** -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_PHY_DP_H_ #define _CBIOS_PHY_DP_H_ diff --git a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosScaler.c b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosScaler.c index 95ae6889199c9..26eaf4d289884 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosScaler.c +++ b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosScaler.c @@ -1,26 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** Down scaler hw block interface implementation. -** -** NOTE: -** The functions in this file are hw layer internal functions, -** CAN ONLY be called by files under Hw folder. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosChipShare.h" #include "CBiosScaler.h" diff --git a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosScaler.h b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosScaler.h index e565de3b19784..0189a99e7f822 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosScaler.h +++ b/drivers/gpu/drm/arise/cbios/Hw/HwBlock/CBiosScaler.h @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** Down scaler block interface prototype and parameter definition. -** -** NOTE: -** This header file CAN ONLY be included by hw layer those files under Hw folder. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOSSCALER_H_ #define _CBIOSSCALER_H_ diff --git a/drivers/gpu/drm/arise/cbios/Hw/HwCallback/CBiosCallbacksHw.c b/drivers/gpu/drm/arise/cbios/Hw/HwCallback/CBiosCallbacksHw.c index ee7524e37402d..1a3b6612ab219 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/HwCallback/CBiosCallbacksHw.c +++ b/drivers/gpu/drm/arise/cbios/Hw/HwCallback/CBiosCallbacksHw.c @@ -1,26 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** CBios hw dependent callback function implementation. -** -** NOTE: -** The functions in this file are hw layer internal functions, -** CAN ONLY be called by files under Hw folder. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosCallbacksHw.h" #include "CBiosChipShare.h" diff --git a/drivers/gpu/drm/arise/cbios/Hw/HwCallback/CBiosCallbacksHw.h b/drivers/gpu/drm/arise/cbios/Hw/HwCallback/CBiosCallbacksHw.h index 9110b23667b6e..9b63f53cef9de 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/HwCallback/CBiosCallbacksHw.h +++ b/drivers/gpu/drm/arise/cbios/Hw/HwCallback/CBiosCallbacksHw.h @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** CBios hw dependent callback function prototype. -** -** NOTE: -** This header file CAN ONLY be included by hw layer those files under Hw folder. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_CALLBACKS_HW_H_ #define _CBIOS_CALLBACKS_HW_H_ diff --git a/drivers/gpu/drm/arise/cbios/Hw/HwInit/CBiosInitHw.c b/drivers/gpu/drm/arise/cbios/Hw/HwInit/CBiosInitHw.c index 22e9fa86ad478..54bf16dc32498 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/HwInit/CBiosInitHw.c +++ b/drivers/gpu/drm/arise/cbios/Hw/HwInit/CBiosInitHw.c @@ -1,26 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** CBios hw initialization functions, mainly POST and chip initialize. -** -** NOTE: -** The functions in this file are hw layer internal functions, -** CAN ONLY be called by files under Hw folder. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosChipShare.h" #include "../CBiosHwShare.h" diff --git a/drivers/gpu/drm/arise/cbios/Hw/HwInit/CBiosInitHw.h b/drivers/gpu/drm/arise/cbios/Hw/HwInit/CBiosInitHw.h index 51ecd069bea12..f433fbdae4895 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/HwInit/CBiosInitHw.h +++ b/drivers/gpu/drm/arise/cbios/Hw/HwInit/CBiosInitHw.h @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** CBios hw initialization interface prototype. -** -** NOTE: -** This header file CAN ONLY be included by hw layer those files under Hw folder. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_INIT_HW_H_ #define _CBIOS_INIT_HW_H_ diff --git a/drivers/gpu/drm/arise/cbios/Hw/HwInterface/CBiosHwInterface.c b/drivers/gpu/drm/arise/cbios/Hw/HwInterface/CBiosHwInterface.c index 034d773d8ab71..3d66b02e73887 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/HwInterface/CBiosHwInterface.c +++ b/drivers/gpu/drm/arise/cbios/Hw/HwInterface/CBiosHwInterface.c @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** CBios hw layer interface function implementation. -** -** NOTE: -** The sw layer CAN call the hw interface defined in this file to do some hw related operation. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosChipShare.h" #include "CBiosHwInterface.h" diff --git a/drivers/gpu/drm/arise/cbios/Hw/HwInterface/CBiosHwInterface.h b/drivers/gpu/drm/arise/cbios/Hw/HwInterface/CBiosHwInterface.h index efc85a8dc7178..e2d2026d31957 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/HwInterface/CBiosHwInterface.h +++ b/drivers/gpu/drm/arise/cbios/Hw/HwInterface/CBiosHwInterface.h @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** CBios hw layer interface function prototype. -** -** NOTE: -** This header file CAN be included by sw layer. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_HW_INTERFACE_H_ #define _CBIOS_HW_INTERFACE_H_ diff --git a/drivers/gpu/drm/arise/cbios/Hw/HwUtil/CBiosI2C.c b/drivers/gpu/drm/arise/cbios/Hw/HwUtil/CBiosI2C.c index 372f8aff63ed7..52765827bb339 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/HwUtil/CBiosI2C.c +++ b/drivers/gpu/drm/arise/cbios/Hw/HwUtil/CBiosI2C.c @@ -1,27 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** I2C module interface function implementation. -** Mainly includes read/write data of I2C bus, GPIO simulate I2C, and DDCCIP -** -** NOTE: -** The functions in this file are hw layer internal functions, -** CAN ONLY be called by files under Hw folder. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosChipShare.h" #include "CBiosUtilHw.h" diff --git a/drivers/gpu/drm/arise/cbios/Hw/HwUtil/CBiosI2C.h b/drivers/gpu/drm/arise/cbios/Hw/HwUtil/CBiosI2C.h index 347bfaf32ca1a..bc7b93abdaade 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/HwUtil/CBiosI2C.h +++ b/drivers/gpu/drm/arise/cbios/Hw/HwUtil/CBiosI2C.h @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** I2C module interface prototype and parameter definition. -** -** NOTE: -** This header file CAN ONLY be included by hw layer those files under Hw folder. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_I2C_H_ #define _CBIOS_I2C_H_ diff --git a/drivers/gpu/drm/arise/cbios/Hw/HwUtil/CBiosUtilHw.c b/drivers/gpu/drm/arise/cbios/Hw/HwUtil/CBiosUtilHw.c index 9f2fff71d02b8..ebc8aafcfdbce 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/HwUtil/CBiosUtilHw.c +++ b/drivers/gpu/drm/arise/cbios/Hw/HwUtil/CBiosUtilHw.c @@ -1,26 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** CBios hw utility common functions implementation. -** -** NOTE: -** The functions in this file are hw layer internal functions, -** CAN ONLY be called by files under Hw folder. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosChipShare.h" #include "../CBiosHwShare.h" diff --git a/drivers/gpu/drm/arise/cbios/Hw/HwUtil/CBiosUtilHw.h b/drivers/gpu/drm/arise/cbios/Hw/HwUtil/CBiosUtilHw.h index cc11bc3be5e65..f180b54fa7e91 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/HwUtil/CBiosUtilHw.h +++ b/drivers/gpu/drm/arise/cbios/Hw/HwUtil/CBiosUtilHw.h @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** CBios hw utility common functions prototype. -** -** NOTE: -** This header file CAN ONLY be included by hw layer those files under Hw folder. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_UTIL_HW_H_ #define _CBIOS_UTIL_HW_H_ diff --git a/drivers/gpu/drm/arise/cbios/Hw/Interrupt/CBiosISR.c b/drivers/gpu/drm/arise/cbios/Hw/Interrupt/CBiosISR.c index 2bbe78605a5d5..9d88569dc1c99 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/Interrupt/CBiosISR.c +++ b/drivers/gpu/drm/arise/cbios/Hw/Interrupt/CBiosISR.c @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** CBios interrupt service routine functions implementation. -** -** NOTE: -** The print, delay and mutex lock SHOULD NOT be called in isr functions. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosChipShare.h" #include "../CBiosHwShare.h" diff --git a/drivers/gpu/drm/arise/cbios/Hw/Register/BIU_CR_C_BUS_registers.h b/drivers/gpu/drm/arise/cbios/Hw/Register/BIU_CR_C_BUS_registers.h index 82f26e7d85249..7d91218c08306 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/Register/BIU_CR_C_BUS_registers.h +++ b/drivers/gpu/drm/arise/cbios/Hw/Register/BIU_CR_C_BUS_registers.h @@ -1,18 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ typedef union _REG_CR00_C //BIU_Debug_Bus_Selection_Register { struct diff --git a/drivers/gpu/drm/arise/cbios/Hw/Register/BIU_HDA_registers.h b/drivers/gpu/drm/arise/cbios/Hw/Register/BIU_HDA_registers.h index fb307906d403a..5afc12b036ec7 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/Register/BIU_HDA_registers.h +++ b/drivers/gpu/drm/arise/cbios/Hw/Register/BIU_HDA_registers.h @@ -1,18 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ typedef union _REG_Global_Caps //HDA_Global_Capabilities_Register { struct diff --git a/drivers/gpu/drm/arise/cbios/Hw/Register/BIU_MM_registers.h b/drivers/gpu/drm/arise/cbios/Hw/Register/BIU_MM_registers.h index bd0fe51b62fda..2dd2120e06832 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/Register/BIU_MM_registers.h +++ b/drivers/gpu/drm/arise/cbios/Hw/Register/BIU_MM_registers.h @@ -1,19 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ typedef union _REG_MM9340 //GRX_Frame_Buffer_Base_Address_Low_Register { CBIOS_U32 Value; diff --git a/drivers/gpu/drm/arise/cbios/Hw/Register/BIU_SBI_registers.h b/drivers/gpu/drm/arise/cbios/Hw/Register/BIU_SBI_registers.h index 0a4d33958ea6d..3d258802bdf49 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/Register/BIU_SBI_registers.h +++ b/drivers/gpu/drm/arise/cbios/Hw/Register/BIU_SBI_registers.h @@ -1,18 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ typedef union _REG_MM8508 //Command_FIFO_Control_Register { struct diff --git a/drivers/gpu/drm/arise/cbios/Hw/Register/BIU_TSR_registers.h b/drivers/gpu/drm/arise/cbios/Hw/Register/BIU_TSR_registers.h index 400416b0236cb..7dbeb5c08e02e 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/Register/BIU_TSR_registers.h +++ b/drivers/gpu/drm/arise/cbios/Hw/Register/BIU_TSR_registers.h @@ -1,18 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ typedef union _REG_MM48C00_MM48C78 //Tile_Surface_Start_Range_Registers_0-15 { struct diff --git a/drivers/gpu/drm/arise/cbios/Hw/Register/BIU_VCP_registers.h b/drivers/gpu/drm/arise/cbios/Hw/Register/BIU_VCP_registers.h index 4cc043226eab2..b571550a6d77e 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/Register/BIU_VCP_registers.h +++ b/drivers/gpu/drm/arise/cbios/Hw/Register/BIU_VCP_registers.h @@ -1,18 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ typedef union _REG_MM49200 //BIU_VCP_Active_Counter_Register { struct diff --git a/drivers/gpu/drm/arise/cbios/Hw/Register/DIU_CR_registers.h b/drivers/gpu/drm/arise/cbios/Hw/Register/DIU_CR_registers.h index a88da3b9261da..293b63d4d5786 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/Register/DIU_CR_registers.h +++ b/drivers/gpu/drm/arise/cbios/Hw/Register/DIU_CR_registers.h @@ -1,18 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ typedef union _REG_CR22_Pair //CRT_Test_DAC_Data_Register_Pair { CBIOS_U8 Value; diff --git a/drivers/gpu/drm/arise/cbios/Hw/Register/DIU_MM_registers.h b/drivers/gpu/drm/arise/cbios/Hw/Register/DIU_MM_registers.h index 47cae86d522e1..8906d3611564a 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/Register/DIU_MM_registers.h +++ b/drivers/gpu/drm/arise/cbios/Hw/Register/DIU_MM_registers.h @@ -1,18 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ typedef union _REG_MM8180 //Cursor_3_Contrl_Register { CBIOS_U32 Value; diff --git a/drivers/gpu/drm/arise/cbios/Hw/Register/DIU_MM_registers_Arise.h b/drivers/gpu/drm/arise/cbios/Hw/Register/DIU_MM_registers_Arise.h index b48fa117f9f84..47189704972ed 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/Register/DIU_MM_registers_Arise.h +++ b/drivers/gpu/drm/arise/cbios/Hw/Register/DIU_MM_registers_Arise.h @@ -1,18 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ typedef union _REG_MM8180_Arise //backlight_adjustment_&_FRC { CBIOS_U32 Value; diff --git a/drivers/gpu/drm/arise/cbios/Hw/Register/DIU_SR_registers.h b/drivers/gpu/drm/arise/cbios/Hw/Register/DIU_SR_registers.h index e173988ab0e67..f2c4544a465b1 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/Register/DIU_SR_registers.h +++ b/drivers/gpu/drm/arise/cbios/Hw/Register/DIU_SR_registers.h @@ -1,18 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ typedef union _REG_SR08 //Unlock_Extended_Sequencer_Register { CBIOS_U8 Value; diff --git a/drivers/gpu/drm/arise/cbios/Hw/Register/DIU_vga_registers.h b/drivers/gpu/drm/arise/cbios/Hw/Register/DIU_vga_registers.h index 86d86bd153036..3e81969a8027e 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/Register/DIU_vga_registers.h +++ b/drivers/gpu/drm/arise/cbios/Hw/Register/DIU_vga_registers.h @@ -1,18 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ typedef union _REG_ARX //Attribute_Controller_Index_Register { struct diff --git a/drivers/gpu/drm/arise/cbios/Hw/Register/Monitor/CBiosDPCDRegister.h b/drivers/gpu/drm/arise/cbios/Hw/Register/Monitor/CBiosDPCDRegister.h index 9694aa22f9c09..27ad146564b6e 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/Register/Monitor/CBiosDPCDRegister.h +++ b/drivers/gpu/drm/arise/cbios/Hw/Register/Monitor/CBiosDPCDRegister.h @@ -1,23 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** DPCD(DP Configuration Data) register definition. -** For detailed register definition, please refer to DP1.2 spec in sector 2.9.3.1 -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_DPCD_REGISTER_H_ #define _CBIOS_DPCD_REGISTER_H_ diff --git a/drivers/gpu/drm/arise/cbios/Hw/Register/pmu_registers.h b/drivers/gpu/drm/arise/cbios/Hw/Register/pmu_registers.h index 260fe344dba70..f5c9e08ae50cd 100644 --- a/drivers/gpu/drm/arise/cbios/Hw/Register/pmu_registers.h +++ b/drivers/gpu/drm/arise/cbios/Hw/Register/pmu_registers.h @@ -1,18 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _PMU_REGISTER_H_ #define _PMU_REGISTER_H_ diff --git a/drivers/gpu/drm/arise/cbios/Init/CBiosInit.c b/drivers/gpu/drm/arise/cbios/Init/CBiosInit.c index 08b8023aefbe1..2ff5d425e0921 100644 --- a/drivers/gpu/drm/arise/cbios/Init/CBiosInit.c +++ b/drivers/gpu/drm/arise/cbios/Init/CBiosInit.c @@ -1,26 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** CBios sw initialization function. -** Initialize CBIOS_EXTENSION_COMMON structure. -** -** NOTE: -** The hw dependent initialization SHOULD NOT be added to this file. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosChipShare.h" #include "CBiosDevice.h" diff --git a/drivers/gpu/drm/arise/cbios/Interface/CBios.c b/drivers/gpu/drm/arise/cbios/Interface/CBios.c index 4aba87ec13bd8..6721f9bea39d1 100644 --- a/drivers/gpu/drm/arise/cbios/Interface/CBios.c +++ b/drivers/gpu/drm/arise/cbios/Interface/CBios.c @@ -1,27 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** CBios interface implementation. -** -** NOTE: -** The interface and parameters SHOULD NOT be modified under normal condition. -** If the interface need modify for some special case, please make sure to -** update the code where calls this interface. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosShare.h" #include "CBiosTypes.h" diff --git a/drivers/gpu/drm/arise/cbios/Util/CBiosEDID.c b/drivers/gpu/drm/arise/cbios/Util/CBiosEDID.c index a6b7e6a5da547..c2a996b469bc6 100644 --- a/drivers/gpu/drm/arise/cbios/Util/CBiosEDID.c +++ b/drivers/gpu/drm/arise/cbios/Util/CBiosEDID.c @@ -1,27 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - - -/***************************************************************************** -** DESCRIPTION: -** CBios EDID module interface function implementation. -** Parse the raw EDID data and store to the CBIOS_EDID_STRUCTURE_DATA. -** -** NOTE: -** ONLY EDID related and hw independent function can be added to this file. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosChipShare.h" diff --git a/drivers/gpu/drm/arise/cbios/Util/CBiosEDID.h b/drivers/gpu/drm/arise/cbios/Util/CBiosEDID.h index cce1f86d15f2d..454652ffe1dcc 100644 --- a/drivers/gpu/drm/arise/cbios/Util/CBiosEDID.h +++ b/drivers/gpu/drm/arise/cbios/Util/CBiosEDID.h @@ -1,26 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - - -/***************************************************************************** -** DESCRIPTION: -** CBios EDID module interface function prototype and parameter definition. -** -** NOTE: -** ONLY EDID related and hw independent function can be added to this file. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CBIOS_EDID_H_ #define _CBIOS_EDID_H_ diff --git a/drivers/gpu/drm/arise/cbios/Util/CBiosGPIO.h b/drivers/gpu/drm/arise/cbios/Util/CBiosGPIO.h index c70a253001006..46bf6efabb0f9 100644 --- a/drivers/gpu/drm/arise/cbios/Util/CBiosGPIO.h +++ b/drivers/gpu/drm/arise/cbios/Util/CBiosGPIO.h @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** CBios GPIO macro definition. -** -** NOTE: -** ONLY GPIO related and hw independent function can be added to this file. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #define GPIO_BASE_ADDR 0x70000 diff --git a/drivers/gpu/drm/arise/cbios/Util/CBiosUtil.c b/drivers/gpu/drm/arise/cbios/Util/CBiosUtil.c index aee39dcc761dd..9f30126b6c07d 100644 --- a/drivers/gpu/drm/arise/cbios/Util/CBiosUtil.c +++ b/drivers/gpu/drm/arise/cbios/Util/CBiosUtil.c @@ -1,25 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - -/***************************************************************************** -** DESCRIPTION: -** CBios sw utility common functions. -** -** NOTE: -** The hw dependent function SHOULD NOT be added to this file. -******************************************************************************/ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "CBiosChipShare.h" diff --git a/drivers/gpu/drm/arise/core/context/context.c b/drivers/gpu/drm/arise/core/context/context.c index 5d147f9c856ad..bdabb162dae74 100644 --- a/drivers/gpu/drm/arise/core/context/context.c +++ b/drivers/gpu/drm/arise/core/context/context.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_adapter.h" #include "global.h" #include "context.h" diff --git a/drivers/gpu/drm/arise/core/context/context.h b/drivers/gpu/drm/arise/core/context/context.h index d215ebb50b429..fc98151aec4c6 100644 --- a/drivers/gpu/drm/arise/core/context/context.h +++ b/drivers/gpu/drm/arise/core/context/context.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __CONTEXT_H__ #define __CONTEXT_H__ #include "core_import.h" diff --git a/drivers/gpu/drm/arise/core/context/di_context.c b/drivers/gpu/drm/arise/core/context/di_context.c index ef6620c943432..96e8f6fd08f92 100644 --- a/drivers/gpu/drm/arise/core/context/di_context.c +++ b/drivers/gpu/drm/arise/core/context/di_context.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_adapter.h" #include "global.h" #include "context.h" diff --git a/drivers/gpu/drm/arise/core/e3k/global/global_e3k.c b/drivers/gpu/drm/arise/core/e3k/global/global_e3k.c index f2d153f59116e..e8efb40bb50ca 100644 --- a/drivers/gpu/drm/arise/core/e3k/global/global_e3k.c +++ b/drivers/gpu/drm/arise/core/e3k/global/global_e3k.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_adapter.h" #include "global.h" #include "register_e3k.h" diff --git a/drivers/gpu/drm/arise/core/e3k/include/Chip/BlockID.h b/drivers/gpu/drm/arise/core/e3k/include/Chip/BlockID.h index f86f6f046166a..12e08cc0c8c32 100644 --- a/drivers/gpu/drm/arise/core/e3k/include/Chip/BlockID.h +++ b/drivers/gpu/drm/arise/core/e3k/include/Chip/BlockID.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _REGISTER_BLOCKID_H #define _REGISTER_BLOCKID_H diff --git a/drivers/gpu/drm/arise/core/e3k/include/Chip/CSP_GLOBAL_Register.h b/drivers/gpu/drm/arise/core/e3k/include/Chip/CSP_GLOBAL_Register.h index a992e7d98d3ea..a27578e0535b3 100644 --- a/drivers/gpu/drm/arise/core/e3k/include/Chip/CSP_GLOBAL_Register.h +++ b/drivers/gpu/drm/arise/core/e3k/include/Chip/CSP_GLOBAL_Register.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CSP_GLOBAL_REGISTER_H #define _CSP_GLOBAL_REGISTER_H diff --git a/drivers/gpu/drm/arise/core/e3k/include/Chip/CSP_OPCODE.h b/drivers/gpu/drm/arise/core/e3k/include/Chip/CSP_OPCODE.h index 54120592f1c6b..55201a2ec7f83 100644 --- a/drivers/gpu/drm/arise/core/e3k/include/Chip/CSP_OPCODE.h +++ b/drivers/gpu/drm/arise/core/e3k/include/Chip/CSP_OPCODE.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CSP_OPCODE_H #define _CSP_OPCODE_H diff --git a/drivers/gpu/drm/arise/core/e3k/include/Chip/ChipRegisters.h b/drivers/gpu/drm/arise/core/e3k/include/Chip/ChipRegisters.h index a8ece1299c91a..81d3a347342cc 100644 --- a/drivers/gpu/drm/arise/core/e3k/include/Chip/ChipRegisters.h +++ b/drivers/gpu/drm/arise/core/e3k/include/Chip/ChipRegisters.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _CHIPREGISTER_H_ #define _CHIPREGISTER_H_ diff --git a/drivers/gpu/drm/arise/core/e3k/include/Chip/EU_CS_reg.h b/drivers/gpu/drm/arise/core/e3k/include/Chip/EU_CS_reg.h index 9c1914832c459..2a9e80383e313 100644 --- a/drivers/gpu/drm/arise/core/e3k/include/Chip/EU_CS_reg.h +++ b/drivers/gpu/drm/arise/core/e3k/include/Chip/EU_CS_reg.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _EU_CS_REG_H #define _EU_CS_REG_H diff --git a/drivers/gpu/drm/arise/core/e3k/include/Chip/EU_FS_reg.h b/drivers/gpu/drm/arise/core/e3k/include/Chip/EU_FS_reg.h index 8cba7d5b9e7ce..6dce56eab1462 100644 --- a/drivers/gpu/drm/arise/core/e3k/include/Chip/EU_FS_reg.h +++ b/drivers/gpu/drm/arise/core/e3k/include/Chip/EU_FS_reg.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _EU_FS_REG_H #define _EU_FS_REG_H diff --git a/drivers/gpu/drm/arise/core/e3k/include/Chip/EU_PS_reg.h b/drivers/gpu/drm/arise/core/e3k/include/Chip/EU_PS_reg.h index 7fcf49a5ef82f..28cafa7f26702 100644 --- a/drivers/gpu/drm/arise/core/e3k/include/Chip/EU_PS_reg.h +++ b/drivers/gpu/drm/arise/core/e3k/include/Chip/EU_PS_reg.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _EU_PS_REG_H #define _EU_PS_REG_H diff --git a/drivers/gpu/drm/arise/core/e3k/include/Chip/FF_registers.h b/drivers/gpu/drm/arise/core/e3k/include/Chip/FF_registers.h index e3604ebc863eb..46aa748684adb 100644 --- a/drivers/gpu/drm/arise/core/e3k/include/Chip/FF_registers.h +++ b/drivers/gpu/drm/arise/core/e3k/include/Chip/FF_registers.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _FF_REGISTERS_H #define _FF_REGISTERS_H diff --git a/drivers/gpu/drm/arise/core/e3k/include/Chip/GPCPBE_register.h b/drivers/gpu/drm/arise/core/e3k/include/Chip/GPCPBE_register.h index 50df4caf94f08..afff744f20fb6 100644 --- a/drivers/gpu/drm/arise/core/e3k/include/Chip/GPCPBE_register.h +++ b/drivers/gpu/drm/arise/core/e3k/include/Chip/GPCPBE_register.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _GPCPBE_REGISTER_H #define _GPCPBE_REGISTER_H diff --git a/drivers/gpu/drm/arise/core/e3k/include/Chip/GPCPFE_register.h b/drivers/gpu/drm/arise/core/e3k/include/Chip/GPCPFE_register.h index fe22bec749b22..2eb16f18a64d1 100644 --- a/drivers/gpu/drm/arise/core/e3k/include/Chip/GPCPFE_register.h +++ b/drivers/gpu/drm/arise/core/e3k/include/Chip/GPCPFE_register.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _GPCPFE_REGISTER_H #define _GPCPFE_REGISTER_H diff --git a/drivers/gpu/drm/arise/core/e3k/include/Chip/IU_reg.h b/drivers/gpu/drm/arise/core/e3k/include/Chip/IU_reg.h index e8bdacd1ed587..722ad1637e59c 100644 --- a/drivers/gpu/drm/arise/core/e3k/include/Chip/IU_reg.h +++ b/drivers/gpu/drm/arise/core/e3k/include/Chip/IU_reg.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _IU_REG_H #define _IU_REG_H diff --git a/drivers/gpu/drm/arise/core/e3k/include/Chip/L2_Register.h b/drivers/gpu/drm/arise/core/e3k/include/Chip/L2_Register.h index 1d20ec9d3957c..eb77196a4836c 100644 --- a/drivers/gpu/drm/arise/core/e3k/include/Chip/L2_Register.h +++ b/drivers/gpu/drm/arise/core/e3k/include/Chip/L2_Register.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _L2_REGISTER_H #define _L2_REGISTER_H diff --git a/drivers/gpu/drm/arise/core/e3k/include/Chip/MMU_registers.h b/drivers/gpu/drm/arise/core/e3k/include/Chip/MMU_registers.h index 6ccc5a2c8c721..034117bfe684d 100644 --- a/drivers/gpu/drm/arise/core/e3k/include/Chip/MMU_registers.h +++ b/drivers/gpu/drm/arise/core/e3k/include/Chip/MMU_registers.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _MMU_REGISTERS_H #define _MMU_REGISTERS_H diff --git a/drivers/gpu/drm/arise/core/e3k/include/Chip/MXU_registers.h b/drivers/gpu/drm/arise/core/e3k/include/Chip/MXU_registers.h index c48136da602ba..378116d64eb93 100644 --- a/drivers/gpu/drm/arise/core/e3k/include/Chip/MXU_registers.h +++ b/drivers/gpu/drm/arise/core/e3k/include/Chip/MXU_registers.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _MXU_REGISTERS_H #define _MXU_REGISTERS_H diff --git a/drivers/gpu/drm/arise/core/e3k/include/Chip/SPIN_register.h b/drivers/gpu/drm/arise/core/e3k/include/Chip/SPIN_register.h index 9637203af4dae..049869645f7d7 100644 --- a/drivers/gpu/drm/arise/core/e3k/include/Chip/SPIN_register.h +++ b/drivers/gpu/drm/arise/core/e3k/include/Chip/SPIN_register.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _SPIN_REGISTER_H #define _SPIN_REGISTER_H diff --git a/drivers/gpu/drm/arise/core/e3k/include/Chip/SPOUT_register.h b/drivers/gpu/drm/arise/core/e3k/include/Chip/SPOUT_register.h index 050c74d5ca9b0..cb93d6092a7ab 100644 --- a/drivers/gpu/drm/arise/core/e3k/include/Chip/SPOUT_register.h +++ b/drivers/gpu/drm/arise/core/e3k/include/Chip/SPOUT_register.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _SPOUT_REGISTER_H #define _SPOUT_REGISTER_H diff --git a/drivers/gpu/drm/arise/core/e3k/include/Chip/TASBE_reg.h b/drivers/gpu/drm/arise/core/e3k/include/Chip/TASBE_reg.h index e766e81d2160a..10d93a3d87d85 100644 --- a/drivers/gpu/drm/arise/core/e3k/include/Chip/TASBE_reg.h +++ b/drivers/gpu/drm/arise/core/e3k/include/Chip/TASBE_reg.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _TASBE_REG_H #define _TASBE_REG_H diff --git a/drivers/gpu/drm/arise/core/e3k/include/Chip/TASFE_reg.h b/drivers/gpu/drm/arise/core/e3k/include/Chip/TASFE_reg.h index 5351281fa39aa..617e0a2b7062c 100644 --- a/drivers/gpu/drm/arise/core/e3k/include/Chip/TASFE_reg.h +++ b/drivers/gpu/drm/arise/core/e3k/include/Chip/TASFE_reg.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _TASFE_REG_H #define _TASFE_REG_H diff --git a/drivers/gpu/drm/arise/core/e3k/include/Chip/TU_Reg.h b/drivers/gpu/drm/arise/core/e3k/include/Chip/TU_Reg.h index 4d40145b5166b..e98919c402a4a 100644 --- a/drivers/gpu/drm/arise/core/e3k/include/Chip/TU_Reg.h +++ b/drivers/gpu/drm/arise/core/e3k/include/Chip/TU_Reg.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _TUFE_REGISTER_H #define _TUFE_REGISTER_H diff --git a/drivers/gpu/drm/arise/core/e3k/include/Chip/VCP_OPCODE_DECOUPLE.h b/drivers/gpu/drm/arise/core/e3k/include/Chip/VCP_OPCODE_DECOUPLE.h index 026395bb89111..b1b0449596ffd 100644 --- a/drivers/gpu/drm/arise/core/e3k/include/Chip/VCP_OPCODE_DECOUPLE.h +++ b/drivers/gpu/drm/arise/core/e3k/include/Chip/VCP_OPCODE_DECOUPLE.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _VCP_OPCODE_DECOUPLE_H #define _VCP_OPCODE_DECOUPLE_H diff --git a/drivers/gpu/drm/arise/core/e3k/include/Chip/Vcp_Registers.h b/drivers/gpu/drm/arise/core/e3k/include/Chip/Vcp_Registers.h index c43dffd16b379..d4a139a8f8af5 100644 --- a/drivers/gpu/drm/arise/core/e3k/include/Chip/Vcp_Registers.h +++ b/drivers/gpu/drm/arise/core/e3k/include/Chip/Vcp_Registers.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _VCP_REGISTERS_H #define _VCP_REGISTERS_H diff --git a/drivers/gpu/drm/arise/core/e3k/include/Chip/WLS_Registers.h b/drivers/gpu/drm/arise/core/e3k/include/Chip/WLS_Registers.h index d2ecce3c86ee4..22a58bcb38833 100644 --- a/drivers/gpu/drm/arise/core/e3k/include/Chip/WLS_Registers.h +++ b/drivers/gpu/drm/arise/core/e3k/include/Chip/WLS_Registers.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _WLS_REGISTERS_H #define _WLS_REGISTERS_H diff --git a/drivers/gpu/drm/arise/core/e3k/include/Chip/registerDef.h b/drivers/gpu/drm/arise/core/e3k/include/Chip/registerDef.h index 131360935b23e..87e4d2233b1cd 100644 --- a/drivers/gpu/drm/arise/core/e3k/include/Chip/registerDef.h +++ b/drivers/gpu/drm/arise/core/e3k/include/Chip/registerDef.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _REGISTER_DEF_H #define _REGISTER_DEF_H diff --git a/drivers/gpu/drm/arise/core/e3k/include/Chip/registercommands.h b/drivers/gpu/drm/arise/core/e3k/include/Chip/registercommands.h index f910263704b06..f6a9c5b909fc7 100644 --- a/drivers/gpu/drm/arise/core/e3k/include/Chip/registercommands.h +++ b/drivers/gpu/drm/arise/core/e3k/include/Chip/registercommands.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _REGISTERCOMMANDS_H_ #define _REGISTERCOMMANDS_H_ diff --git a/drivers/gpu/drm/arise/core/e3k/include/Chip/surface_format.h b/drivers/gpu/drm/arise/core/e3k/include/Chip/surface_format.h index a8bd17991da61..cbc0c30d5f23d 100644 --- a/drivers/gpu/drm/arise/core/e3k/include/Chip/surface_format.h +++ b/drivers/gpu/drm/arise/core/e3k/include/Chip/surface_format.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _SURFACE_FORMAT_H #define _SURFACE_FORMAT_H diff --git a/drivers/gpu/drm/arise/core/e3k/include/chip_include_e3k.h b/drivers/gpu/drm/arise/core/e3k/include/chip_include_e3k.h index 19fde4fb076f0..0112774b95846 100644 --- a/drivers/gpu/drm/arise/core/e3k/include/chip_include_e3k.h +++ b/drivers/gpu/drm/arise/core/e3k/include/chip_include_e3k.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __CHIP_INCLUDE_E3K_H__ #define __CHIP_INCLUDE_E3K_H__ diff --git a/drivers/gpu/drm/arise/core/e3k/include/mm_e3k.h b/drivers/gpu/drm/arise/core/e3k/include/mm_e3k.h index 102ae7ccc01bd..4fbf6e38fe498 100644 --- a/drivers/gpu/drm/arise/core/e3k/include/mm_e3k.h +++ b/drivers/gpu/drm/arise/core/e3k/include/mm_e3k.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __MM_E3K_H #define __MM_E3K_H diff --git a/drivers/gpu/drm/arise/core/e3k/include/register_e3k.h b/drivers/gpu/drm/arise/core/e3k/include/register_e3k.h index 17798a065c28c..d6bda4d83de70 100644 --- a/drivers/gpu/drm/arise/core/e3k/include/register_e3k.h +++ b/drivers/gpu/drm/arise/core/e3k/include/register_e3k.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __REGISTER_E3K_H__ #define __REGISTER_E3K_H__ diff --git a/drivers/gpu/drm/arise/core/e3k/include/stm_context_e3k.h b/drivers/gpu/drm/arise/core/e3k/include/stm_context_e3k.h index 02146158f6c7f..cdb44fecbeb0b 100644 --- a/drivers/gpu/drm/arise/core/e3k/include/stm_context_e3k.h +++ b/drivers/gpu/drm/arise/core/e3k/include/stm_context_e3k.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _STM_CONTEXT_E3K_H #define _STM_CONTEXT_E3K_H diff --git a/drivers/gpu/drm/arise/core/e3k/perfevent/perfevent_e3k.c b/drivers/gpu/drm/arise/core/e3k/perfevent/perfevent_e3k.c index 004598eb0018f..751e9d66d8e62 100644 --- a/drivers/gpu/drm/arise/core/e3k/perfevent/perfevent_e3k.c +++ b/drivers/gpu/drm/arise/core/e3k/perfevent/perfevent_e3k.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_adapter.h" #include "perfeventi.h" #include "perfevent.h" diff --git a/drivers/gpu/drm/arise/core/e3k/vidmm/vidmm_allocate_e3k.c b/drivers/gpu/drm/arise/core/e3k/vidmm/vidmm_allocate_e3k.c index 72b0327e90265..809670aebebc0 100644 --- a/drivers/gpu/drm/arise/core/e3k/vidmm/vidmm_allocate_e3k.c +++ b/drivers/gpu/drm/arise/core/e3k/vidmm/vidmm_allocate_e3k.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_adapter.h" #include "global.h" #include "vidmm.h" diff --git a/drivers/gpu/drm/arise/core/e3k/vidmm/vidmm_build_page_buffer_e3k.c b/drivers/gpu/drm/arise/core/e3k/vidmm/vidmm_build_page_buffer_e3k.c index 5cf53e28680f6..542991e829fb3 100644 --- a/drivers/gpu/drm/arise/core/e3k/vidmm/vidmm_build_page_buffer_e3k.c +++ b/drivers/gpu/drm/arise/core/e3k/vidmm/vidmm_build_page_buffer_e3k.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_adapter.h" #include "global.h" #include "vidmm.h" diff --git a/drivers/gpu/drm/arise/core/e3k/vidmm/vidmm_e3k.c b/drivers/gpu/drm/arise/core/e3k/vidmm/vidmm_e3k.c index 598b5fa44f9d3..0ce285ff5d4fd 100644 --- a/drivers/gpu/drm/arise/core/e3k/vidmm/vidmm_e3k.c +++ b/drivers/gpu/drm/arise/core/e3k/vidmm/vidmm_e3k.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_adapter.h" #include "gf_def.h" #include "vidmm.h" diff --git a/drivers/gpu/drm/arise/core/e3k/vidmm/vidmm_gart_table_e3k.c b/drivers/gpu/drm/arise/core/e3k/vidmm/vidmm_gart_table_e3k.c index aaf669a01e098..7db972f0eef9a 100644 --- a/drivers/gpu/drm/arise/core/e3k/vidmm/vidmm_gart_table_e3k.c +++ b/drivers/gpu/drm/arise/core/e3k/vidmm/vidmm_gart_table_e3k.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_adapter.h" #include "global.h" #include "vidmm.h" diff --git a/drivers/gpu/drm/arise/core/e3k/vidmm/vidmmi_e3k.h b/drivers/gpu/drm/arise/core/e3k/vidmm/vidmmi_e3k.h index 9b60e358f9968..24049a09438c2 100644 --- a/drivers/gpu/drm/arise/core/e3k/vidmm/vidmmi_e3k.h +++ b/drivers/gpu/drm/arise/core/e3k/vidmm/vidmmi_e3k.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __VIDMMI_E3K_H__ #define __VIDMMI_E3K_H__ diff --git a/drivers/gpu/drm/arise/core/e3k/vidsch/ContextSwitch_e3k.c b/drivers/gpu/drm/arise/core/e3k/vidsch/ContextSwitch_e3k.c index fcf191ae8a9ee..76fbf2138b2e0 100644 --- a/drivers/gpu/drm/arise/core/e3k/vidsch/ContextSwitch_e3k.c +++ b/drivers/gpu/drm/arise/core/e3k/vidsch/ContextSwitch_e3k.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_adapter.h" #include "vidsch.h" #include "vidschi.h" diff --git a/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_blt_e3k.c b/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_blt_e3k.c index 7f38a7fdacb4f..d078cd182ca79 100644 --- a/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_blt_e3k.c +++ b/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_blt_e3k.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_adapter.h" #include "vidsch.h" #include "vidschi.h" diff --git a/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_blt_e3k.h b/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_blt_e3k.h index 22d2a3fe14e9c..369e781390ca7 100644 --- a/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_blt_e3k.h +++ b/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_blt_e3k.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __VIDSCH_3DBLT_E3K_H #define __VIDSCH_3DBLT_E3K_H diff --git a/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_debug_hang_compatible_e3k.c b/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_debug_hang_compatible_e3k.c index 3ec82f162502d..41fce4886041e 100644 --- a/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_debug_hang_compatible_e3k.c +++ b/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_debug_hang_compatible_e3k.c @@ -1,3 +1,26 @@ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_adapter.h" #include "vidmm.h" #include "vidsch.h" diff --git a/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_debug_hang_e3k.c b/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_debug_hang_e3k.c index fce1231d5046f..fa007d5ef4af8 100644 --- a/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_debug_hang_e3k.c +++ b/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_debug_hang_e3k.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_adapter.h" #include "vidmm.h" #include "vidsch.h" diff --git a/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_debug_hang_e3k.h b/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_debug_hang_e3k.h index 71d789a772971..4be94fdbf7ad2 100644 --- a/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_debug_hang_e3k.h +++ b/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_debug_hang_e3k.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __VIDSCH_DEBUG_HANG_E3K_H__ #define __VIDSCH_DEBUG_HANG_E3K_H__ diff --git a/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_dfs_e3k.c b/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_dfs_e3k.c index 4454b7ea825f6..a5ae4bf256d35 100644 --- a/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_dfs_e3k.c +++ b/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_dfs_e3k.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "vidsch_dfs_e3k.h" #include "vidsch.h" #include "vidschi.h" diff --git a/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_dfs_e3k.h b/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_dfs_e3k.h index 5ea64dac26a61..9ef00fc872657 100644 --- a/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_dfs_e3k.h +++ b/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_dfs_e3k.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __PM_DFS_E3K_H__ #include "gf_adapter.h" diff --git a/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_dump_image_e3k.h b/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_dump_image_e3k.h index 4767f548b4620..598e8b496aacd 100644 --- a/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_dump_image_e3k.h +++ b/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_dump_image_e3k.h @@ -1,3 +1,26 @@ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef VIDSCH_DUMP_IMAGE_E3K_H #define VIDSCH_DUMP_IMAGE_E3K_H typedef struct _HangDumpFileHeader diff --git a/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_engine_e3k.h b/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_engine_e3k.h index 901ee14691e98..5ac9195212e70 100644 --- a/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_engine_e3k.h +++ b/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_engine_e3k.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __VIDSCH_ENGINE_E3K_H #define __VIDSCH_ENGINE_E3K_H diff --git a/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_engine_setup_e3k.c b/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_engine_setup_e3k.c index 379c03b0162c1..7cd2caa45a58c 100644 --- a/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_engine_setup_e3k.c +++ b/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_engine_setup_e3k.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_adapter.h" #include "vidsch.h" #include "vidschi.h" diff --git a/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_engine_submit_e3k.c b/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_engine_submit_e3k.c index 69f6b44c01e8d..f22b15d5eaf4e 100644 --- a/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_engine_submit_e3k.c +++ b/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_engine_submit_e3k.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_adapter.h" #include "vidsch.h" #include "vidschi.h" diff --git a/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_patch_e3k.c b/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_patch_e3k.c index b4af478baf5d8..f44be6cf4177d 100644 --- a/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_patch_e3k.c +++ b/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_patch_e3k.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_adapter.h" #include "vidsch.h" #include "vidschi.h" diff --git a/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_render_e3k.c b/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_render_e3k.c index ea37e668aaed4..d781cb1f1efce 100644 --- a/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_render_e3k.c +++ b/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_render_e3k.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_adapter.h" #include "vidsch.h" #include "vidschi.h" diff --git a/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_setup_e3k.c b/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_setup_e3k.c index 176b5150b41da..6b9036a5fcc35 100644 --- a/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_setup_e3k.c +++ b/drivers/gpu/drm/arise/core/e3k/vidsch/vidsch_setup_e3k.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_adapter.h" #include "chip_include_e3k.h" #include "vidsch_engine_e3k.h" diff --git a/drivers/gpu/drm/arise/core/global/global.c b/drivers/gpu/drm/arise/core/global/global.c index cc2c1a6530adb..7e535a3a9dfee 100644 --- a/drivers/gpu/drm/arise/core/global/global.c +++ b/drivers/gpu/drm/arise/core/global/global.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_adapter.h" #include "global.h" #include "kernel_interface.h" diff --git a/drivers/gpu/drm/arise/core/global/global.h b/drivers/gpu/drm/arise/core/global/global.h index 3d60688f8595c..c6e4d72b822e3 100644 --- a/drivers/gpu/drm/arise/core/global/global.h +++ b/drivers/gpu/drm/arise/core/global/global.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __GLOBAL_H__ #define __GLOBAL_H__ diff --git a/drivers/gpu/drm/arise/core/include/core_errno.h b/drivers/gpu/drm/arise/core/include/core_errno.h index a185169791296..92f30c734a6f1 100644 --- a/drivers/gpu/drm/arise/core/include/core_errno.h +++ b/drivers/gpu/drm/arise/core/include/core_errno.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __ERRNO_H_ #define __ERRNO_H_ diff --git a/drivers/gpu/drm/arise/core/include/core_import.h b/drivers/gpu/drm/arise/core/include/core_import.h index 282f3dfc08ca9..a9181fe1bb6c2 100644 --- a/drivers/gpu/drm/arise/core/include/core_import.h +++ b/drivers/gpu/drm/arise/core/include/core_import.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __CORE_IMPORT_H__ #define __CORE_IMPORT_H__ diff --git a/drivers/gpu/drm/arise/core/include/gf_adapter.h b/drivers/gpu/drm/arise/core/include/gf_adapter.h index 832ca9d28117f..c90ed377935b4 100644 --- a/drivers/gpu/drm/arise/core/include/gf_adapter.h +++ b/drivers/gpu/drm/arise/core/include/gf_adapter.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __GF_ADAPTER_H__ #define __GF_ADAPTER_H__ diff --git a/drivers/gpu/drm/arise/core/include/gf_chip_id.h b/drivers/gpu/drm/arise/core/include/gf_chip_id.h index 9b85a4e5e3ae2..7f45e40af3f09 100644 --- a/drivers/gpu/drm/arise/core/include/gf_chip_id.h +++ b/drivers/gpu/drm/arise/core/include/gf_chip_id.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __GF_CHIP_ID_H #define __GF_CHIP_ID_H diff --git a/drivers/gpu/drm/arise/core/include/kernel_import.h b/drivers/gpu/drm/arise/core/include/kernel_import.h index 18eda0c079811..42d24a579ae69 100644 --- a/drivers/gpu/drm/arise/core/include/kernel_import.h +++ b/drivers/gpu/drm/arise/core/include/kernel_import.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __KERNEL_IMPORT_H__ #define __KERNEL_IMPORT_H__ #ifndef TRUE diff --git a/drivers/gpu/drm/arise/core/include/kernel_interface.h b/drivers/gpu/drm/arise/core/include/kernel_interface.h index e0b4da82336c8..6b57cc727546a 100644 --- a/drivers/gpu/drm/arise/core/include/kernel_interface.h +++ b/drivers/gpu/drm/arise/core/include/kernel_interface.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __KERNEL_INTERFACE_H__ #define __KERNEL_INTERFACE_H__ diff --git a/drivers/gpu/drm/arise/core/kernel_interface.c b/drivers/gpu/drm/arise/core/kernel_interface.c index 4ed13fb43b163..9cc4b8ed83812 100644 --- a/drivers/gpu/drm/arise/core/kernel_interface.c +++ b/drivers/gpu/drm/arise/core/kernel_interface.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "kernel_interface.h" #include "gf_adapter.h" #include "context.h" diff --git a/drivers/gpu/drm/arise/core/perfevent/perfevent.c b/drivers/gpu/drm/arise/core/perfevent/perfevent.c index cc87ea7de3ab3..50d16f67823f1 100644 --- a/drivers/gpu/drm/arise/core/perfevent/perfevent.c +++ b/drivers/gpu/drm/arise/core/perfevent/perfevent.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_adapter.h" #include "gf_def.h" #include "perfeventi.h" diff --git a/drivers/gpu/drm/arise/core/perfevent/perfevent.h b/drivers/gpu/drm/arise/core/perfevent/perfevent.h index 807b429b180d2..7a45a52a81abe 100644 --- a/drivers/gpu/drm/arise/core/perfevent/perfevent.h +++ b/drivers/gpu/drm/arise/core/perfevent/perfevent.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __PERF_EVENT_H__ #define __PERF_EVENT_H__ diff --git a/drivers/gpu/drm/arise/core/perfevent/perfeventi.h b/drivers/gpu/drm/arise/core/perfevent/perfeventi.h index 2d6783f4c81e9..0ae983a31940f 100644 --- a/drivers/gpu/drm/arise/core/perfevent/perfeventi.h +++ b/drivers/gpu/drm/arise/core/perfevent/perfeventi.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __PERF_EVENTI_H__ #define __PERF_EVENTI_H__ diff --git a/drivers/gpu/drm/arise/core/powermgr/powermgr.c b/drivers/gpu/drm/arise/core/powermgr/powermgr.c index d69239908b4f2..26039b4acfa5c 100644 --- a/drivers/gpu/drm/arise/core/powermgr/powermgr.c +++ b/drivers/gpu/drm/arise/core/powermgr/powermgr.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_adapter.h" #include "vidsch.h" #include "vidmm.h" diff --git a/drivers/gpu/drm/arise/core/powermgr/powermgr.h b/drivers/gpu/drm/arise/core/powermgr/powermgr.h index cc0a36fa453f3..6aff45e36058e 100644 --- a/drivers/gpu/drm/arise/core/powermgr/powermgr.h +++ b/drivers/gpu/drm/arise/core/powermgr/powermgr.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __POWER_MGR_H__ #define __POWER_MGR_H__ diff --git a/drivers/gpu/drm/arise/core/util/bit_op.h b/drivers/gpu/drm/arise/core/util/bit_op.h index 61a7231b98222..1519bbc10e500 100644 --- a/drivers/gpu/drm/arise/core/util/bit_op.h +++ b/drivers/gpu/drm/arise/core/util/bit_op.h @@ -1,18 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _BIT_OPERATROR_H_ #define _BIT_OPERATROR_H_ diff --git a/drivers/gpu/drm/arise/core/util/handle_manager.c b/drivers/gpu/drm/arise/core/util/handle_manager.c index ec1c72bb2ceac..a8900c1839951 100644 --- a/drivers/gpu/drm/arise/core/util/handle_manager.c +++ b/drivers/gpu/drm/arise/core/util/handle_manager.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "handle_manager.h" #define MAX_HANDLE (65536 * 4) diff --git a/drivers/gpu/drm/arise/core/util/handle_manager.h b/drivers/gpu/drm/arise/core/util/handle_manager.h index 9ae5857615206..18b336f77453e 100644 --- a/drivers/gpu/drm/arise/core/util/handle_manager.h +++ b/drivers/gpu/drm/arise/core/util/handle_manager.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __HANDLE_MANAGER_H__ #define __HANDLE_MANAGER_H__ diff --git a/drivers/gpu/drm/arise/core/util/heap_manager.c b/drivers/gpu/drm/arise/core/util/heap_manager.c index cd522fd6a808b..4ddbd1f2f9797 100644 --- a/drivers/gpu/drm/arise/core/util/heap_manager.c +++ b/drivers/gpu/drm/arise/core/util/heap_manager.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "heap_manager.h" #include "core_import.h" #include "util.h" diff --git a/drivers/gpu/drm/arise/core/util/heap_manager.h b/drivers/gpu/drm/arise/core/util/heap_manager.h index 925b20b656789..f954722936092 100644 --- a/drivers/gpu/drm/arise/core/util/heap_manager.h +++ b/drivers/gpu/drm/arise/core/util/heap_manager.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __HEAP_MANAGER_H__ #define __HEAP_MANAGER_H__ diff --git a/drivers/gpu/drm/arise/core/util/list.h b/drivers/gpu/drm/arise/core/util/list.h index 88362844ebcb9..426c88feab094 100644 --- a/drivers/gpu/drm/arise/core/util/list.h +++ b/drivers/gpu/drm/arise/core/util/list.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __LIST_H #define __LIST_H diff --git a/drivers/gpu/drm/arise/core/util/queue.c b/drivers/gpu/drm/arise/core/util/queue.c index 07621bf9e323c..01dac33ad91c5 100644 --- a/drivers/gpu/drm/arise/core/util/queue.c +++ b/drivers/gpu/drm/arise/core/util/queue.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "queue.h" #include "core_import.h" diff --git a/drivers/gpu/drm/arise/core/util/queue.h b/drivers/gpu/drm/arise/core/util/queue.h index 5f203f55ebac4..4864fbf2ae387 100644 --- a/drivers/gpu/drm/arise/core/util/queue.h +++ b/drivers/gpu/drm/arise/core/util/queue.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __QUEUE_H_ #define __QUEUE_H_ diff --git a/drivers/gpu/drm/arise/core/util/ring_buffer.c b/drivers/gpu/drm/arise/core/util/ring_buffer.c index 456a21d87f81a..6f63e9db34a05 100644 --- a/drivers/gpu/drm/arise/core/util/ring_buffer.c +++ b/drivers/gpu/drm/arise/core/util/ring_buffer.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "ring_buffer.h" #include "core_errno.h" #include "core_import.h" diff --git a/drivers/gpu/drm/arise/core/util/ring_buffer.h b/drivers/gpu/drm/arise/core/util/ring_buffer.h index ae88da385c3be..5a1b1d2b27bed 100644 --- a/drivers/gpu/drm/arise/core/util/ring_buffer.h +++ b/drivers/gpu/drm/arise/core/util/ring_buffer.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __RING_BUFFER_H #define __RING_BUFFER_H diff --git a/drivers/gpu/drm/arise/core/util/util.c b/drivers/gpu/drm/arise/core/util/util.c index 543fdddc761de..17714ab06de52 100644 --- a/drivers/gpu/drm/arise/core/util/util.c +++ b/drivers/gpu/drm/arise/core/util/util.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "util.h" char func_name[255] = {'\0'}; diff --git a/drivers/gpu/drm/arise/core/util/util.h b/drivers/gpu/drm/arise/core/util/util.h index 6a46b535c75ab..be34896694f29 100644 --- a/drivers/gpu/drm/arise/core/util/util.h +++ b/drivers/gpu/drm/arise/core/util/util.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __UTIL_H_ #define __UTIL_H_ diff --git a/drivers/gpu/drm/arise/core/vidmm/vidmm.c b/drivers/gpu/drm/arise/core/vidmm/vidmm.c index aa9088b1c44b9..378c49eddd1e9 100644 --- a/drivers/gpu/drm/arise/core/vidmm/vidmm.c +++ b/drivers/gpu/drm/arise/core/vidmm/vidmm.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_adapter.h" #include "global.h" #include "vidmm.h" diff --git a/drivers/gpu/drm/arise/core/vidmm/vidmm.h b/drivers/gpu/drm/arise/core/vidmm/vidmm.h index 468326bec5b48..e423c88d29dbb 100644 --- a/drivers/gpu/drm/arise/core/vidmm/vidmm.h +++ b/drivers/gpu/drm/arise/core/vidmm/vidmm.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __GF_VIDMM_H__ #define __GF_VIDMM_H__ diff --git a/drivers/gpu/drm/arise/core/vidmm/vidmm_allocate.c b/drivers/gpu/drm/arise/core/vidmm/vidmm_allocate.c index a81684c03ffd8..02b8a75c6007a 100644 --- a/drivers/gpu/drm/arise/core/vidmm/vidmm_allocate.c +++ b/drivers/gpu/drm/arise/core/vidmm/vidmm_allocate.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_adapter.h" #include "global.h" #include "vidmm.h" diff --git a/drivers/gpu/drm/arise/core/vidmm/vidmm_lock.c b/drivers/gpu/drm/arise/core/vidmm/vidmm_lock.c index ac8cf6daf6f06..8be336b5cfecd 100644 --- a/drivers/gpu/drm/arise/core/vidmm/vidmm_lock.c +++ b/drivers/gpu/drm/arise/core/vidmm/vidmm_lock.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_adapter.h" #include "global.h" #include "vidmm.h" diff --git a/drivers/gpu/drm/arise/core/vidmm/vidmm_paging.c b/drivers/gpu/drm/arise/core/vidmm/vidmm_paging.c index 8f862f6d263f3..9bab9f9263768 100644 --- a/drivers/gpu/drm/arise/core/vidmm/vidmm_paging.c +++ b/drivers/gpu/drm/arise/core/vidmm/vidmm_paging.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_adapter.h" #include "global.h" #include "vidmm.h" diff --git a/drivers/gpu/drm/arise/core/vidmm/vidmmi.h b/drivers/gpu/drm/arise/core/vidmm/vidmmi.h index 5d26020b9247a..fec4040aa7ee3 100644 --- a/drivers/gpu/drm/arise/core/vidmm/vidmmi.h +++ b/drivers/gpu/drm/arise/core/vidmm/vidmmi.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __GF_VIDMMI_H__ #define __GF_VIDMMI_H__ diff --git a/drivers/gpu/drm/arise/core/vidsch/vidsch.c b/drivers/gpu/drm/arise/core/vidsch/vidsch.c index 8372a647eec56..99c1b96f8b6a5 100644 --- a/drivers/gpu/drm/arise/core/vidsch/vidsch.c +++ b/drivers/gpu/drm/arise/core/vidsch/vidsch.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_adapter.h" #include "global.h" #include "vidmm.h" diff --git a/drivers/gpu/drm/arise/core/vidsch/vidsch.h b/drivers/gpu/drm/arise/core/vidsch/vidsch.h index 32efc28e2ef52..779fb72ca4059 100644 --- a/drivers/gpu/drm/arise/core/vidsch/vidsch.h +++ b/drivers/gpu/drm/arise/core/vidsch/vidsch.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __VIDSCH_H__ #define __VIDSCH_H__ diff --git a/drivers/gpu/drm/arise/core/vidsch/vidsch_daemon_thread.c b/drivers/gpu/drm/arise/core/vidsch/vidsch_daemon_thread.c index 11d8c9486dd18..977d6bb545a38 100644 --- a/drivers/gpu/drm/arise/core/vidsch/vidsch_daemon_thread.c +++ b/drivers/gpu/drm/arise/core/vidsch/vidsch_daemon_thread.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_adapter.h" #include "vidsch.h" #include "vidschi.h" diff --git a/drivers/gpu/drm/arise/core/vidsch/vidsch_gating.c b/drivers/gpu/drm/arise/core/vidsch/vidsch_gating.c index 5309368aa20c5..4b2b3a582cf47 100644 --- a/drivers/gpu/drm/arise/core/vidsch/vidsch_gating.c +++ b/drivers/gpu/drm/arise/core/vidsch/vidsch_gating.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_adapter.h" #include "vidsch.h" #include "vidschi.h" diff --git a/drivers/gpu/drm/arise/core/vidsch/vidsch_render.c b/drivers/gpu/drm/arise/core/vidsch/vidsch_render.c index 030ef1b67f9a6..8d7af4c46ff8f 100644 --- a/drivers/gpu/drm/arise/core/vidsch/vidsch_render.c +++ b/drivers/gpu/drm/arise/core/vidsch/vidsch_render.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_adapter.h" #include "vidsch.h" #include "vidschi.h" diff --git a/drivers/gpu/drm/arise/core/vidsch/vidsch_render.h b/drivers/gpu/drm/arise/core/vidsch/vidsch_render.h index 3693e5d6721c1..9d66149273657 100644 --- a/drivers/gpu/drm/arise/core/vidsch/vidsch_render.h +++ b/drivers/gpu/drm/arise/core/vidsch/vidsch_render.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __VIDSCH_RENDER_H__ #define __VIDSCH_RENDER_H__ diff --git a/drivers/gpu/drm/arise/core/vidsch/vidsch_submit.c b/drivers/gpu/drm/arise/core/vidsch/vidsch_submit.c index 273f0ce94b9df..78de3ff4e46e9 100644 --- a/drivers/gpu/drm/arise/core/vidsch/vidsch_submit.c +++ b/drivers/gpu/drm/arise/core/vidsch/vidsch_submit.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_adapter.h" #include "vidsch.h" #include "vidschi.h" diff --git a/drivers/gpu/drm/arise/core/vidsch/vidsch_submit.h b/drivers/gpu/drm/arise/core/vidsch/vidsch_submit.h index d5327aaf70d2c..69977ef74cfea 100644 --- a/drivers/gpu/drm/arise/core/vidsch/vidsch_submit.h +++ b/drivers/gpu/drm/arise/core/vidsch/vidsch_submit.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __VIDSCH_SUBMIT_H__ #define __VIDSCH_SUBMIT_H__ diff --git a/drivers/gpu/drm/arise/core/vidsch/vidsch_sync.c b/drivers/gpu/drm/arise/core/vidsch/vidsch_sync.c index 490fa5aa6690c..c5af5ebe6c473 100644 --- a/drivers/gpu/drm/arise/core/vidsch/vidsch_sync.c +++ b/drivers/gpu/drm/arise/core/vidsch/vidsch_sync.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_adapter.h" #include "vidsch.h" #include "vidschi.h" diff --git a/drivers/gpu/drm/arise/core/vidsch/vidsch_sync.h b/drivers/gpu/drm/arise/core/vidsch/vidsch_sync.h index 40a2149f157f3..2816b5a90eb0c 100644 --- a/drivers/gpu/drm/arise/core/vidsch/vidsch_sync.h +++ b/drivers/gpu/drm/arise/core/vidsch/vidsch_sync.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __VIDSCH_SYNC_H__ #define __VIDSCH_SYNC_H__ diff --git a/drivers/gpu/drm/arise/core/vidsch/vidsch_task.c b/drivers/gpu/drm/arise/core/vidsch/vidsch_task.c index 79932dd97b070..7bd7305096ea1 100644 --- a/drivers/gpu/drm/arise/core/vidsch/vidsch_task.c +++ b/drivers/gpu/drm/arise/core/vidsch/vidsch_task.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_adapter.h" #include "context.h" #include "vidsch.h" diff --git a/drivers/gpu/drm/arise/core/vidsch/vidsch_workerthread.c b/drivers/gpu/drm/arise/core/vidsch/vidsch_workerthread.c index 40c9c0b3ef3a1..97ff232736acd 100644 --- a/drivers/gpu/drm/arise/core/vidsch/vidsch_workerthread.c +++ b/drivers/gpu/drm/arise/core/vidsch/vidsch_workerthread.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_adapter.h" #include "vidsch.h" #include "vidschi.h" diff --git a/drivers/gpu/drm/arise/core/vidsch/vidsch_workerthread.h b/drivers/gpu/drm/arise/core/vidsch/vidsch_workerthread.h index 3f0472946030e..3b12a9b7b7748 100644 --- a/drivers/gpu/drm/arise/core/vidsch/vidsch_workerthread.h +++ b/drivers/gpu/drm/arise/core/vidsch/vidsch_workerthread.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __VIDSCH_WORKER_THREAD_H__ #define __VIDSCH_WORKER_THREAD_H__ diff --git a/drivers/gpu/drm/arise/core/vidsch/vidschi.h b/drivers/gpu/drm/arise/core/vidsch/vidschi.h index d1116b4beebb1..dcf1ac46d6640 100644 --- a/drivers/gpu/drm/arise/core/vidsch/vidschi.h +++ b/drivers/gpu/drm/arise/core/vidsch/vidschi.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __VIDSCHI_H__ #define __VIDSCHI_H__ diff --git a/drivers/gpu/drm/arise/gf_version.h b/drivers/gpu/drm/arise/gf_version.h index 5c3b4ad377b8a..7c50ebbc00473 100644 --- a/drivers/gpu/drm/arise/gf_version.h +++ b/drivers/gpu/drm/arise/gf_version.h @@ -1,3 +1,26 @@ +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #define DRIVER_DATE "10/08/2024" #define DRIVER_MAJOR 0x25 #define DRIVER_MINOR 0x00 diff --git a/drivers/gpu/drm/arise/linux/e3k/gf_irq_e3k.c b/drivers/gpu/drm/arise/linux/e3k/gf_irq_e3k.c index a4ff24290ac1c..8bb7c858428da 100644 --- a/drivers/gpu/drm/arise/linux/e3k/gf_irq_e3k.c +++ b/drivers/gpu/drm/arise/linux/e3k/gf_irq_e3k.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_irq_e3k.h" static void gf_translate_interrupt_bits(disp_info_t* disp_info, int sw2hw, intr_info_t* info, int* masks) diff --git a/drivers/gpu/drm/arise/linux/e3k/gf_irq_e3k.h b/drivers/gpu/drm/arise/linux/e3k/gf_irq_e3k.h index 2f91ce04baca3..a15a1855aaf62 100644 --- a/drivers/gpu/drm/arise/linux/e3k/gf_irq_e3k.h +++ b/drivers/gpu/drm/arise/linux/e3k/gf_irq_e3k.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _GF_IRQ_E3K_ #define _GF_IRQ_E3K_ diff --git a/drivers/gpu/drm/arise/linux/gf.c b/drivers/gpu/drm/arise/linux/gf.c index d243216c9eb83..82f2bf6ceed2a 100644 --- a/drivers/gpu/drm/arise/linux/gf.c +++ b/drivers/gpu/drm/arise/linux/gf.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf.h" #include "os_interface.h" #include "gf_driver.h" diff --git a/drivers/gpu/drm/arise/linux/gf.h b/drivers/gpu/drm/arise/linux/gf.h index 04bf482bb6303..376f6ece68029 100644 --- a/drivers/gpu/drm/arise/linux/gf.h +++ b/drivers/gpu/drm/arise/linux/gf.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __GF_H__ #define __GF_H__ diff --git a/drivers/gpu/drm/arise/linux/gf_atomic.c b/drivers/gpu/drm/arise/linux/gf_atomic.c index bf74af8ffaa19..19edd390cb192 100644 --- a/drivers/gpu/drm/arise/linux/gf_atomic.c +++ b/drivers/gpu/drm/arise/linux/gf_atomic.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_atomic.h" #include "gf_kms.h" #include "gf_sink.h" diff --git a/drivers/gpu/drm/arise/linux/gf_atomic.h b/drivers/gpu/drm/arise/linux/gf_atomic.h index bba7c0d5fc00a..4f055dcfae1e1 100644 --- a/drivers/gpu/drm/arise/linux/gf_atomic.h +++ b/drivers/gpu/drm/arise/linux/gf_atomic.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _GF_ATOMIC_H_ #define _GF_ATOMIC_H_ diff --git a/drivers/gpu/drm/arise/linux/gf_audio.c b/drivers/gpu/drm/arise/linux/gf_audio.c index 2904057b5c010..d7f967763b104 100644 --- a/drivers/gpu/drm/arise/linux/gf_audio.c +++ b/drivers/gpu/drm/arise/linux/gf_audio.c @@ -1,18 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2024 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_disp.h" #include "gf_cbios.h" #include "gf_driver.h" diff --git a/drivers/gpu/drm/arise/linux/gf_audio.h b/drivers/gpu/drm/arise/linux/gf_audio.h index f9d3550417436..b1283e2b0ab4c 100644 --- a/drivers/gpu/drm/arise/linux/gf_audio.h +++ b/drivers/gpu/drm/arise/linux/gf_audio.h @@ -1,16 +1,26 @@ -// Copyright (c) 2024 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __GF_AUDIO_H #define __GF_AUDIO_H diff --git a/drivers/gpu/drm/arise/linux/gf_capture_drv.c b/drivers/gpu/drm/arise/linux/gf_capture_drv.c index 5575e8e937b2a..9a5305cb56ca7 100644 --- a/drivers/gpu/drm/arise/linux/gf_capture_drv.c +++ b/drivers/gpu/drm/arise/linux/gf_capture_drv.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_disp.h" #include "gf_vip.h" #include "gf_wb.h" diff --git a/drivers/gpu/drm/arise/linux/gf_capture_drv.h b/drivers/gpu/drm/arise/linux/gf_capture_drv.h index c946bb5d05832..4c388831b6f6d 100644 --- a/drivers/gpu/drm/arise/linux/gf_capture_drv.h +++ b/drivers/gpu/drm/arise/linux/gf_capture_drv.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __GF_CAPTURE_DRV_H_ #define __GF_CAPTURE_DRV_H_ diff --git a/drivers/gpu/drm/arise/linux/gf_cbios.c b/drivers/gpu/drm/arise/linux/gf_cbios.c index 09368183c44fd..627c02b03aefb 100644 --- a/drivers/gpu/drm/arise/linux/gf_cbios.c +++ b/drivers/gpu/drm/arise/linux/gf_cbios.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_disp.h" #include "gf_vip.h" #include "gf_wb.h" diff --git a/drivers/gpu/drm/arise/linux/gf_cbios.h b/drivers/gpu/drm/arise/linux/gf_cbios.h index e8fe17abec9e4..98dfbcb89839a 100644 --- a/drivers/gpu/drm/arise/linux/gf_cbios.h +++ b/drivers/gpu/drm/arise/linux/gf_cbios.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __GF_CBIOS_H__ #define __GF_CBIOS_H__ #include "CBios.h" diff --git a/drivers/gpu/drm/arise/linux/gf_connector.c b/drivers/gpu/drm/arise/linux/gf_connector.c index dbbb8b87f35db..a8a74172abd9a 100644 --- a/drivers/gpu/drm/arise/linux/gf_connector.c +++ b/drivers/gpu/drm/arise/linux/gf_connector.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_disp.h" #include "gf_cbios.h" #include "gf_atomic.h" diff --git a/drivers/gpu/drm/arise/linux/gf_crtc.c b/drivers/gpu/drm/arise/linux/gf_crtc.c index a34ac97232c9c..6215fac30192b 100644 --- a/drivers/gpu/drm/arise/linux/gf_crtc.c +++ b/drivers/gpu/drm/arise/linux/gf_crtc.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_crtc.h" #include "gf_fence.h" #include "gf_drmfb.h" diff --git a/drivers/gpu/drm/arise/linux/gf_crtc.h b/drivers/gpu/drm/arise/linux/gf_crtc.h index 9fd53103ea6f3..7ad7ce6c1746f 100644 --- a/drivers/gpu/drm/arise/linux/gf_crtc.h +++ b/drivers/gpu/drm/arise/linux/gf_crtc.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _GF_CRTC_H_ #define _GF_CRTC_H_ diff --git a/drivers/gpu/drm/arise/linux/gf_debugfs.c b/drivers/gpu/drm/arise/linux/gf_debugfs.c index 318e457e0c81d..ba809da8432d1 100644 --- a/drivers/gpu/drm/arise/linux/gf_debugfs.c +++ b/drivers/gpu/drm/arise/linux/gf_debugfs.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_debugfs.h" typedef struct gf_mmio_segment diff --git a/drivers/gpu/drm/arise/linux/gf_debugfs.h b/drivers/gpu/drm/arise/linux/gf_debugfs.h index ccbd8ba0af318..7e6d68be5db7d 100644 --- a/drivers/gpu/drm/arise/linux/gf_debugfs.h +++ b/drivers/gpu/drm/arise/linux/gf_debugfs.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __GF_DEUBGFS_H__ #define __GF_DEUBGFS_H__ diff --git a/drivers/gpu/drm/arise/linux/gf_device_debug.h b/drivers/gpu/drm/arise/linux/gf_device_debug.h index 46a92568f26e3..1bf1763d12c69 100644 --- a/drivers/gpu/drm/arise/linux/gf_device_debug.h +++ b/drivers/gpu/drm/arise/linux/gf_device_debug.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __GF_DEVICE_DEUBG_H__ #define __GF_DEVICE_DEUBG_H__ typedef struct gf_device_debug_info { diff --git a/drivers/gpu/drm/arise/linux/gf_disp.c b/drivers/gpu/drm/arise/linux/gf_disp.c index 9fb45c024a933..e5d145159b086 100644 --- a/drivers/gpu/drm/arise/linux/gf_disp.c +++ b/drivers/gpu/drm/arise/linux/gf_disp.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_disp.h" #include "gf_cbios.h" #include "gf_atomic.h" diff --git a/drivers/gpu/drm/arise/linux/gf_disp.h b/drivers/gpu/drm/arise/linux/gf_disp.h index 80999f75fbc97..e1d9247db22b0 100644 --- a/drivers/gpu/drm/arise/linux/gf_disp.h +++ b/drivers/gpu/drm/arise/linux/gf_disp.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _GF_DISP_H #define _GF_DISP_H diff --git a/drivers/gpu/drm/arise/linux/gf_driver.c b/drivers/gpu/drm/arise/linux/gf_driver.c index dae02806e37b2..55177e9b6aff6 100644 --- a/drivers/gpu/drm/arise/linux/gf_driver.c +++ b/drivers/gpu/drm/arise/linux/gf_driver.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "os_interface.h" #include "gf_driver.h" #include "gf_ioctl.h" diff --git a/drivers/gpu/drm/arise/linux/gf_driver.h b/drivers/gpu/drm/arise/linux/gf_driver.h index 5242b8bc2e964..5a8ba4cdcf8ae 100644 --- a/drivers/gpu/drm/arise/linux/gf_driver.h +++ b/drivers/gpu/drm/arise/linux/gf_driver.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __GF_DRIVER_H #define __GF_DRIVER_H diff --git a/drivers/gpu/drm/arise/linux/gf_drmfb.c b/drivers/gpu/drm/arise/linux/gf_drmfb.c index b311cbf0f5e99..3769cc8137f91 100644 --- a/drivers/gpu/drm/arise/linux/gf_drmfb.c +++ b/drivers/gpu/drm/arise/linux/gf_drmfb.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_drmfb.h" static void gf_drm_framebuffer_destroy(struct drm_framebuffer *fb) diff --git a/drivers/gpu/drm/arise/linux/gf_drmfb.h b/drivers/gpu/drm/arise/linux/gf_drmfb.h index 257b227417537..e3c630440dcb7 100644 --- a/drivers/gpu/drm/arise/linux/gf_drmfb.h +++ b/drivers/gpu/drm/arise/linux/gf_drmfb.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _GF_DRMFB_H_ #define _GF_DRMFB_H_ diff --git a/drivers/gpu/drm/arise/linux/gf_encoder.c b/drivers/gpu/drm/arise/linux/gf_encoder.c index 1ca6b077c3f42..57b92836b325f 100644 --- a/drivers/gpu/drm/arise/linux/gf_encoder.c +++ b/drivers/gpu/drm/arise/linux/gf_encoder.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_disp.h" #include "gf_cbios.h" #include "gf_atomic.h" diff --git a/drivers/gpu/drm/arise/linux/gf_fbdev.c b/drivers/gpu/drm/arise/linux/gf_fbdev.c index 75b82ce93ce54..a02492cc25f64 100644 --- a/drivers/gpu/drm/arise/linux/gf_fbdev.c +++ b/drivers/gpu/drm/arise/linux/gf_fbdev.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_disp.h" #include "gf_driver.h" #include "gf_fbdev.h" diff --git a/drivers/gpu/drm/arise/linux/gf_fbdev.h b/drivers/gpu/drm/arise/linux/gf_fbdev.h index baa0181c1315c..95707105f06d1 100644 --- a/drivers/gpu/drm/arise/linux/gf_fbdev.h +++ b/drivers/gpu/drm/arise/linux/gf_fbdev.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _H_GF_FBDEV_H #define _H_GF_FBDEV_H #include "gf_drmfb.h" diff --git a/drivers/gpu/drm/arise/linux/gf_fence.c b/drivers/gpu/drm/arise/linux/gf_fence.c index 44cfc82bc3449..81c8b94b045b1 100644 --- a/drivers/gpu/drm/arise/linux/gf_fence.c +++ b/drivers/gpu/drm/arise/linux/gf_fence.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_fence.h" #include "gf_gem.h" #include "gf_gem_priv.h" diff --git a/drivers/gpu/drm/arise/linux/gf_fence.h b/drivers/gpu/drm/arise/linux/gf_fence.h index 9d5dc42ac032d..464907aed2b94 100644 --- a/drivers/gpu/drm/arise/linux/gf_fence.h +++ b/drivers/gpu/drm/arise/linux/gf_fence.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _H_GF_FENCE_H #define _H_GF_FENCE_H diff --git a/drivers/gpu/drm/arise/linux/gf_gem.c b/drivers/gpu/drm/arise/linux/gf_gem.c index 33c227bd216fa..9b5eae89d8094 100644 --- a/drivers/gpu/drm/arise/linux/gf_gem.c +++ b/drivers/gpu/drm/arise/linux/gf_gem.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf.h" #include "gf_debugfs.h" #include "gf_gem.h" diff --git a/drivers/gpu/drm/arise/linux/gf_gem.h b/drivers/gpu/drm/arise/linux/gf_gem.h index ddf63f285cbb7..95d2b8f76a268 100644 --- a/drivers/gpu/drm/arise/linux/gf_gem.h +++ b/drivers/gpu/drm/arise/linux/gf_gem.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _H_GF_GEM_OBJECT_H #define _H_GF_GEM_OBJECT_H #if DRM_VERSION_CODE >= KERNEL_VERSION(5,5,0) diff --git a/drivers/gpu/drm/arise/linux/gf_gem_debug.h b/drivers/gpu/drm/arise/linux/gf_gem_debug.h index d50f873b36c73..cf2aac3eea948 100644 --- a/drivers/gpu/drm/arise/linux/gf_gem_debug.h +++ b/drivers/gpu/drm/arise/linux/gf_gem_debug.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __GF_GEM_DEUBG_H__ #define __GF_GEM_DEUBG_H__ #include "gf_device_debug.h" diff --git a/drivers/gpu/drm/arise/linux/gf_gem_priv.h b/drivers/gpu/drm/arise/linux/gf_gem_priv.h index d4b95725eec4e..f3572ac41478b 100644 --- a/drivers/gpu/drm/arise/linux/gf_gem_priv.h +++ b/drivers/gpu/drm/arise/linux/gf_gem_priv.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __GF_GEM_PRIV_H__ #define __GF_GEM_PRIV_H__ #include diff --git a/drivers/gpu/drm/arise/linux/gf_hw_null.c b/drivers/gpu/drm/arise/linux/gf_hw_null.c index 39f0261b4dced..4ef8dd0e29dd9 100644 --- a/drivers/gpu/drm/arise/linux/gf_hw_null.c +++ b/drivers/gpu/drm/arise/linux/gf_hw_null.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf." #include "gf_driver.h" #include "os_interface.h" diff --git a/drivers/gpu/drm/arise/linux/gf_i2c.c b/drivers/gpu/drm/arise/linux/gf_i2c.c index 8fcaa2a3a4672..4e9b9df3288e0 100644 --- a/drivers/gpu/drm/arise/linux/gf_i2c.c +++ b/drivers/gpu/drm/arise/linux/gf_i2c.c @@ -1,16 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_disp.h" #include "gf_cbios.h" #include "os_interface.h" diff --git a/drivers/gpu/drm/arise/linux/gf_i2c.h b/drivers/gpu/drm/arise/linux/gf_i2c.h index 7cacfe30484bb..b610c765744f3 100644 --- a/drivers/gpu/drm/arise/linux/gf_i2c.h +++ b/drivers/gpu/drm/arise/linux/gf_i2c.h @@ -1,16 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __GF_I2C_H__ #define __GF_I2C_H__ diff --git a/drivers/gpu/drm/arise/linux/gf_ioctl.c b/drivers/gpu/drm/arise/linux/gf_ioctl.c index 71a1f195f7d61..688dd22670968 100644 --- a/drivers/gpu/drm/arise/linux/gf_ioctl.c +++ b/drivers/gpu/drm/arise/linux/gf_ioctl.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_def.h" #include "gf_ioctl.h" #include "os_interface.h" diff --git a/drivers/gpu/drm/arise/linux/gf_ioctl.h b/drivers/gpu/drm/arise/linux/gf_ioctl.h index 41298cb7600f1..7d9998b762833 100644 --- a/drivers/gpu/drm/arise/linux/gf_ioctl.h +++ b/drivers/gpu/drm/arise/linux/gf_ioctl.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __GF_IOCTL_H__ #define __GF_IOCTL_H__ diff --git a/drivers/gpu/drm/arise/linux/gf_irq.c b/drivers/gpu/drm/arise/linux/gf_irq.c index 4ca07ced29b64..434208e7ba0d0 100644 --- a/drivers/gpu/drm/arise/linux/gf_irq.c +++ b/drivers/gpu/drm/arise/linux/gf_irq.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_irq.h" #include "gf_crtc.h" #include "gf_capture_drv.h" diff --git a/drivers/gpu/drm/arise/linux/gf_irq.h b/drivers/gpu/drm/arise/linux/gf_irq.h index d7445c37492c5..9ccadae442fc8 100644 --- a/drivers/gpu/drm/arise/linux/gf_irq.h +++ b/drivers/gpu/drm/arise/linux/gf_irq.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _GF_IRQ_ #define _GF_IRQ_ diff --git a/drivers/gpu/drm/arise/linux/gf_kms.h b/drivers/gpu/drm/arise/linux/gf_kms.h index 0ab10fe55cb1c..56406d5d4681f 100644 --- a/drivers/gpu/drm/arise/linux/gf_kms.h +++ b/drivers/gpu/drm/arise/linux/gf_kms.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _GF_KMS_ #define _GF_KMS_ diff --git a/drivers/gpu/drm/arise/linux/gf_params.c b/drivers/gpu/drm/arise/linux/gf_params.c index b8ce204caf51b..54bc90997a68e 100644 --- a/drivers/gpu/drm/arise/linux/gf_params.c +++ b/drivers/gpu/drm/arise/linux/gf_params.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_params.h" #include "gf_driver.h" diff --git a/drivers/gpu/drm/arise/linux/gf_params.h b/drivers/gpu/drm/arise/linux/gf_params.h index b1a2e80614f88..06b1153784e3c 100644 --- a/drivers/gpu/drm/arise/linux/gf_params.h +++ b/drivers/gpu/drm/arise/linux/gf_params.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __GF_PARAMS_H__ #define __GF_PARAMS_H__ #include /* for __read_mostly */ diff --git a/drivers/gpu/drm/arise/linux/gf_pcie.c b/drivers/gpu/drm/arise/linux/gf_pcie.c index befc9c3d69931..0e9d1bcf89b99 100644 --- a/drivers/gpu/drm/arise/linux/gf_pcie.c +++ b/drivers/gpu/drm/arise/linux/gf_pcie.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf.h" #include "gf_driver.h" #include "os_interface.h" diff --git a/drivers/gpu/drm/arise/linux/gf_plane.c b/drivers/gpu/drm/arise/linux/gf_plane.c index c64fdb579dda8..aeaeb49d6bd07 100644 --- a/drivers/gpu/drm/arise/linux/gf_plane.c +++ b/drivers/gpu/drm/arise/linux/gf_plane.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_plane.h" #include "gf_drmfb.h" #include "gf_fence.h" diff --git a/drivers/gpu/drm/arise/linux/gf_plane.h b/drivers/gpu/drm/arise/linux/gf_plane.h index 073d96a50d33b..2f8c81356e1cb 100644 --- a/drivers/gpu/drm/arise/linux/gf_plane.h +++ b/drivers/gpu/drm/arise/linux/gf_plane.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _GF_PLANE_H_ #define _GF_PLANE_H_ diff --git a/drivers/gpu/drm/arise/linux/gf_pm.h b/drivers/gpu/drm/arise/linux/gf_pm.h index a01544874bcb1..31ce6fae81021 100644 --- a/drivers/gpu/drm/arise/linux/gf_pm.h +++ b/drivers/gpu/drm/arise/linux/gf_pm.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __GF_PM_H__ #define __GF_PM_H__ diff --git a/drivers/gpu/drm/arise/linux/gf_sink.c b/drivers/gpu/drm/arise/linux/gf_sink.c index 9b701cdfa54e4..303904f095232 100644 --- a/drivers/gpu/drm/arise/linux/gf_sink.c +++ b/drivers/gpu/drm/arise/linux/gf_sink.c @@ -1,18 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_disp.h" #include "gf_cbios.h" #include "gf_sink.h" diff --git a/drivers/gpu/drm/arise/linux/gf_sink.h b/drivers/gpu/drm/arise/linux/gf_sink.h index 900f5007ea474..1071645613743 100644 --- a/drivers/gpu/drm/arise/linux/gf_sink.h +++ b/drivers/gpu/drm/arise/linux/gf_sink.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef _GF_SINK_H_ #define _GF_SINK_H_ diff --git a/drivers/gpu/drm/arise/linux/gf_splice.c b/drivers/gpu/drm/arise/linux/gf_splice.c index a64e3e2d9074f..24a547173946a 100644 --- a/drivers/gpu/drm/arise/linux/gf_splice.c +++ b/drivers/gpu/drm/arise/linux/gf_splice.c @@ -1,16 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf.h" #include "gf_disp.h" #include "gf_cbios.h" diff --git a/drivers/gpu/drm/arise/linux/gf_splice.h b/drivers/gpu/drm/arise/linux/gf_splice.h index d9a7d678f2b0e..14bbbec52bd08 100644 --- a/drivers/gpu/drm/arise/linux/gf_splice.h +++ b/drivers/gpu/drm/arise/linux/gf_splice.h @@ -1,16 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __GF_SPLICE_H__ #define __GF_SPLICE_H__ diff --git a/drivers/gpu/drm/arise/linux/gf_sysfs.c b/drivers/gpu/drm/arise/linux/gf_sysfs.c index f41b786588f41..a6c3ce7c4e5c4 100644 --- a/drivers/gpu/drm/arise/linux/gf_sysfs.c +++ b/drivers/gpu/drm/arise/linux/gf_sysfs.c @@ -1,16 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf.h" #include "gf_disp.h" #include "gf_cbios.h" diff --git a/drivers/gpu/drm/arise/linux/gf_trace.h b/drivers/gpu/drm/arise/linux/gf_trace.h index c926562016b8a..751d29cec6af6 100644 --- a/drivers/gpu/drm/arise/linux/gf_trace.h +++ b/drivers/gpu/drm/arise/linux/gf_trace.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_version.h" #undef TRACE_SYSTEM diff --git a/drivers/gpu/drm/arise/linux/gf_trace_events.c b/drivers/gpu/drm/arise/linux/gf_trace_events.c index 85bb8c6ead769..a33d5dbf91dd0 100644 --- a/drivers/gpu/drm/arise/linux/gf_trace_events.c +++ b/drivers/gpu/drm/arise/linux/gf_trace_events.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "os_interface.h" #include "gf.h" diff --git a/drivers/gpu/drm/arise/linux/gf_vip.c b/drivers/gpu/drm/arise/linux/gf_vip.c index 24694111ae7e8..96a469cfdb9fb 100644 --- a/drivers/gpu/drm/arise/linux/gf_vip.c +++ b/drivers/gpu/drm/arise/linux/gf_vip.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_disp.h" #include "gf_vip.h" #include "gf_cbios.h" diff --git a/drivers/gpu/drm/arise/linux/gf_vip.h b/drivers/gpu/drm/arise/linux/gf_vip.h index abaef18a45d19..da65c98f8df59 100644 --- a/drivers/gpu/drm/arise/linux/gf_vip.h +++ b/drivers/gpu/drm/arise/linux/gf_vip.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __GF_VIP_H_ #define __GF_VIP_H_ diff --git a/drivers/gpu/drm/arise/linux/gf_wb.c b/drivers/gpu/drm/arise/linux/gf_wb.c index 91c4365d68f39..c3e1d2d15b1f5 100644 --- a/drivers/gpu/drm/arise/linux/gf_wb.c +++ b/drivers/gpu/drm/arise/linux/gf_wb.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "gf_disp.h" #include "gf_wb.h" #include "gf_cbios.h" diff --git a/drivers/gpu/drm/arise/linux/gf_wb.h b/drivers/gpu/drm/arise/linux/gf_wb.h index 4c79bd334456d..ac0e4f6d73f31 100644 --- a/drivers/gpu/drm/arise/linux/gf_wb.h +++ b/drivers/gpu/drm/arise/linux/gf_wb.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __GF_WB_H_ #define __GF_WB_H_ diff --git a/drivers/gpu/drm/arise/linux/os_interface.c b/drivers/gpu/drm/arise/linux/os_interface.c index d4deef744b3a6..0b0625317ecbe 100644 --- a/drivers/gpu/drm/arise/linux/os_interface.c +++ b/drivers/gpu/drm/arise/linux/os_interface.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "os_interface.h" #include "gf.h" #include "gf_driver.h" diff --git a/drivers/gpu/drm/arise/shared/gf_capture.h b/drivers/gpu/drm/arise/shared/gf_capture.h index fc908cbe05b52..84b62af2edd72 100644 --- a/drivers/gpu/drm/arise/shared/gf_capture.h +++ b/drivers/gpu/drm/arise/shared/gf_capture.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __GF_CAPTURE_H__ #define __GF_CAPTURE_H__ diff --git a/drivers/gpu/drm/arise/shared/gf_def.h b/drivers/gpu/drm/arise/shared/gf_def.h index 13750d16e133b..13ce9d6f4a44e 100644 --- a/drivers/gpu/drm/arise/shared/gf_def.h +++ b/drivers/gpu/drm/arise/shared/gf_def.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __gf_def_h__ #define __gf_def_h__ diff --git a/drivers/gpu/drm/arise/shared/gf_modifies.h b/drivers/gpu/drm/arise/shared/gf_modifies.h index 19b188a23e8aa..d035e2d2108d9 100644 --- a/drivers/gpu/drm/arise/shared/gf_modifies.h +++ b/drivers/gpu/drm/arise/shared/gf_modifies.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __GF_MODIFIES_H_ #define __GF_MODIFIES_H_ diff --git a/drivers/gpu/drm/arise/shared/gf_perf.h b/drivers/gpu/drm/arise/shared/gf_perf.h index b99846cf97ca9..c4192151f8e4a 100644 --- a/drivers/gpu/drm/arise/shared/gf_perf.h +++ b/drivers/gpu/drm/arise/shared/gf_perf.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __gf_perf_h__ #define __gf_perf_h__ diff --git a/drivers/gpu/drm/arise/shared/gf_types.h b/drivers/gpu/drm/arise/shared/gf_types.h index 6a36a4d5a5148..d89ca886ef9a9 100644 --- a/drivers/gpu/drm/arise/shared/gf_types.h +++ b/drivers/gpu/drm/arise/shared/gf_types.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __GF_TYPES_H__ #define __GF_TYPES_H__ diff --git a/drivers/gpu/drm/arise/shared/os_interface.h b/drivers/gpu/drm/arise/shared/os_interface.h index 594bc4f0b3922..5caf0c29c49a4 100644 --- a/drivers/gpu/drm/arise/shared/os_interface.h +++ b/drivers/gpu/drm/arise/shared/os_interface.h @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #ifndef __OS_INTERFACE_H__ #define __OS_INTERFACE_H__ diff --git a/drivers/gpu/drm/arise/shared/os_shared.c b/drivers/gpu/drm/arise/shared/os_shared.c index a8fd8c97288c2..af610b0d434c3 100644 --- a/drivers/gpu/drm/arise/shared/os_shared.c +++ b/drivers/gpu/drm/arise/shared/os_shared.c @@ -1,17 +1,26 @@ -//***************************************************************************** -// Copyright (c) 2021 Glenfly Tech Co., Ltd.. -// All Rights Reserved. -// -// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Glenfly Tech Co., Ltd..; -// the contents of this file may not be disclosed to third parties, copied or -// duplicated in any form, in whole or in part, without the prior written -// permission of Glenfly Tech Co., Ltd.. -// -// The copyright of the source code is protected by the copyright laws of the People's -// Republic of China and the related laws promulgated by the People's Republic of China -// and the international covenant(s) ratified by the People's Republic of China. -//***************************************************************************** - +/* + * Copyright © 2021 Glenfly Tech Co., Ltd. + * + * 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. + * + */ #include "os_interface.h" #define GF_TRACK_OK 0