|
My Project
|
#include <mali_kbase_js_defs.h>
Public Attributes | |
| struct mutex | jsctx_mutex |
| u32 | nr_jobs |
| u32 | ctx_attr_ref_count [KBASEP_JS_CTX_ATTR_COUNT] |
| wait_queue_head_t | is_scheduled_wait |
| struct list_head | ctx_list_entry [BASE_JM_MAX_NR_SLOTS] |
Job Scheduler Context information sub-structure. These members are accessed regardless of whether the context is:
You must obtain the jsctx_mutex before accessing any other members of this substructure.
You may not access any of these members from IRQ context.
| u32 kbasep_js_kctx_info::kbase_jsctx::ctx_attr_ref_count[KBASEP_JS_CTX_ATTR_COUNT] |
Context Attributes: Each is large enough to hold a refcount of the number of atoms on the context.
| struct list_head kbasep_js_kctx_info::kbase_jsctx::ctx_list_entry[BASE_JM_MAX_NR_SLOTS] |
Link implementing JS queues. Context can be present on one list per job slot
| wait_queue_head_t kbasep_js_kctx_info::kbase_jsctx::is_scheduled_wait |
Wait queue to wait for KCTX_SHEDULED flag state changes.
| struct mutex kbasep_js_kctx_info::kbase_jsctx::jsctx_mutex |
Job Scheduler Context lock
| u32 kbasep_js_kctx_info::kbase_jsctx::nr_jobs |
Number of jobs ready to run - does not include the jobs waiting in the dispatcher, and dependency-only jobs. See kbase_jd_context::job_nr for such jobs
1.8.13