hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
kernel/drivers/gpu/arm/bifrost/backend/gpu/mali_kbase_jm_rb.h
....@@ -1,7 +1,7 @@
11 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
22 /*
33 *
4
- * (C) COPYRIGHT 2014-2018, 2020-2021 ARM Limited. All rights reserved.
4
+ * (C) COPYRIGHT 2014-2018, 2020-2022 ARM Limited. All rights reserved.
55 *
66 * This program is free software and is provided to you under the terms of the
77 * GNU General Public License version 2 as published by the Free Software
....@@ -40,8 +40,7 @@
4040 *
4141 * Return: true if job evicted from NEXT registers, false otherwise
4242 */
43
-bool kbase_gpu_irq_evict(struct kbase_device *kbdev, int js,
44
- u32 completion_code);
43
+bool kbase_gpu_irq_evict(struct kbase_device *kbdev, unsigned int js, u32 completion_code);
4544
4645 /**
4746 * kbase_gpu_complete_hw - Complete an atom on job slot js
....@@ -53,10 +52,8 @@
5352 * completed
5453 * @end_timestamp: Time of completion
5554 */
56
-void kbase_gpu_complete_hw(struct kbase_device *kbdev, int js,
57
- u32 completion_code,
58
- u64 job_tail,
59
- ktime_t *end_timestamp);
55
+void kbase_gpu_complete_hw(struct kbase_device *kbdev, unsigned int js, u32 completion_code,
56
+ u64 job_tail, ktime_t *end_timestamp);
6057
6158 /**
6259 * kbase_gpu_inspect - Inspect the contents of the HW access ringbuffer
....@@ -68,8 +65,7 @@
6865 * Return: The atom at that position in the ringbuffer
6966 * or NULL if no atom present
7067 */
71
-struct kbase_jd_atom *kbase_gpu_inspect(struct kbase_device *kbdev, int js,
72
- int idx);
68
+struct kbase_jd_atom *kbase_gpu_inspect(struct kbase_device *kbdev, unsigned int js, int idx);
7369
7470 /**
7571 * kbase_gpu_dump_slots - Print the contents of the slot ringbuffers