diff options
author | Siddharth Kapoor <ksiddharth@google.com> | 2022-03-02 14:51:29 +0800 |
---|---|---|
committer | Siddharth Kapoor <ksiddharth@google.com> | 2022-03-02 14:51:29 +0800 |
commit | 88d7d984fed1c2a4358ce2bbc334e82d71e3a391 (patch) | |
tree | 18f20402a0ed15ae9fe62b29a9957922ebcc2ada /mali_kbase/mali_kbase_js_ctx_attr.h | |
parent | 0207d6c3b7a2002f15c60d08617e956faf5ba90c (diff) | |
download | gpu-88d7d984fed1c2a4358ce2bbc334e82d71e3a391.tar.gz |
Mali Valhall Android DDK r36p0 KMD
Provenance: 9f72c118d9 (ipdelivery/EAC/v_r36p0)
VX504X08X-BU-00000-r36p0-01eac0 - Valhall Android DDK
VX504X08X-BU-60000-r36p0-01eac0 - Valhall Android Document Bundle
VX504X08X-DC-11001-r36p0-01eac0 - Valhall Android DDK Software Errata
VX504X08X-SW-99006-r36p0-01eac0 - Valhall Android Renderscript AOSP parts
Signed-off-by: Siddharth Kapoor <ksiddharth@google.com>
Change-Id: I4a63b707fedc68d7b7d046596c7098da47a139cb
Diffstat (limited to 'mali_kbase/mali_kbase_js_ctx_attr.h')
-rw-r--r-- | mali_kbase/mali_kbase_js_ctx_attr.h | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/mali_kbase/mali_kbase_js_ctx_attr.h b/mali_kbase/mali_kbase_js_ctx_attr.h index 6f29241..2dc640d 100644 --- a/mali_kbase/mali_kbase_js_ctx_attr.h +++ b/mali_kbase/mali_kbase_js_ctx_attr.h @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * - * (C) COPYRIGHT 2012-2015, 2018, 2020-2021 ARM Limited. All rights reserved. + * (C) COPYRIGHT 2012-2015, 2018, 2020-2022 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 @@ -27,7 +27,8 @@ #define _KBASE_JS_CTX_ATTR_H_ /** - * Retain all attributes of a context + * kbasep_js_ctx_attr_runpool_retain_ctx - Retain all attributes of a context + * * @kbdev: KBase device * @kctx: KBase context * @@ -42,7 +43,8 @@ void kbasep_js_ctx_attr_runpool_retain_ctx(struct kbase_device *kbdev, struct kbase_context *kctx); /** - * Release all attributes of a context + * kbasep_js_ctx_attr_runpool_release_ctx - Release all attributes of a context + * * @kbdev: KBase device * @kctx: KBase context * @@ -54,16 +56,17 @@ void kbasep_js_ctx_attr_runpool_retain_ctx(struct kbase_device *kbdev, struct kb * - runpool_irq spinlock * - ctx->is_scheduled is true * - * @return true indicates a change in ctx attributes state of the runpool. + * Return: true indicates a change in ctx attributes state of the runpool. * In this state, the scheduler might be able to submit more jobs than * previously, and so the caller should ensure kbasep_js_try_run_next_job_nolock() * or similar is called sometime later. - * @return false indicates no change in ctx attributes state of the runpool. + * false indicates no change in ctx attributes state of the runpool. */ bool kbasep_js_ctx_attr_runpool_release_ctx(struct kbase_device *kbdev, struct kbase_context *kctx); /** - * Retain all attributes of an atom + * kbasep_js_ctx_attr_ctx_retain_atom - Retain all attributes of an atom + * * @kbdev: KBase device * @kctx: KBase context * @katom: Atom @@ -77,7 +80,9 @@ bool kbasep_js_ctx_attr_runpool_release_ctx(struct kbase_device *kbdev, struct k void kbasep_js_ctx_attr_ctx_retain_atom(struct kbase_device *kbdev, struct kbase_context *kctx, struct kbase_jd_atom *katom); /** - * Release all attributes of an atom, given its retained state. + * kbasep_js_ctx_attr_ctx_release_atom - Release all attributes of an atom, + * given its retained state. + * * @kbdev: KBase device * @kctx: KBase context * @katom_retained_state: Retained state @@ -90,11 +95,11 @@ void kbasep_js_ctx_attr_ctx_retain_atom(struct kbase_device *kbdev, struct kbase * * This is a no-op when \a katom_retained_state is invalid. * - * @return true indicates a change in ctx attributes state of the runpool. + * Return: true indicates a change in ctx attributes state of the runpool. * In this state, the scheduler might be able to submit more jobs than * previously, and so the caller should ensure kbasep_js_try_run_next_job_nolock() * or similar is called sometime later. - * @return false indicates no change in ctx attributes state of the runpool. + * false indicates no change in ctx attributes state of the runpool. */ bool kbasep_js_ctx_attr_ctx_release_atom(struct kbase_device *kbdev, struct kbase_context *kctx, struct kbasep_js_atom_retained_state *katom_retained_state); |