summaryrefslogtreecommitdiff
path: root/common/include
diff options
context:
space:
mode:
authorSidath Senanayake <sidaths@google.com>2021-04-20 15:26:53 +0100
committerSidath Senanayake <sidaths@google.com>2021-04-20 15:26:53 +0100
commitc83c70ba70ef485dfa4337da1a651cc86124598b (patch)
tree4cdfc1dd12e5076d7d33499accba3ba24ef49e30 /common/include
parentceb3ef011c8ef7ff646f48a10188ebcb53c14cde (diff)
parent8037b534570814775d79aeddd06b76e5ee941f59 (diff)
downloadgpu-c83c70ba70ef485dfa4337da1a651cc86124598b.tar.gz
Merge r30p0 from upstream into android-gs-pixel-5.10
This commit updates the Mali KMD to version r30p0 from commit 8037b534570814775d79aeddd06b76e5ee941f59 Bug: 180379272 Signed-off-by: Sidath Senanayake <sidaths@google.com> Change-Id: I703f1da43913fab5cb5ac704630418b72655dc41
Diffstat (limited to 'common/include')
-rw-r--r--common/include/linux/dma-buf-test-exporter.h22
-rw-r--r--common/include/linux/memory_group_manager.h22
-rw-r--r--common/include/linux/priority_control_manager.h36
-rw-r--r--common/include/linux/protected_memory_allocator.h22
-rw-r--r--common/include/linux/protected_mode_switcher.h22
5 files changed, 11 insertions, 113 deletions
diff --git a/common/include/linux/dma-buf-test-exporter.h b/common/include/linux/dma-buf-test-exporter.h
index 1a8a5f3..7abcc69 100644
--- a/common/include/linux/dma-buf-test-exporter.h
+++ b/common/include/linux/dma-buf-test-exporter.h
@@ -1,24 +1,4 @@
-/*
- *
- * (C) COPYRIGHT ARM Limited. All rights reserved.
- *
- * This program is free software and is provided to you under the terms of the
- * GNU General Public License version 2 as published by the Free Software
- * Foundation, and any use by you of this program is subject to the terms
- * of such GNU licence.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
- * SPDX-License-Identifier: GPL-2.0
- *
- *//* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 */
/*
*
* (C) COPYRIGHT 2012-2013, 2017, 2020 ARM Limited. All rights reserved.
diff --git a/common/include/linux/memory_group_manager.h b/common/include/linux/memory_group_manager.h
index bb5e5ca..2045840 100644
--- a/common/include/linux/memory_group_manager.h
+++ b/common/include/linux/memory_group_manager.h
@@ -1,24 +1,4 @@
-/*
- *
- * (C) COPYRIGHT ARM Limited. All rights reserved.
- *
- * This program is free software and is provided to you under the terms of the
- * GNU General Public License version 2 as published by the Free Software
- * Foundation, and any use by you of this program is subject to the terms
- * of such GNU licence.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
- * SPDX-License-Identifier: GPL-2.0
- *
- *//* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 */
/*
*
* (C) COPYRIGHT 2019-2020 ARM Limited. All rights reserved.
diff --git a/common/include/linux/priority_control_manager.h b/common/include/linux/priority_control_manager.h
index ce36a1e..df3b3cd 100644
--- a/common/include/linux/priority_control_manager.h
+++ b/common/include/linux/priority_control_manager.h
@@ -1,27 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
/*
*
- * (C) COPYRIGHT ARM Limited. All rights reserved.
- *
- * This program is free software and is provided to you under the terms of the
- * GNU General Public License version 2 as published by the Free Software
- * Foundation, and any use by you of this program is subject to the terms
- * of such GNU licence.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
- * SPDX-License-Identifier: GPL-2.0
- *
- *//* SPDX-License-Identifier: GPL-2.0 */
-/*
- *
- * (C) COPYRIGHT 2020 ARM Limited. All rights reserved.
+ * (C) COPYRIGHT 2020-2021 ARM Limited. All rights reserved.
*
* This program is free software and is provided to you under the terms of the
* GNU General Public License version 2 as published by the Free Software
@@ -78,15 +58,12 @@ struct priority_control_manager_ops {
};
/**
- * struct priority_control_manager_device - Device structure for a priority
+ * struct priority_control_manager_device - Device structure for priority
* control manager
*
- * @ops - Callbacks associated with this device
- * @data - Pointer to device private data
- *
- * In order for a systems integrator to implement custom restrictions on which
- * processes can use certain GPU scheduling priorities, they must provide a
- * platform-specific driver module which implements this interface.
+ * @ops: Callbacks associated with this device
+ * @data: Pointer to device private data
+ * @owner: Pointer to the module owner
*
* This structure should be registered with the platform device using
* platform_set_drvdata().
@@ -94,6 +71,7 @@ struct priority_control_manager_ops {
struct priority_control_manager_device {
struct priority_control_manager_ops ops;
void *data;
+ struct module *owner;
};
#endif /* _PRIORITY_CONTROL_MANAGER_H_ */
diff --git a/common/include/linux/protected_memory_allocator.h b/common/include/linux/protected_memory_allocator.h
index 4726aa1..1ccb403 100644
--- a/common/include/linux/protected_memory_allocator.h
+++ b/common/include/linux/protected_memory_allocator.h
@@ -1,24 +1,4 @@
-/*
- *
- * (C) COPYRIGHT ARM Limited. All rights reserved.
- *
- * This program is free software and is provided to you under the terms of the
- * GNU General Public License version 2 as published by the Free Software
- * Foundation, and any use by you of this program is subject to the terms
- * of such GNU licence.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
- * SPDX-License-Identifier: GPL-2.0
- *
- *//* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 */
/*
*
* (C) COPYRIGHT 2019-2020 ARM Limited. All rights reserved.
diff --git a/common/include/linux/protected_mode_switcher.h b/common/include/linux/protected_mode_switcher.h
index bde31ec..d2c7eef 100644
--- a/common/include/linux/protected_mode_switcher.h
+++ b/common/include/linux/protected_mode_switcher.h
@@ -1,24 +1,4 @@
-/*
- *
- * (C) COPYRIGHT ARM Limited. All rights reserved.
- *
- * This program is free software and is provided to you under the terms of the
- * GNU General Public License version 2 as published by the Free Software
- * Foundation, and any use by you of this program is subject to the terms
- * of such GNU licence.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
- * SPDX-License-Identifier: GPL-2.0
- *
- *//* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 */
/*
*
* (C) COPYRIGHT 2017, 2020 ARM Limited. All rights reserved.