From: "Antonino A. Daplas" <adaplas@gmail.com>
To: "David Härdeman" <david@2gen.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: X and intelfb fight over videomode
Date: Thu, 17 Nov 2005 12:49:54 +0800 [thread overview]
Message-ID: <437C0BF2.4010400@gmail.com> (raw)
In-Reply-To: <20051117014558.GA30088@hardeman.nu>
David Härdeman wrote:
> On Thu, Nov 17, 2005 at 09:11:53AM +0800, Antonino A. Daplas wrote:
>> David Härdeman wrote:
>>> intelfb: Changing the video mode is not supported.
>
>
> Suggestions?
Ignore the hack I mentioned in the previous thread. Try this patch instead.
Tony
--- a/drivers/video/intelfb/intelfbdrv.c
+++ b/drivers/video/intelfb/intelfbdrv.c
@@ -1283,6 +1283,14 @@ intelfb_set_par(struct fb_info *info)
if (FIXED_MODE(dinfo)) {
ERR_MSG("Changing the video mode is not supported.\n");
+
+ /*
+ * We need to at least initialize the 2D engine even
+ * if changing the mode is not allowed
+ */
+ if (ACCEL(dinfo, info))
+ intelfbhw_2d_start(dinfo);
+
return -EINVAL;
}
next prev parent reply other threads:[~2005-11-17 4:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-17 0:01 X and intelfb fight over videomode David Härdeman
2005-11-17 1:11 ` Antonino A. Daplas
2005-11-17 1:45 ` David Härdeman
2005-11-17 2:03 ` Antonino A. Daplas
2005-11-17 4:49 ` Antonino A. Daplas [this message]
2005-11-17 23:45 ` David Härdeman
2005-11-18 1:08 ` Antonino A. Daplas
2005-11-18 18:36 ` David Härdeman
2005-11-18 20:32 ` Antonino A. Daplas
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=437C0BF2.4010400@gmail.com \
--to=adaplas@gmail.com \
--cc=david@2gen.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox