From: jurriaan <thunder7@xs4all.nl>
To: "Antonino A. Daplas" <adaplas@gmail.com>
Cc: linux-kernel@vger.kernel.org, linux-fbdev-devel@lists.sourceforge.net
Subject: Re: no cursor on nvidiafb console in 2.6.14-rc1-mm1
Date: Wed, 21 Sep 2005 13:32:36 +0200 [thread overview]
Message-ID: <20050921113236.GA4461@amd64.of.nowhere> (raw)
In-Reply-To: <432FE3E0.3020405@gmail.com>
From: Antonino A. Daplas <adaplas@gmail.com>
Date: Tue, Sep 20, 2005 at 06:26:40PM +0800
> Heh, didn't realize that. drivers/video/nvidia/nvidia.c, actually.
> But just apply this patch instead, as a Kconfig change is also
> needed.
>
> Signed-off-by: Antonino Daplas <adaplas@pol.net>
>
> diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
> --- a/drivers/video/Kconfig
> +++ b/drivers/video/Kconfig
> @@ -650,6 +650,7 @@ config FB_NVIDIA
> select FB_CFB_FILLRECT
> select FB_CFB_COPYAREA
> select FB_CFB_IMAGEBLIT
> + select FB_SOFT_CURSOR
> help
> This driver supports graphics boards with the nVidia chips, TNT
> and newer. For very old chipsets, such as the RIVA128, then use
> diff --git a/drivers/video/nvidia/nvidia.c b/drivers/video/nvidia/nvidia.c
> --- a/drivers/video/nvidia/nvidia.c
> +++ b/drivers/video/nvidia/nvidia.c
> @@ -893,7 +893,7 @@ static int nvidiafb_cursor(struct fb_inf
> int i, set = cursor->set;
> u16 fg, bg;
>
> - if (!hwcur || cursor->image.width > MAX_CURS || cursor->image.height > MAX_CURS)
> + if (cursor->image.width > MAX_CURS || cursor->image.height > MAX_CURS)
> return -ENXIO;
>
> NVShowHideCursor(par, 0);
> @@ -1356,6 +1356,9 @@ static int __devinit nvidia_set_fbinfo(s
> info->pixmap.size = 8 * 1024;
> info->pixmap.flags = FB_PIXMAP_SYSTEM;
>
> + if (!hwcur)
> + info->fbops->fb_cursor = soft_cursor;
> +
> info->var.accel_flags = (!noaccel);
>
> switch (par->Architecture) {
>
Thanks, this fixes my problem.
Jurriaan
--
Pine - the outlook of Unix.
Erik Hensema in xs4all.general
Debian (Unstable) GNU/Linux 2.6.14-rc1-mm1 5404 bogomips load 0.58
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
WARNING: multiple messages have this Message-ID (diff)
From: jurriaan <thunder7@xs4all.nl>
To: "Antonino A. Daplas" <adaplas@gmail.com>
Cc: linux-kernel@vger.kernel.org, linux-fbdev-devel@lists.sourceforge.net
Subject: Re: no cursor on nvidiafb console in 2.6.14-rc1-mm1
Date: Wed, 21 Sep 2005 13:32:36 +0200 [thread overview]
Message-ID: <20050921113236.GA4461@amd64.of.nowhere> (raw)
In-Reply-To: <432FE3E0.3020405@gmail.com>
From: Antonino A. Daplas <adaplas@gmail.com>
Date: Tue, Sep 20, 2005 at 06:26:40PM +0800
> Heh, didn't realize that. drivers/video/nvidia/nvidia.c, actually.
> But just apply this patch instead, as a Kconfig change is also
> needed.
>
> Signed-off-by: Antonino Daplas <adaplas@pol.net>
>
> diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
> --- a/drivers/video/Kconfig
> +++ b/drivers/video/Kconfig
> @@ -650,6 +650,7 @@ config FB_NVIDIA
> select FB_CFB_FILLRECT
> select FB_CFB_COPYAREA
> select FB_CFB_IMAGEBLIT
> + select FB_SOFT_CURSOR
> help
> This driver supports graphics boards with the nVidia chips, TNT
> and newer. For very old chipsets, such as the RIVA128, then use
> diff --git a/drivers/video/nvidia/nvidia.c b/drivers/video/nvidia/nvidia.c
> --- a/drivers/video/nvidia/nvidia.c
> +++ b/drivers/video/nvidia/nvidia.c
> @@ -893,7 +893,7 @@ static int nvidiafb_cursor(struct fb_inf
> int i, set = cursor->set;
> u16 fg, bg;
>
> - if (!hwcur || cursor->image.width > MAX_CURS || cursor->image.height > MAX_CURS)
> + if (cursor->image.width > MAX_CURS || cursor->image.height > MAX_CURS)
> return -ENXIO;
>
> NVShowHideCursor(par, 0);
> @@ -1356,6 +1356,9 @@ static int __devinit nvidia_set_fbinfo(s
> info->pixmap.size = 8 * 1024;
> info->pixmap.flags = FB_PIXMAP_SYSTEM;
>
> + if (!hwcur)
> + info->fbops->fb_cursor = soft_cursor;
> +
> info->var.accel_flags = (!noaccel);
>
> switch (par->Architecture) {
>
Thanks, this fixes my problem.
Jurriaan
--
Pine - the outlook of Unix.
Erik Hensema in xs4all.general
Debian (Unstable) GNU/Linux 2.6.14-rc1-mm1 5404 bogomips load 0.58
next prev parent reply other threads:[~2005-09-21 11:33 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-19 17:51 no cursor on nvidiafb console in 2.6.14-rc1-mm1 jurriaan
2005-09-19 18:51 ` Jan Dittmer
2005-09-19 22:07 ` Antonino A. Daplas
2005-09-19 22:07 ` Antonino A. Daplas
2005-09-19 23:31 ` James Simmons
2005-09-19 23:31 ` [Linux-fbdev-devel] " James Simmons
2005-09-20 0:20 ` Antonino A. Daplas
2005-09-20 7:38 ` Jan Dittmer
2005-09-20 10:26 ` Antonino A. Daplas
2005-09-20 10:26 ` Antonino A. Daplas
2005-09-20 16:09 ` Jan Dittmer
2005-09-21 11:32 ` jurriaan [this message]
2005-09-21 11:32 ` jurriaan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050921113236.GA4461@amd64.of.nowhere \
--to=thunder7@xs4all.nl \
--cc=adaplas@gmail.com \
--cc=linux-fbdev-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.