search for: bit_table

Displaying 5 results from an estimated 5 matches for "bit_table".

2009 Nov 19
2
[RFC] nouveau: Add basic i2c sensor chip support
...; + + parse_bit_temp_tbl_entry(dev, bios, temp_tbl_ptr); + + return 0; +} + static int parse_bit_tmds_tbl_entry(struct drm_device *dev, struct nvbios *bios, struct bit_entry *bitentry) { /* @@ -4675,6 +4724,7 @@ static int parse_bit_structure(struct drm_device *dev, struct nvbios *bios, parse_bit_table(dev, bios, bitoffset, &BIT_TABLE('L', lvds)); parse_bit_table(dev, bios, bitoffset, &BIT_TABLE('T', tmds)); parse_bit_table(dev, bios, bitoffset, &BIT_TABLE('U', U)); + parse_bit_table(dev, bios, bitoffset, &BIT_TABLE('P', performance)); retur...
2013 Jul 18
1
[PATCH 02/11] drm/nv50/pm: Fix last timing register in NVA3+, fix typo in NV50
...nv50_mem_timing_calc(struct drm_device *dev, u32 freq, struct nouveau_fb *pfb = nouveau_fb(device); struct nouveau_drm *drm = nouveau_drm(dev); struct bit_entry P; - uint8_t unk18 = 1, unk20 = 0, unk21 = 0, tmp7_3; + uint8_t unk18 = 1, unk20 = 0, unk21 = 0, tUnk_3_2; + int tUNK_base; if (bit_table(dev, 'P', &P)) return -EINVAL; @@ -91,6 +92,11 @@ nv50_mem_timing_calc(struct drm_device *dev, u32 freq, break; } + tUnk_3_2 = (boot->reg[3] & 0x00ff0000) >> 16; + if(tUnk_3_2 == 0) { + tUnk_3_2 = 0x16; + } + t->reg[0] = (e->tRP << 24 | e->tRAS &...
2013 Jul 18
0
[PATCH 02/11] drm/nv50/pm: Fix last timing register in NVA3+, fix typo in NV50
...u32 freq, > struct nouveau_fb *pfb = nouveau_fb(device); > struct nouveau_drm *drm = nouveau_drm(dev); > struct bit_entry P; > - uint8_t unk18 = 1, unk20 = 0, unk21 = 0, tmp7_3; > + uint8_t unk18 = 1, unk20 = 0, unk21 = 0, tUnk_3_2; > + int tUNK_base; > > if (bit_table(dev, 'P', &P)) > return -EINVAL; > @@ -91,6 +92,11 @@ nv50_mem_timing_calc(struct drm_device *dev, u32 freq, > break; > } > > + tUnk_3_2 = (boot->reg[3] & 0x00ff0000) >> 16; > + if(tUnk_3_2 == 0) { > + tUnk_3_2 = 0x16; > + } > +...
2012 Jun 25
1
[PATCH 1/2] drm/nouveau/pm: Prepare for more GDDR5 MR values
v2: style fixes Signed-off-by: Roy Spliet <r.spliet at student.tudelft.nl> --- drivers/gpu/drm/nouveau/nouveau_drv.h | 2 +- drivers/gpu/drm/nouveau/nouveau_mem.c | 25 +++++++++++++++++++------ 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.h b/drivers/gpu/drm/nouveau/nouveau_drv.h index b8fa77d..fe242a3 100644 ---
2012 May 20
16
nouveau_subdev & misc patches
Hello all, this series includes a wide range of fixes - from a few month's old one-liners from Andreas Heider regarding vga_switcheroo, via a null pointer dereference and double memory allocation, to a buffer overflow. Please review and comment --- drivers/gpu/drm/nouveau/nouveau_acpi.c | 3 ++- drivers/gpu/drm/nouveau/nouveau_device.c | 26 +++++++++++++++-----------