search for: nouveau_fbcon_par

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

2009 Dec 27
1
[PATCH] drm/nouveau: create function for "dealing" with gpu lockup
...\n"); - info->flags |= FBINFO_HWACCEL_DISABLED; + NV_GPU_LOCKUP(info); return 0; } @@ -380,3 +378,12 @@ nouveau_fbcon_remove(struct drm_device *dev, struct drm_framebuffer *fb) return 0; } + +void nouveau_gpu_lockup(struct fb_info *info, const char *file, int line) +{ + struct nouveau_fbcon_par *par = info->par; + struct drm_device *dev = par->dev; + + NV_ERROR(dev, "GPU lockup - switching to software fbcon (%s:%d)\n", file, line); + info->flags |= FBINFO_HWACCEL_DISABLED; +} diff --git a/drivers/gpu/drm/nouveau/nouveau_fbcon.h b/drivers/gpu/drm/nouveau/nouveau_fbcon.h...