summaryrefslogtreecommitdiff
path: root/mali_kbase/mali_kbase_hw.h
diff options
context:
space:
mode:
authorSidath Senanayake <sidaths@google.com>2021-04-14 19:14:30 +0100
committerSidath Senanayake <sidaths@google.com>2021-04-14 19:53:59 +0100
commit8037b534570814775d79aeddd06b76e5ee941f59 (patch)
treebd03fb25466475adb31333ff487350e1bd352fa1 /mali_kbase/mali_kbase_hw.h
parent5ddb2927918bdf131080bc488eb1fb455d1cdfb7 (diff)
downloadgpu-8037b534570814775d79aeddd06b76e5ee941f59.tar.gz
Mali Valhall DDK r30p0 KMD
Provenance 4a09e9e58 (collaborate/EAC/v_r30p0) VX504X08X-BU-00000-r30p0-01eac0 - Valhall Android DDK VX504X08X-BU-60000-r30p0-01eac0 - Valhall Android Document Bundle VX504X08X-DC-11001-r30p0-01eac0 - Valhall Android DDK Software Errata VX504X08X-SW-99006-r30p0-01eac0 - Valhall Android Renderscript AOSP parts Signed-off-by: Sidath Senanayake <sidaths@google.com> Change-Id: Ie30d6ece7ebe221c8e4c736af05ad05dcfc15127
Diffstat (limited to 'mali_kbase/mali_kbase_hw.h')
-rw-r--r--mali_kbase/mali_kbase_hw.h38
1 files changed, 11 insertions, 27 deletions
diff --git a/mali_kbase/mali_kbase_hw.h b/mali_kbase/mali_kbase_hw.h
index afc56a6..65b417c 100644
--- a/mali_kbase/mali_kbase_hw.h
+++ b/mali_kbase/mali_kbase_hw.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 2012-2017, 2020 ARM Limited. All rights reserved.
+ * (C) COPYRIGHT 2012-2017, 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
@@ -40,8 +20,7 @@
*/
/**
- * @file
- * Run-time work-arounds helpers
+ * DOC: Run-time work-arounds helpers
*/
#ifndef _KBASE_HW_H_
@@ -50,13 +29,17 @@
#include "mali_kbase_defs.h"
/**
- * @brief Tell whether a work-around should be enabled
+ * Tell whether a work-around should be enabled
+ * @kbdev: Device pointer
+ * @issue: issue to be checked
*/
#define kbase_hw_has_issue(kbdev, issue)\
test_bit(issue, &(kbdev)->hw_issues_mask[0])
/**
- * @brief Tell whether a feature is supported
+ * Tell whether a feature is supported
+ * @kbdev: Device pointer
+ * @feature: feature to be checked
*/
#define kbase_hw_has_feature(kbdev, feature)\
test_bit(feature, &(kbdev)->hw_features_mask[0])
@@ -80,7 +63,8 @@
int kbase_hw_set_issues_mask(struct kbase_device *kbdev);
/**
- * @brief Set the features mask depending on the GPU ID
+ * Set the features mask depending on the GPU ID
+ * @kbdev: Device pointer
*/
void kbase_hw_set_features_mask(struct kbase_device *kbdev);