Displaying 1 result from an estimated 1 matches for "rammap_11_0d".
Did you mean:
rammap_11_0e
2019 Mar 26
0
[RFC PATCH] drm/nouveau/fb/ram/gk104: move assignment out of condition
...sk, data);
- if (mask = 0, data = 0, ram->diff.rammap_11_0b_0200) {
+ mask = 0, data = 0;
+ if (ram->diff.rammap_11_0b_0200) {
data |= cfg->bios.rammap_11_0b_0200 << 9;
mask |= 0x00000200;
}
nvkm_mask(device, 0x10f410, mask, data);
- if (mask = 0, data = 0, ram->diff.rammap_11_0d) {
+ mask = 0, data = 0;
+ if (ram->diff.rammap_11_0d) {
data |= cfg->bios.rammap_11_0d << 16;
mask |= 0x00ff0000;
}
@@ -1212,7 +1218,8 @@ gk104_ram_prog_0(struct gk104_ram *ram, u32 freq)
}
nvkm_mask(device, 0x10f440, mask, data);
- if (mask = 0, data = 0, ram->diff.ra...