My Project
Public Attributes | List of all members
kbasep_js_kctx_info::kbase_jsctx Struct Reference

#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]
 

Detailed Description

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.

Member Data Documentation

◆ ctx_attr_ref_count

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.

◆ ctx_list_entry

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

◆ is_scheduled_wait

wait_queue_head_t kbasep_js_kctx_info::kbase_jsctx::is_scheduled_wait

Wait queue to wait for KCTX_SHEDULED flag state changes.

◆ jsctx_mutex

struct mutex kbasep_js_kctx_info::kbase_jsctx::jsctx_mutex

Job Scheduler Context lock

◆ nr_jobs

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


The documentation for this struct was generated from the following file: