linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH]: rivafb DDC2/I2C
@ 2004-01-12 14:59 Antonino A. Daplas
  2004-01-12 22:50 ` Benjamin Herrenschmidt
       [not found] ` <20040112173853.GA2176@dreamland.darkstar.lan>
  0 siblings, 2 replies; 4+ messages in thread
From: Antonino A. Daplas @ 2004-01-12 14:59 UTC (permalink / raw)
  To: linux-fbdev-devel

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-01-13  1:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-12 14:59 [PATCH]: rivafb DDC2/I2C Antonino A. Daplas
2004-01-12 22:50 ` Benjamin Herrenschmidt
2004-01-12 23:24   ` James Simmons
     [not found] ` <20040112173853.GA2176@dreamland.darkstar.lan>
2004-01-13  1:09   ` Antonino A. Daplas

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).