Displaying 2 results from an estimated 2 matches for "nvblankscreen".
2009 Aug 02
3
[PATCH 1/4] drm/nouveau: refactor VGA font save/restore
...;Restor");
+
+ /* map first 64KiB of VRAM, holds VGA fonts etc */
+ iovram = ioremap(pci_resource_start(dev->pdev, 1), 65536);
+ if (!iovram) {
+ NV_ERROR(dev, "Failed to map VRAM, "
+ "cannot save/restore VGA fonts.\n");
+ return;
+ }
+
if (nv_two_heads(dev))
NVBlankScreen(dev, 1, true);
NVBlankScreen(dev, 0, true);
@@ -573,41 +602,9 @@ nouveau_hw_save_vga_fonts(struct drm_device *dev, bool save)
NVWriteVgaGr(dev, 0, NV_VIO_GX_MODE_INDEX, 0x0);
NVWriteVgaGr(dev, 0, NV_VIO_GX_MISC_INDEX, 0x5);
- /* store font in plane 0 */
- NVWriteVgaSeq(dev, 0, NV_VIO_SR_PLA...
2017 Jul 29
0
[PATCH] nouveau: Fix declarations with incorrect variables.
...e);
static inline bool
nv_two_heads(struct drm_device *dev)
diff --git a/drm/nouveau/dispnv04/hw.h b/drm/nouveau/dispnv04/hw.h
index 3a2be47f..2afda90a 100644
--- a/drm/nouveau/dispnv04/hw.h
+++ b/drm/nouveau/dispnv04/hw.h
@@ -43,7 +43,7 @@ void NVSetOwner(struct drm_device *, int owner);
void NVBlankScreen(struct drm_device *, int head, bool blank);
int nouveau_hw_get_pllvals(struct drm_device *, enum nvbios_pll_type plltype,
struct nvkm_pll_vals *pllvals);
-int nouveau_hw_pllvals_to_clk(struct nvkm_pll_vals *pllvals);
+int nouveau_hw_pllvals_to_clk(struct nvkm_pll_vals *pv);
int nouveau_hw_...