search for: ucode_image

Displaying 6 results from an estimated 6 matches for "ucode_image".

2015 Apr 08
3
[PATCH V2] pmu/gk20a: PMU boot support.
...msg_type; + u8 unit_id; +}; + +struct pmu_rc_msg { + u8 msg_type; + struct pmu_rc_msg_unhandled_cmd unhandled_cmd; +}; + +struct pmu_msg { + struct pmu_hdr hdr; + union { + struct pmu_init_msg init; + struct pmu_rc_msg rc; + } msg; +}; + #define BUSY_SLOT 0 #define CLK_SLOT 7 +#define GK20A_PMU_UCODE_IMAGE "gpmu_ucode.bin" struct gk20a_pmu_dvfs_data { int p_load_target; @@ -39,8 +206,22 @@ 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_...
2015 Apr 13
3
[PATCH v4] pmu/gk20a: PMU boot support
...efine PMU_UNIT_TEST_START (0xFE) +#define PMU_UNIT_END_SIM (0xFF) +#define PMU_UNIT_TEST_END (0xFF) + +#define PMU_UNIT_ID_IS_VALID(id) \ + (((id) < PMU_UNIT_END) || ((id) >= PMU_UNIT_TEST_START)) +#define PMU_DMEM_ALIGNMENT (4) + #define BUSY_SLOT 0 #define CLK_SLOT 7 +#define GK20A_PMU_UCODE_IMAGE "gpmu_ucode.bin" + +/*Choices for DMA to use*/ +enum { + GK20A_PMU_DMAIDX_UCODE = 0, + GK20A_PMU_DMAIDX_VIRT = 1, + GK20A_PMU_DMAIDX_PHYS_VID = 2, + GK20A_PMU_DMAIDX_PHYS_SYS_COH = 3, + GK20A_PMU_DMAIDX_PHYS_SYS_NCOH = 4, + GK20A_PMU_DMAIDX_RSVD = 5, + GK20A_PMU_DMAIDX_PELPG = 6, + GK...
2015 Apr 30
2
[PATCH v4] pmu/gk20a: PMU boot support
...+#define PMU_UNIT_ID_IS_VALID(id) \ >> + (((id) < PMU_UNIT_END) || ((id) >= PMU_UNIT_TEST_START)) >> +#define PMU_DMEM_ALIGNMENT (4) >> + >> #define BUSY_SLOT 0 >> #define CLK_SLOT 7 >> +#define GK20A_PMU_UCODE_IMAGE "gpmu_ucode.bin" >> + >> +/*Choices for DMA to use*/ >> +enum { >> + GK20A_PMU_DMAIDX_UCODE = 0, >> + GK20A_PMU_DMAIDX_VIRT = 1, >> + GK20A_PMU_DMAIDX_PHYS_VID = 2, >> + GK20A_PMU_DMAIDX_PHYS_SYS_C...
2015 Mar 11
3
[PATCH] pmu/gk20a: PMU boot support.
...t; +#include <linux/module.h> +#include <linux/debugfs.h> +#include <linux/dma-mapping.h> +#include <linux/uaccess.h> #include <subdev/clk.h> #include <subdev/timer.h> #include <subdev/volt.h> #define BUSY_SLOT 0 #define CLK_SLOT 7 +#define GK20A_PMU_UCODE_IMAGE "gpmu_ucode.bin" + +static int falc_trace_show(struct seq_file *s, void *data); +static int falc_trace_open(struct inode *inode, struct file *file) +{ + return single_open(file, falc_trace_show, inode->i_private); +} +static const struct file_operations falc_trace_fops = { + .open = f...
2015 Mar 11
0
[PATCH] pmu/gk20a: PMU boot support.
...x/debugfs.h> > +#include <linux/dma-mapping.h> > +#include <linux/uaccess.h> > #include <subdev/clk.h> > #include <subdev/timer.h> > #include <subdev/volt.h> > > #define BUSY_SLOT 0 > #define CLK_SLOT 7 > +#define GK20A_PMU_UCODE_IMAGE "gpmu_ucode.bin" > + > +static int falc_trace_show(struct seq_file *s, void *data); > +static int falc_trace_open(struct inode *inode, struct file *file) > +{ > + return single_open(file, falc_trace_show, inode->i_private); > +} > +static const struct file_o...
2015 Mar 12
2
[PATCH] pmu/gk20a: PMU boot support.
...x/debugfs.h> > +#include <linux/dma-mapping.h> > +#include <linux/uaccess.h> > #include <subdev/clk.h> > #include <subdev/timer.h> > #include <subdev/volt.h> > > #define BUSY_SLOT 0 > #define CLK_SLOT 7 > +#define GK20A_PMU_UCODE_IMAGE "gpmu_ucode.bin" > + > +static int falc_trace_show(struct seq_file *s, void *data); > +static int falc_trace_open(struct inode *inode, struct file *file) > +{ > + return single_open(file, falc_trace_show, inode->i_private); > +} > +static const struct file_o...