summaryrefslogtreecommitdiff
path: root/dvalin/kernel/drivers/gpu/arm/midgard/mali_kbase_jm.c
diff options
context:
space:
mode:
Diffstat (limited to 'dvalin/kernel/drivers/gpu/arm/midgard/mali_kbase_jm.c')
-rw-r--r--dvalin/kernel/drivers/gpu/arm/midgard/mali_kbase_jm.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/dvalin/kernel/drivers/gpu/arm/midgard/mali_kbase_jm.c b/dvalin/kernel/drivers/gpu/arm/midgard/mali_kbase_jm.c
index 3f17dd7..6995050 100644
--- a/dvalin/kernel/drivers/gpu/arm/midgard/mali_kbase_jm.c
+++ b/dvalin/kernel/drivers/gpu/arm/midgard/mali_kbase_jm.c
@@ -1,11 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
/*
*
- * (C) COPYRIGHT 2014-2020 ARM Limited. All rights reserved.
+ * (C) COPYRIGHT 2014-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
* Foundation, and any use by you of this program is subject to the terms
- * of such GNU licence.
+ * of such GNU license.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -16,11 +17,8 @@
* 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
- *
*/
-
/*
* HW access job manager common APIs
*/
@@ -29,6 +27,7 @@
#include "mali_kbase_hwaccess_jm.h"
#include "mali_kbase_jm.h"
+#if !MALI_USE_CSF
/**
* kbase_jm_next_job() - Attempt to run the next @nr_jobs_to_submit jobs on slot
* @js on the active context.
@@ -46,7 +45,7 @@ static bool kbase_jm_next_job(struct kbase_device *kbdev, int js,
kctx = kbdev->hwaccess.active_kctx[js];
dev_dbg(kbdev->dev,
- "Trying to run the next %d jobs in kctx %p (s:%d)\n",
+ "Trying to run the next %d jobs in kctx %pK (s:%d)\n",
nr_jobs_to_submit, (void *)kctx, js);
if (!kctx)
@@ -118,7 +117,7 @@ void kbase_jm_idle_ctx(struct kbase_device *kbdev, struct kbase_context *kctx)
for (js = 0; js < BASE_JM_MAX_NR_SLOTS; js++) {
if (kbdev->hwaccess.active_kctx[js] == kctx) {
- dev_dbg(kbdev->dev, "Marking kctx %p as inactive (s:%d)\n",
+ dev_dbg(kbdev->dev, "Marking kctx %pK as inactive (s:%d)\n",
(void *)kctx, js);
kbdev->hwaccess.active_kctx[js] = NULL;
}
@@ -130,7 +129,7 @@ struct kbase_jd_atom *kbase_jm_return_atom_to_js(struct kbase_device *kbdev,
{
lockdep_assert_held(&kbdev->hwaccess_lock);
- dev_dbg(kbdev->dev, "Atom %p is returning with event code 0x%x\n",
+ dev_dbg(kbdev->dev, "Atom %pK is returning with event code 0x%x\n",
(void *)katom, katom->event_code);
if (katom->event_code != BASE_JD_EVENT_STOPPED &&
@@ -149,3 +148,4 @@ struct kbase_jd_atom *kbase_jm_complete(struct kbase_device *kbdev,
return kbase_js_complete_atom(katom, end_timestamp);
}
+#endif /* !MALI_USE_CSF */