Displaying 2 results from an estimated 2 matches for "tunk_3_2".
2013 Jul 18
1
[PATCH 02/11] drm/nv50/pm: Fix last timing register in NVA3+, fix typo in NV50
...eau/nouveau_mem.c
@@ -73,7 +73,8 @@ 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] = (...
2013 Jul 18
0
[PATCH 02/11] drm/nv50/pm: Fix last timing register in NVA3+, fix typo in NV50
...73,8 @@ 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_...