Commit Graph

7 Commits

Author SHA1 Message Date
Gerd Hoffmann 020bc4fc5c ati-vga: add rage128 edid support
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2019-06-24 14:40:39 +02:00
Gerd Hoffmann af573dceef ati-vga: try vga ddc first
Try vga ddc bus before dvi ddc bus.
Return early in case we got valid data.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2019-06-24 14:39:27 +02:00
Gerd Hoffmann ae9a9796ec ati-vga: make i2c register and bits configurable
Prepare to support other ati cards.  Also log access mode and whenever
we got a valid edid block.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2019-06-24 14:37:40 +02:00
Gerd Hoffmann 136e2612bd ati-vga: fix ati_read()
Cut & paste bug probably.  Had no bad effect so far because the code
doesn't read registers larger than 0x100.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2019-06-24 14:35:38 +02:00
Gerd Hoffmann ce52a31f61 ati-vga: make less verbose
Reduce loglevel for mode line removals from 1 to 3.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2019-06-24 14:35:07 +02:00
Gerd Hoffmann 588eb12163 ati: add edid support.
Read EDID blob via i2c, store in VBE_edid.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2019-05-15 10:11:48 +02:00
Gerd Hoffmann 34b6ecc160 vga: add atiext driver
Supports qemu emulated ati cards.  They have been added in qemu 4.0.
Acceleration support (in qemu) is pretty rough still.  A simple
framebuffer works fine though.

Available models:
 * ati rage 128 pro
 * ati rv100

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2019-03-15 09:59:21 +01:00