Displaying 2 results from an estimated 2 matches for "8e7dc1d".
2010 Jun 07
1
Building Nouveau DRM for a recent kernel (linux-2.6.35-rc1)
...knowledge of how the driver works, I'm not
certain if this is a proper fix, but it seems to work.
I'm curious if there's a better solution, or if my solution breaks in all
other cases.
diff --git a/drivers/gpu/drm/nouveau/nouveau_fbcon.c
b/drivers/gpu/drm/nouveau/nouveau_fbcon.c
index 8e7dc1d..3943a00 100644
--- a/drivers/gpu/drm/nouveau/nouveau_fbcon.c
+++ b/drivers/gpu/drm/nouveau/nouveau_fbcon.c
@@ -317,6 +317,9 @@ nouveau_fbcon_create(struct drm_device *dev,
uint32_t fb_width,
info->fix.mmio_len = pci_resource_len(dev->pdev, 1);
/* Set aperture base/size for vesafb takeov...
2010 May 16
0
[PATCH v3 1/3] fbdev: allow passing more than one aperture for handoff
...0);
+ info->apertures->ranges[0].size = pci_resource_len(dev->pdev, 0);
info->fix.smem_start = dev->mode_config.fb_base + obj_priv->gtt_offset;
info->fix.smem_len = size;
diff --git a/drivers/gpu/drm/nouveau/nouveau_fbcon.c b/drivers/gpu/drm/nouveau/nouveau_fbcon.c
index 8e7dc1d..6b2d5ab 100644
--- a/drivers/gpu/drm/nouveau/nouveau_fbcon.c
+++ b/drivers/gpu/drm/nouveau/nouveau_fbcon.c
@@ -160,44 +160,6 @@ static struct drm_fb_helper_funcs nouveau_fbcon_helper_funcs = {
.gamma_get = nouveau_fbcon_gamma_get
};
-#if defined(__i386__) || defined(__x86_64__)
-static bool
-...