My Project
Public Attributes | List of all members
kbasep_js_per_as_data Struct Reference

#include <mali_kbase_js_defs.h>

Public Attributes

int as_busy_refcount
 
struct kbase_contextkctx
 

Detailed Description

Data used by the scheduler that is unique for each Address Space.

This is used in IRQ context and hwaccess_lock must be held whilst accessing this data (inculding reads and atomic decisions based on the read).

Member Data Documentation

◆ as_busy_refcount

int kbasep_js_per_as_data::as_busy_refcount

Ref count of whether this AS is busy, and must not be scheduled out

When jobs are running this is always positive. However, it can still be positive when no jobs are running. If all you need is a heuristic to tell you whether jobs might be running, this should be sufficient.

◆ kctx

struct kbase_context* kbasep_js_per_as_data::kctx

Pointer to the current context on this address space, or NULL for no context


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