search for: nvc0_fbcon_imageblit

Displaying 10 results from an estimated 10 matches for "nvc0_fbcon_imageblit".

Did you mean: nv50_fbcon_imageblit
2016 Jun 01
1
[Bug 96306] New: BUG: KASAN: slab-out-of-bounds in OUT_RINGp (via nvc0_fbcon_imageblit)
https://bugs.freedesktop.org/show_bug.cgi?id=96306 Bug ID: 96306 Summary: BUG: KASAN: slab-out-of-bounds in OUT_RINGp (via nvc0_fbcon_imageblit) Product: xorg Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Driver/nouveau Assignee: nouveau at lists.freedesktop.org...
2016 Jul 28
0
[PATCH] drm/nouveau/fbcon: fix font width not divisible by 8
...ory accesses") Cc: stable at vger.kernel.org Index: linux-2.6/drivers/gpu/drm/nouveau/nvc0_fbcon.c =================================================================== --- linux-2.6.orig/drivers/gpu/drm/nouveau/nvc0_fbcon.c +++ linux-2.6/drivers/gpu/drm/nouveau/nvc0_fbcon.c @@ -125,7 +125,7 @@ nvc0_fbcon_imageblit(struct fb_info *inf OUT_RING (chan, 0); OUT_RING (chan, image->dy); - dwords = ALIGN(image->width * image->height, 32) >> 5; + dwords = ALIGN(ALIGN(image->width, 8) * image->height, 32) >> 5; while (dwords) { int push = dwords > 2047 ? 2047 : dwords; Ind...
2015 Nov 22
0
nouveau: BUG: KASAN: slab-out-of-bounds in memcpy+0x1d/0x40
...] ? native_sched_clock+0x67/0x140 [<ffffffff8130b1b4>] kasan_report+0x34/0x40 [<ffffffff8130ac3d>] ? memcpy+0x1d/0x40 [<ffffffff8130a9da>] __asan_loadN+0x12a/0x180 [<ffffffff8130ac3d>] memcpy+0x1d/0x40 [<ffffffff82015b25>] OUT_RINGp+0x75/0x90 [<ffffffff82011572>] nvc0_fbcon_imageblit+0x462/0x6c0 [<ffffffff8200bd2d>] nouveau_fbcon_imageblit+0xfd/0x110 [<ffffffff81956a16>] soft_cursor+0x2f6/0x400 [<ffffffff81955e64>] bit_cursor+0xb14/0xb60 [<ffffffff81955350>] ? update_attr.isra.0+0xc0/0xc0 [<ffffffff8194b203>] ? fb_flashcursor+0x33/0x1b0 [<ffffff...
2014 Feb 15
3
[RFC PATCH] drm/nouveau: split off nvc0 compilation
...ct fb_info *info, const struct fb_image *image); int nv50_fbcon_accel_init(struct fb_info *info); +#ifdef CONFIG_DRM_NOUVEAU_NVC0 int nvc0_fbcon_fillrect(struct fb_info *info, const struct fb_fillrect *rect); int nvc0_fbcon_copyarea(struct fb_info *info, const struct fb_copyarea *region); int nvc0_fbcon_imageblit(struct fb_info *info, const struct fb_image *image); int nvc0_fbcon_accel_init(struct fb_info *info); +#else +#define _STUB(name, type) \ +static inline int name(struct fb_info *info, const struct type *t) \ +{ \ + return -ENODEV; \ +} +_STUB(nvc0_fbcon_fillrect, fb_fillrect) +_STUB(nvc0_fbcon_cop...
2014 Feb 15
0
[RFC PATCH] drm/nouveau: split off nvc0 compilation
...ct fb_image *image); > int nv50_fbcon_accel_init(struct fb_info *info); > > +#ifdef CONFIG_DRM_NOUVEAU_NVC0 > int nvc0_fbcon_fillrect(struct fb_info *info, const struct fb_fillrect *rect); > int nvc0_fbcon_copyarea(struct fb_info *info, const struct fb_copyarea *region); > int nvc0_fbcon_imageblit(struct fb_info *info, const struct fb_image *image); > int nvc0_fbcon_accel_init(struct fb_info *info); > +#else > +#define _STUB(name, type) \ > +static inline int name(struct fb_info *info, const struct type *t) \ > +{ \ > + return -ENODEV; \ > +} > +_STUB(nvc0_fbco...
2023 Jan 09
1
[PATCH] drm/nouveau: Remove file nouveau_fbcon.c
...D) && - mutex_trylock(&drm->client.mutex)) { - if (device->info.family < NV_DEVICE_INFO_V0_TESLA) - ret = nv04_fbcon_imageblit(info, image); - else - if (device->info.family < NV_DEVICE_INFO_V0_FERMI) - ret = nv50_fbcon_imageblit(info, image); - else - ret = nvc0_fbcon_imageblit(info, image); - mutex_unlock(&drm->client.mutex); - } - - if (ret == 0) - return; - - if (ret != -ENODEV) - nouveau_fbcon_gpu_lockup(info); - drm_fb_helper_cfb_imageblit(info, image); -} - -static int -nouveau_fbcon_sync(struct fb_info *info) -{ - struct nouveau_fbdev *fbcon = info->pa...
2023 Jan 09
1
[PATCH] drm/nouveau: Remove file nouveau_fbcon.c
...- ret = nv04_fbcon_imageblit(info, image); > - else > - if (device->info.family < NV_DEVICE_INFO_V0_FERMI) > - ret = nv50_fbcon_imageblit(info, image); > - else > - ret = nvc0_fbcon_imageblit(info, image); > - mutex_unlock(&drm->client.mutex); > - } > - > - if (ret == 0) > - return; > - > - if (ret != -ENODEV) > - nouveau_fbcon_gpu_lockup(info); > - drm_fb_helper_cfb_imageblit(info, image...
2023 Jan 09
1
[PATCH] drm/nouveau: Remove file nouveau_fbcon.c
...ret = nv04_fbcon_imageblit(info, image); >> - else >> - if (device->info.family < NV_DEVICE_INFO_V0_FERMI) >> - ret = nv50_fbcon_imageblit(info, image); >> - else >> - ret = nvc0_fbcon_imageblit(info, image); >> - mutex_unlock(&drm->client.mutex); >> - } >> - >> - if (ret == 0) >> - return; >> - >> - if (ret != -ENODEV) >> - nouveau_fbcon_gpu_lockup(info); >> - drm...
2023 Jan 10
1
[PATCH v2] drm/nouveau: Remove file nouveau_fbcon.c
...D) && - mutex_trylock(&drm->client.mutex)) { - if (device->info.family < NV_DEVICE_INFO_V0_TESLA) - ret = nv04_fbcon_imageblit(info, image); - else - if (device->info.family < NV_DEVICE_INFO_V0_FERMI) - ret = nv50_fbcon_imageblit(info, image); - else - ret = nvc0_fbcon_imageblit(info, image); - mutex_unlock(&drm->client.mutex); - } - - if (ret == 0) - return; - - if (ret != -ENODEV) - nouveau_fbcon_gpu_lockup(info); - drm_fb_helper_cfb_imageblit(info, image); -} - -static int -nouveau_fbcon_sync(struct fb_info *info) -{ - struct nouveau_fbdev *fbcon = info->pa...
2014 Mar 23
0
[PATCH] drm/nouveau: allow nv04/nv50/nvc0+ parts of the driver to be separated
...ge) +static inline int nv50_fbcon_accel_init(struct fb_info *info) +{ + return -ENODEV; +} +#endif +#ifdef CONFIG_DRM_NOUVEAU_NVC0 int nvc0_fbcon_fillrect(struct fb_info *info, const struct fb_fillrect *rect); int nvc0_fbcon_copyarea(struct fb_info *info, const struct fb_copyarea *region); int nvc0_fbcon_imageblit(struct fb_info *info, const struct fb_image *image); int nvc0_fbcon_accel_init(struct fb_info *info); +#else +_STUB(nvc0_fbcon_fillrect, fb_fillrect) +_STUB(nvc0_fbcon_copyarea, fb_copyarea) +_STUB(nvc0_fbcon_imageblit, fb_image) +static inline int nvc0_fbcon_accel_init(struct fb_info *info) +{ +...