search for: vc_allocate

Displaying 13 results from an estimated 13 matches for "vc_allocate".

2020 Oct 28
1
[PATCH] fbcon: Disable accelerated scrolling
...llmode will start the delete feast. In fbcon alone I think we can drop half the code. -Daniel > > In any case > > Reviewed-by: Thomas Zimmermann <tzimmermann at suse.de> > > Best regards > Thomas > > > > > /* > > * ++guenther: console.c:vc_allocate() relies on initializing > > @@ -1961,7 +1963,6 @@ static void updatescrollmode(struct fbcon_display *p, > > { > > struct fbcon_ops *ops = info->fbcon_par; > > int fh = vc->vc_font.height; > > - int cap = info->flags; > > u16 t = 0...
2005 Dec 18
1
Debian DomU with physdev access init kernel crash ....
...0001 c003bef4 Call Trace: [<c0109faf>] show_stack+0x7f/0xa0 [<c010a14f>] show_registers+0x15f/0x1e0 [<c010a384>] die+0xf4/0x180 [<c01155e4>] do_page_fault+0x4b4/0x761 [<c0109c37>] error_code+0x2b/0x30 [<c020543f>] vc_allocate+0x8f/0x150 [<c02083d8>] con_open+0x48/0xb0 [<c01f8b60>] tty_open+0x1b0/0x330 [<c016d3f3>] chrdev_open+0xb3/0x1a0 [<c016271b>] dentry_open+0x19b/0x210 [<c016257a>] filp_open+0x5a/0x60 [<c0162996>] sys_open+0x46/0x90...
2005 Dec 18
1
Debian DomU with physdev access init kernel crash ....
...0001 c003bef4 Call Trace: [<c0109faf>] show_stack+0x7f/0xa0 [<c010a14f>] show_registers+0x15f/0x1e0 [<c010a384>] die+0xf4/0x180 [<c01155e4>] do_page_fault+0x4b4/0x761 [<c0109c37>] error_code+0x2b/0x30 [<c020543f>] vc_allocate+0x8f/0x150 [<c02083d8>] con_open+0x48/0xb0 [<c01f8b60>] tty_open+0x1b0/0x330 [<c016d3f3>] chrdev_open+0xb3/0x1a0 [<c016271b>] dentry_open+0x19b/0x210 [<c016257a>] filp_open+0x5a/0x60 [<c0162996>] sys_open+0x46/0x90...
2020 Oct 29
4
[PATCH 1/3] fbcon: Disable accelerated scrolling
...L_MOVE; - else /* default to something safe */ - p->scrollmode = SCROLL_REDRAW; + /* + * No more hw acceleration for fbcon. + * + * FIXME: Garbage collect all the now dead code after sufficient time + * has passed. + */ + p->scrollmode = SCROLL_REDRAW; /* * ++guenther: console.c:vc_allocate() relies on initializing @@ -1961,45 +1963,15 @@ static void updatescrollmode(struct fbcon_display *p, { struct fbcon_ops *ops = info->fbcon_par; int fh = vc->vc_font.height; - int cap = info->flags; - u16 t = 0; - int ypan = FBCON_SWAP(ops->rotate, info->fix.ypanstep, - in...
2020 Oct 28
0
[PATCH] fbcon: Disable accelerated scrolling
...*/ > + p->scrollmode = SCROLL_REDRAW; I just grepped for scrollmode and there aren't many places that use it. Could you remove it as well? In any case Reviewed-by: Thomas Zimmermann <tzimmermann at suse.de> Best regards Thomas > > /* > * ++guenther: console.c:vc_allocate() relies on initializing > @@ -1961,7 +1963,6 @@ static void updatescrollmode(struct fbcon_display *p, > { > struct fbcon_ops *ops = info->fbcon_par; > int fh = vc->vc_font.height; > - int cap = info->flags; > u16 t = 0; > int ypan = FBCON_SWAP(ops->rotate,...
2020 Oct 29
0
[PATCH] fbcon: Disable accelerated scrolling
...L_MOVE; - else /* default to something safe */ - p->scrollmode = SCROLL_REDRAW; + /* + * No more hw acceleration for fbcon. + * + * FIXME: Garbage collect all the now dead code after sufficient time + * has passed. + */ + p->scrollmode = SCROLL_REDRAW; /* * ++guenther: console.c:vc_allocate() relies on initializing @@ -1961,45 +1962,15 @@ static void updatescrollmode(struct fbcon_display *p, { struct fbcon_ops *ops = info->fbcon_par; int fh = vc->vc_font.height; - int cap = info->flags; - u16 t = 0; - int ypan = FBCON_SWAP(ops->rotate, info->fix.ypanstep, - in...
2020 Oct 28
8
[PATCH] fbcon: Disable accelerated scrolling
...L_MOVE; - else /* default to something safe */ - p->scrollmode = SCROLL_REDRAW; + /* + * No more hw acceleration for fbcon. + * + * FIXME: Garabge collect all the now dead code after sufficient time + * has passed. + */ + p->scrollmode = SCROLL_REDRAW; /* * ++guenther: console.c:vc_allocate() relies on initializing @@ -1961,7 +1963,6 @@ static void updatescrollmode(struct fbcon_display *p, { struct fbcon_ops *ops = info->fbcon_par; int fh = vc->vc_font.height; - int cap = info->flags; u16 t = 0; int ypan = FBCON_SWAP(ops->rotate, info->fix.ypanstep, info...
2011 Jan 20
1
[PATCH] change acquire/release_console_sem() to console_lock/unlock()
...t_cursor(vc); - release_console_sem(); + console_unlock(); } /* @@ -2805,7 +2805,7 @@ static int con_open(struct tty_struct *tty, struct file *filp) unsigned int currcons = tty->index; int ret = 0; - acquire_console_sem(); + console_lock(); if (tty->driver_data == NULL) { ret = vc_allocate(currcons); if (ret == 0) { @@ -2813,7 +2813,7 @@ static int con_open(struct tty_struct *tty, struct file *filp) /* Still being freed */ if (vc->port.tty) { - release_console_sem(); + console_unlock(); return -ERESTARTSYS; } tty->driver_data = vc; @@ -2827,11 +2...
2011 Jan 20
1
[PATCH] change acquire/release_console_sem() to console_lock/unlock()
...t_cursor(vc); - release_console_sem(); + console_unlock(); } /* @@ -2805,7 +2805,7 @@ static int con_open(struct tty_struct *tty, struct file *filp) unsigned int currcons = tty->index; int ret = 0; - acquire_console_sem(); + console_lock(); if (tty->driver_data == NULL) { ret = vc_allocate(currcons); if (ret == 0) { @@ -2813,7 +2813,7 @@ static int con_open(struct tty_struct *tty, struct file *filp) /* Still being freed */ if (vc->port.tty) { - release_console_sem(); + console_unlock(); return -ERESTARTSYS; } tty->driver_data = vc; @@ -2827,11 +2...
2011 Jan 20
1
[PATCH] change acquire/release_console_sem() to console_lock/unlock()
...t_cursor(vc); - release_console_sem(); + console_unlock(); } /* @@ -2805,7 +2805,7 @@ static int con_open(struct tty_struct *tty, struct file *filp) unsigned int currcons = tty->index; int ret = 0; - acquire_console_sem(); + console_lock(); if (tty->driver_data == NULL) { ret = vc_allocate(currcons); if (ret == 0) { @@ -2813,7 +2813,7 @@ static int con_open(struct tty_struct *tty, struct file *filp) /* Still being freed */ if (vc->port.tty) { - release_console_sem(); + console_unlock(); return -ERESTARTSYS; } tty->driver_data = vc; @@ -2827,11 +2...
2020 Oct 31
2
[PATCH] fbcon: Disable accelerated scrolling
...- p->scrollmode = SCROLL_REDRAW; > + /* > + * No more hw acceleration for fbcon. > + * > + * FIXME: Garbage collect all the now dead code after sufficient time > + * has passed. > + */ > + p->scrollmode = SCROLL_REDRAW; > > /* > * ++guenther: console.c:vc_allocate() relies on initializing > @@ -1961,45 +1962,15 @@ static void updatescrollmode(struct fbcon_display *p, > { > struct fbcon_ops *ops = info->fbcon_par; > int fh = vc->vc_font.height; > - int cap = info->flags; > - u16 t = 0; > - int ypan = FBCON_SWAP(ops->rotate,...
2006 Oct 09
1
Vorbis primitive API examples (LONG)
...op_allocated; /* // Vorbis data structures // FIXME: These should probably get a *_create or similar so that // they don't have to be manually managed but instead are managed // by the system. */ vorbis_info vi_allocated; vorbis_info* vi = &vi_allocated; vorbis_comment vc_allocated; vorbis_comment* vc = &vc_allocated; vorbis_dsp_state vd_allocated; vorbis_dsp_state* vd = &vd_allocated; vorbis_block vb_allocated; vorbis_block *vb = &vb_allocated; /* // CAUTION: Just about anything you do wrong pops a bus error. // You need to be fairly aggressi...
2020 Oct 31
0
[PATCH] fbcon: Disable accelerated scrolling
...cceleration for fbcon. > > + * > > + * FIXME: Garbage collect all the now dead code after sufficient time > > + * has passed. > > + */ > > + p->scrollmode = SCROLL_REDRAW; > > > > /* > > * ++guenther: console.c:vc_allocate() relies on initializing > > @@ -1961,45 +1962,15 @@ static void updatescrollmode(struct fbcon_display *p, > > { > > struct fbcon_ops *ops = info->fbcon_par; > > int fh = vc->vc_font.height; > > - int cap = info->flags; > > - u16 t =...