.. | .. |
---|
1 | 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
---|
2 | 2 | /* |
---|
3 | 3 | * |
---|
4 | | - * (C) COPYRIGHT 2014-2018, 2020-2021 ARM Limited. All rights reserved. |
---|
| 4 | + * (C) COPYRIGHT 2014-2018, 2020-2022 ARM Limited. All rights reserved. |
---|
5 | 5 | * |
---|
6 | 6 | * This program is free software and is provided to you under the terms of the |
---|
7 | 7 | * GNU General Public License version 2 as published by the Free Software |
---|
.. | .. |
---|
40 | 40 | * |
---|
41 | 41 | * Return: true if job evicted from NEXT registers, false otherwise |
---|
42 | 42 | */ |
---|
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); |
---|
45 | 44 | |
---|
46 | 45 | /** |
---|
47 | 46 | * kbase_gpu_complete_hw - Complete an atom on job slot js |
---|
.. | .. |
---|
53 | 52 | * completed |
---|
54 | 53 | * @end_timestamp: Time of completion |
---|
55 | 54 | */ |
---|
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); |
---|
60 | 57 | |
---|
61 | 58 | /** |
---|
62 | 59 | * kbase_gpu_inspect - Inspect the contents of the HW access ringbuffer |
---|
.. | .. |
---|
68 | 65 | * Return: The atom at that position in the ringbuffer |
---|
69 | 66 | * or NULL if no atom present |
---|
70 | 67 | */ |
---|
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); |
---|
73 | 69 | |
---|
74 | 70 | /** |
---|
75 | 71 | * kbase_gpu_dump_slots - Print the contents of the slot ringbuffers |
---|