Displaying 6 results from an estimated 6 matches for "pmuvm".
2015 Apr 13
3
[PATCH v4] pmu/gk20a: PMU boot support
...9 @@ struct gk20a_pmu_priv {
struct nvkm_pmu base;
struct nvkm_alarm alarm;
struct gk20a_pmu_dvfs_data *data;
+ struct pmu_ucode_desc *desc;
+ struct pmu_buf_desc ucode;
+ struct pmu_buf_desc trace_buf;
+ struct mutex pmu_copy_lock;
+ bool pmu_ready;
+ int pmu_state;
+ struct nvkm_pmu_priv_vm pmuvm;
+ struct mutex isr_mutex;
+ bool isr_enabled;
};
+#define to_gk20a_priv(ptr) container_of(ptr, struct gk20a_pmu_priv, base)
+
struct gk20a_pmu_dvfs_dev_status {
unsigned long total;
unsigned long busy;
@@ -48,6 +231,59 @@ struct gk20a_pmu_dvfs_dev_status {
};
static int
+gk20a_pmu_load...
2015 Apr 30
2
[PATCH v4] pmu/gk20a: PMU boot support
...ata *data;
>> + struct pmu_ucode_desc *desc;
>> + struct pmu_buf_desc ucode;
>> + struct pmu_buf_desc trace_buf;
>> + struct mutex pmu_copy_lock;
>> + bool pmu_ready;
>> + int pmu_state;
>> + struct nvkm_pmu_priv_vm pmuvm;
>> + struct mutex isr_mutex;
>> + bool isr_enabled;
>> };
>>
>> +#define to_gk20a_priv(ptr) container_of(ptr, struct gk20a_pmu_priv, base)
>> +
>> struct gk20a_pmu_dvfs_dev_status {
>> unsigned long total;
>> uns...
2015 Apr 08
3
[PATCH V2] pmu/gk20a: PMU boot support.
...2 @@ struct gk20a_pmu_priv {
struct nvkm_pmu base;
struct nvkm_alarm alarm;
struct gk20a_pmu_dvfs_data *data;
+ struct pmu_ucode_desc *desc;
+ struct pmu_buf_desc ucode;
+ struct pmu_buf_desc trace_buf;
+ struct mutex pmu_copy_lock;
+ bool pmu_ready;
+ int pmu_state;
+ struct nvkm_pmu_priv_vm pmuvm;
+ struct work_struct isr_workq;
+ bool initialized;
+ bool sw_ready;
+ struct mutex isr_mutex;
+ bool isr_enabled;
};
+#define to_gk20a_priv(ptr) container_of(ptr, struct gk20a_pmu_priv, base)
+
struct gk20a_pmu_dvfs_dev_status {
unsigned long total;
unsigned long busy;
@@ -48,6 +229,61 @@...
2015 Mar 11
3
[PATCH] pmu/gk20a: PMU boot support.
..._gpuobj *pgd;
+ struct nvkm_vm *vm;
+};
struct nvkm_pmu {
struct nvkm_subdev base;
@@ -20,9 +33,20 @@ struct nvkm_pmu {
u32 message;
u32 data[2];
} recv;
-
+ wait_queue_head_t init_wq;
+ bool gr_initialised;
+ struct dentry *debugfs;
+ struct pmu_buf_desc *pg_buf;
+ struct pmu_priv_vm *pmuvm;
int (*message)(struct nvkm_pmu *, u32[2], u32, u32, u32, u32);
void (*pgob)(struct nvkm_pmu *, bool);
+ int (*pmu_mutex_acquire)(struct nvkm_pmu *, u32 id, u32 *token);
+ int (*pmu_mutex_release)(struct nvkm_pmu *, u32 id, u32 *token);
+ int (*pmu_load_norm)(struct nvkm_pmu *pmu, u32 *load);...
2015 Mar 11
0
[PATCH] pmu/gk20a: PMU boot support.
...struct nvkm_pmu {
> u32 message;
> u32 data[2];
> } recv;
> -
> + wait_queue_head_t init_wq;
> + bool gr_initialised;
> + struct dentry *debugfs;
> + struct pmu_buf_desc *pg_buf;
> + struct pmu_priv_vm *pmuvm;
> int (*message)(struct nvkm_pmu *, u32[2], u32, u32, u32, u32);
> void (*pgob)(struct nvkm_pmu *, bool);
> + int (*pmu_mutex_acquire)(struct nvkm_pmu *, u32 id, u32 *token);
> + int (*pmu_mutex_release)(struct nvkm_pmu *, u32 id, u32 *token);
> +...
2015 Mar 12
2
[PATCH] pmu/gk20a: PMU boot support.
...struct nvkm_pmu {
> u32 message;
> u32 data[2];
> } recv;
> -
> + wait_queue_head_t init_wq;
> + bool gr_initialised;
> + struct dentry *debugfs;
> + struct pmu_buf_desc *pg_buf;
> + struct pmu_priv_vm *pmuvm;
> int (*message)(struct nvkm_pmu *, u32[2], u32, u32, u32, u32);
> void (*pgob)(struct nvkm_pmu *, bool);
> + int (*pmu_mutex_acquire)(struct nvkm_pmu *, u32 id, u32 *token);
> + int (*pmu_mutex_release)(struct nvkm_pmu *, u32 id, u32 *token);
> +...