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

Public Attributes

struct mutex lock
 
struct kbase_devicekbdev
 
struct kbase_contextkctx
 
struct kbase_vmap_struct vmap
 
u64 gpu_va
 
void * cpu_va
 
size_t dump_size
 
u32 bitmap [4]
 
bool reprogram
 
enum vinstr_state state
 
struct spinlock state_lock
 
wait_queue_head_t suspend_waitq
 
unsigned int suspend_cnt
 
struct work_struct suspend_work
 
struct work_struct resume_work
 
u32 nclients
 
struct list_head waiting_clients
 
struct list_head idle_clients
 
struct list_head suspended_clients
 
struct task_struct * thread
 
wait_queue_head_t waitq
 
atomic_t request_pending
 

Detailed Description

struct kbase_vinstr_context - vinstr context per device : protects the entire vinstr context : pointer to kbase device : pointer to kbase context : vinstr vmap for mapping hwcnt dump buffer : GPU hwcnt dump buffer address : the CPU side mapping of the hwcnt dump buffer : size of the dump buffer in bytes : current set of counters monitored, not always in sync with hardware : when true, reprogram hwcnt block with the new set of counters : vinstr state : protects information about vinstr state : notification queue to trigger state re-validation : reference counter of vinstr's suspend state : worker to execute on entering suspended state : worker to execute on leaving suspended state : number of attached clients, pending or otherwise : head of list of clients being periodically sampled : head of list of clients being idle : head of list of clients being suspended : periodic sampling thread : notification queue of sampling thread : request for action for sampling thread


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