search for: rammap_11_0a_0400

Displaying 1 result from an estimated 1 matches for "rammap_11_0a_0400".

2019 Mar 26
0
[RFC PATCH] drm/nouveau/fb/ram/gk104: move assignment out of condition
...= 0, data = 0; + if (ram->diff.rammap_11_0a_03fe) { data |= cfg->bios.rammap_11_0a_03fe << 12; mask |= 0x001ff000; } @@ -1178,31 +1179,36 @@ gk104_ram_prog_0(struct gk104_ram *ram, u32 freq) } nvkm_mask(device, 0x10f468, mask, data); - if (mask = 0, data = 0, ram->diff.rammap_11_0a_0400) { + mask = 0, data = 0; + if (ram->diff.rammap_11_0a_0400) { data |= cfg->bios.rammap_11_0a_0400; mask |= 0x00000001; } nvkm_mask(device, 0x10f420, mask, data); - if (mask = 0, data = 0, ram->diff.rammap_11_0a_0800) { + mask = 0, data = 0; + if (ram->diff.rammap_11_0a_0800)...