summaryrefslogtreecommitdiff
path: root/mali_kbase/mali_kbase_hw.c
diff options
context:
space:
mode:
authorSidath Senanayake <sidaths@google.com>2021-01-29 15:03:53 +0000
committerSidath Senanayake <sidaths@google.com>2021-01-29 15:03:53 +0000
commit9748305a584b9f1f7705303ce6e33a5e8b923e60 (patch)
treea73788e1d912a3202db3a99018002e0858e9a948 /mali_kbase/mali_kbase_hw.c
parent201c8bfb4637601363b6e9283f3bdc510711a226 (diff)
downloadgpu-9748305a584b9f1f7705303ce6e33a5e8b923e60.tar.gz
Mali Valhall DDK r29p0 KMD
Provenance: afaca8da1 (collaborate/EAC/v_r29p0) VX504X08X-BU-00000-r29p0-01eac0 - Valhall Android DDK VX504X08X-BU-60000-r29p0-01eac0 - Valhall Android Document Bundle VX504X08X-DC-11001-r29p0-01eac0 - Valhall Android DDK Software Errata VX504X08X-SW-99006-r29p0-01eac0 - Valhall Android Renderscript AOSP parts Signed-off-by: Sidath Senanayake <sidaths@google.com> Change-Id: Ie0904c9223b7ec9311b848a52d3159ac2b07530e
Diffstat (limited to 'mali_kbase/mali_kbase_hw.c')
-rw-r--r--mali_kbase/mali_kbase_hw.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/mali_kbase/mali_kbase_hw.c b/mali_kbase/mali_kbase_hw.c
index 386fb9e..512213c 100644
--- a/mali_kbase/mali_kbase_hw.c
+++ b/mali_kbase/mali_kbase_hw.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
/*
*
* (C) COPYRIGHT 2012-2020 ARM Limited. All rights reserved.
@@ -20,8 +21,6 @@
*
*/
-
-
/*
* Run-time work-arounds helpers
*/
@@ -237,7 +236,7 @@ static const enum base_hw_issue *kbase_hw_get_issues_for_new_id(
{U32_MAX, NULL} } },
{GPU_ID2_PRODUCT_LTUX,
- {{GPU_ID2_VERSION_MAKE(3, 0, 0), base_hw_issues_tTUx_r0p0},
+ {{GPU_ID2_VERSION_MAKE(0, 0, 0), base_hw_issues_tTUx_r0p0},
{U32_MAX, NULL} } },
};
@@ -272,8 +271,8 @@ static const enum base_hw_issue *kbase_hw_get_issues_for_new_id(
}
/* Check whether this is a candidate for most recent
- known version not later than the actual
- version. */
+ * known version not later than the actual version.
+ */
if ((version > product->map[v].version) &&
(product->map[v].version >= fallback_version)) {
#if MALI_CUSTOMER_RELEASE
@@ -290,7 +289,8 @@ static const enum base_hw_issue *kbase_hw_get_issues_for_new_id(
if ((issues == NULL) && (fallback_issues != NULL)) {
/* Fall back to the issue set of the most recent known
- version not later than the actual version. */
+ * version not later than the actual version.
+ */
issues = fallback_issues;
#if MALI_CUSTOMER_RELEASE
@@ -343,7 +343,8 @@ int kbase_hw_set_issues_mask(struct kbase_device *kbdev)
#if !MALI_CUSTOMER_RELEASE
/* The GPU ID might have been replaced with the last
- known version of the same GPU. */
+ * known version of the same GPU.
+ */
gpu_id = kbdev->gpu_props.props.raw_props.gpu_id;
#endif
} else {