From: "Antonino A. Daplas" <adaplas@pol.net>
To: linux-fbdev-devel@lists.sourceforge.net
Subject: [PATCH]: rivafb DDC2/I2C
Date: Mon, 12 Jan 2004 22:59:04 +0800 (PHT) [thread overview]
Message-ID: <1110.203.177.116.240.1073919544.squirrel@webmail.po.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1541 bytes --]
Hi,
Attached is a patch against linux-2.6.1 + fbdev.diff. (It's another big
patch so it's zipped).
1. fbmon.c
- expanded struct fb_monspecs to include almost information parsed from
the EDID block, including a pointer to a mode database, manufacture,
model, monitor name, serial number, etc.
- as suggested by Ben H., the contents of the EDID block can be
transferred in one go into struct fb_monspecs with the function
fb_edid_to_monspecs(unsigned char *, struct fb_monspecs *)
- show_edid() is depreciated. For verbose edid output, just define DEBUG
in fbmon.c and call fb_edid_to_monspecs().
2. modedb.c
- removed __init for fb_find_mode().
- added extra field (flag) to struct fb_videomode. As I explained in my
previous mail, this field should tell the source of each entry (vesa,
detailed, etc)
3. fbcon.c and softcursor.c
The cursor is corrupted whether with softcursor or hardware cursor :-( I
tried to make some changes without greatly affecting the logic of the
cursor framework, but the changes will probably break some drivers with
hardware cursors.
The logic behind the change is:
In fbcon_cursor(), info->image.mask (mask) is just a bitmap of
(fontwidth)x(fontheight) dimensions which is filled with 1's.
info->cursor.image.data (image) is an "xor" of the bitmap of the current
character and a bitmap of the current cursor.
The final image (in softcursor.c) is then produced by doing *image++ &
*mask++.
3. RIVAFB:
- added DDC/I2C support
- fixed cursor bugs
- fixed accel bugs
Any comments welcome.
Tony
[-- Attachment #2: fb-linux-2.6.1.diff.gz --]
[-- Type: application/x-gzip, Size: 20031 bytes --]
next reply other threads:[~2004-01-12 14:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-12 14:59 Antonino A. Daplas [this message]
2004-01-12 22:50 ` [PATCH]: rivafb DDC2/I2C Benjamin Herrenschmidt
2004-01-12 23:24 ` James Simmons
[not found] ` <20040112173853.GA2176@dreamland.darkstar.lan>
2004-01-13 1:09 ` 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=1110.203.177.116.240.1073919544.squirrel@webmail.po.com \
--to=adaplas@pol.net \
--cc=linux-fbdev-devel@lists.sourceforge.net \
/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;
as well as URLs for NNTP newsgroup(s).