search for: rammap_11_0a_03fe

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

2019 Mar 26
0
[RFC PATCH] drm/nouveau/fb/ram/gk104: move assignment out of condition
...e7..885c24d 100644 --- a/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c @@ -1168,7 +1168,8 @@ gk104_ram_prog_0(struct gk104_ram *ram, u32 freq) if (&cfg->head == &ram->cfg) return; - if (mask = 0, data = 0, ram->diff.rammap_11_0a_03fe) { + mask = 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...