Displaying 1 result from an estimated 1 matches for "nv_pci_vgamem_enable".
2012 Sep 12
1
[PATCH] drm/nouveau: fix early vram corruption originating from vgacon
...eau/nouveau_drm.c
@@ -25,6 +25,7 @@
#include <linux/console.h>
#include <linux/module.h>
#include <linux/pci.h>
+#include <linux/vt_kern.h>
#include <core/device.h>
#include <core/client.h>
@@ -51,6 +52,8 @@
#include "nouveau_ttm.h"
+#define NV_PCI_VGAMEM_ENABLE 0x54
+
MODULE_PARM_DESC(config, "option string to pass to driver core");
static char *nouveau_config;
module_param_named(config, nouveau_config, charp, 0400);
@@ -247,9 +250,20 @@ nouveau_drm_load(struct drm_device *dev, unsigned long flags)
struct nouveau_drm *drm;
int ret;
+ /*...