All of lore.kernel.org
 help / color / mirror / Atom feed
* [radeon] EDID checksum is invalid
@ 2011-12-05 20:39 Alexander Beregalov
  2011-12-06 13:50 ` Alex Deucher
  2011-12-06 17:52 ` Adam Jackson
  0 siblings, 2 replies; 3+ messages in thread
From: Alexander Beregalov @ 2011-12-05 20:39 UTC (permalink / raw)
  To: dri-devel

Hi

3.2.0-rc3-00015-gaaa0b4f

dmesg |egrep "drm|radeon"

Command line: root=/dev/sda2 radeon.modeset=1 ro
Kernel command line: root=/dev/sda2 radeon.modeset=1 ro
[drm] Initialized drm 1.1.0 20060810
[drm] radeon kernel modesetting enabled.
radeon 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
radeon 0000:01:00.0: setting latency timer to 64
[drm] initializing kernel modesetting (RV730 0x1002:0x9490 0x174B:0xE100).
[drm] register mmio base: 0xF5000000
[drm] register mmio size: 65536
radeon 0000:01:00.0: VRAM: 512M 0x0000000000000000 -
0x000000001FFFFFFF (512M used)
radeon 0000:01:00.0: GTT: 512M 0x0000000020000000 - 0x000000003FFFFFFF
[drm] Detected VRAM RAM=512M, BAR=256M
[drm] RAM width 128bits DDR
[drm] radeon: 512M of VRAM memory ready
[drm] radeon: 512M of GTT memory ready.
[drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[drm] Driver supports precise vblank timestamp query.
radeon 0000:01:00.0: irq 46 for MSI/MSI-X
radeon 0000:01:00.0: radeon: using MSI.
[drm] radeon: irq initialized.
[drm] GART: num cpu pages 131072, num gpu pages 131072
[drm] Loading RV730 Microcode
[drm] PCIE GART of 512M enabled (table at 0x0000000000040000).
radeon 0000:01:00.0: WB enabled
[drm] ring test succeeded in 0 usecs
[drm] radeon: ib pool ready.
[drm] ib test succeeded in 0 usecs
[drm] Radeon Display Connectors
[drm] Connector 0:
[drm]   VGA
[drm]   DDC: 0x7e20 0x7e20 0x7e24 0x7e24 0x7e28 0x7e28 0x7e2c 0x7e2c
[drm]   Encoders:
[drm]     CRT2: INTERNAL_KLDSCP_DAC2
[drm] Connector 1:
[drm]   HDMI-A
[drm]   HPD2
[drm]   DDC: 0x7f10 0x7f10 0x7f14 0x7f14 0x7f18 0x7f18 0x7f1c 0x7f1c
[drm]   Encoders:
[drm]     DFP2: INTERNAL_UNIPHY1
[drm] Connector 2:
[drm]   DVI-I
[drm]   HPD1
[drm]   DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 0x7e4c 0x7e4c
[drm]   Encoders:
[drm]     CRT1: INTERNAL_KLDSCP_DAC1
[drm]     DFP1: INTERNAL_UNIPHY
[drm] Internal thermal controller with fan control
[drm] radeon: power management initialized
[drm] fb mappable at 0xE0142000
[drm] vram apper at 0xE0000000
[drm] size 5242880
[drm] fb depth is 24
[drm]    pitch is 5120
fbcon: radeondrmfb (fb0) is primary device
fb0: radeondrmfb frame buffer device
drm: registered panic notifier
[drm] Initialized radeon 2.12.0 20080528 for 0000:01:00.0 on minor 0

At boot time:
[drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid, remainder is 206
 Raw EDID:
        27 0f 01 03 80 26 1e 78 2a de 95 a3 54 4c 99 26
        0f 50 54 bf ef 80 81 80 81 40 71 4f 01 01 01 01
        01 01 01 01 01 01 30 2a 00 98 51 00 2a 40 30 70
        13 00 78 2d 11 00 00 1e 00 00 00 fd 00 38 4b 1e
        51 0e 00 0a 20 20 20 20 20 20 00 00 00 fc 00 53
        79 6e 63 4d 61 73 74 65 72 0a 20 20 00 00 00 ff
        00 48 53 47 59 39 30 37 30 33 32 0a 20 20 00 59
        ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 [drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid, remainder is 128
 Raw EDID:
        ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff

Few days after that:
[drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid, remainder is 38
 Raw EDID:
        30 2a 00 98 51 00 2a 40 30 70 13 00 78 2d 11 00
        00 1e 00 00 00 fd 00 38 4b 1e 51 0e 00 0a 20 20
        20 20 20 20 00 00 00 fc 00 53 79 6e 63 4d 61 73
        74 65 72 0a 20 20 00 00 00 ff 00 48 53 47 59 39
        30 37 30 33 32 0a 20 20 00 59 ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff

Card is
ATI Technologies Inc RV730XT [Radeon HD 4670] [1002:9490] (prog-if 00
[VGA controller])


get-edid |parse-edid


get-edid: get-edid version 2.0.0

        Performing real mode VBE call
        Interrupt 0x10 ax=0x4f00 bx=0x0 cx=0x0
        Function supported
        Call successful

        VBE version 300
        VBE string at 0xc01dc "ATI ATOMBIOS"

VBE/DDC service about to be called
        Report DDC capabilities

        Performing real mode VBE call
        Interrupt 0x10 ax=0x4f15 bx=0x0 cx=0x0
        Function supported
        Call successful

        Monitor and video card combination does not support DDC1 transfers
        Monitor and video card combination supports DDC2 transfers
        0 seconds per 128 byte EDID block transfer
        Screen is not blanked during DDC transfer

Reading next EDID block

VBE/DDC service about to be called
        Read EDID

        Performing real mode VBE call
        Interrupt 0x10 ax=0x4f15 bx=0x1 cx=0x0
        Function supported
        Call successful

parse-edid: EDID checksum passed.

        # EDID version 1 revision 3
Section "Monitor"
        # Block type: 2:0 3:fd
        # Block type: 2:0 3:fc
        Identifier "SyncMaster"
        VendorName "SAM"
        ModelName "SyncMaster"
        # Block type: 2:0 3:fd
        HorizSync 30-81
        VertRefresh 56-75
        # Max dot clock (video bandwidth) 140 MHz
        # Block type: 2:0 3:fc
        # Block type: 2:0 3:ff
        # DPMS capabilities: Active off:yes  Suspend:no  Standby:no

        Mode    "1280x1024"     # vfreq 60.020Hz, hfreq 63.981kHz
                DotClock        108.000000
                HTimings        1280 1328 1440 1688
                VTimings        1024 1025 1028 1066
                Flags   "+HSync" "+VSync"
        EndMode
        # Block type: 2:0 3:fd
        # Block type: 2:0 3:fc
        # Block type: 2:0 3:ff
EndSection

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

* Re: [radeon] EDID checksum is invalid
  2011-12-05 20:39 [radeon] EDID checksum is invalid Alexander Beregalov
@ 2011-12-06 13:50 ` Alex Deucher
  2011-12-06 17:52 ` Adam Jackson
  1 sibling, 0 replies; 3+ messages in thread
From: Alex Deucher @ 2011-12-06 13:50 UTC (permalink / raw)
  To: Alexander Beregalov; +Cc: dri-devel

On Mon, Dec 5, 2011 at 3:39 PM, Alexander Beregalov
<a.beregalov@gmail.com> wrote:
> Hi
>
> 3.2.0-rc3-00015-gaaa0b4f

Is this a regression?  If so can you bisect?  Are you just having
problems with one particular monitor or all monitors?  You might try
this patch:
http://people.freedesktop.org/~agd5f/0001-drm-radeon-kms-dce3-add-support-for-hw-i2c-using-ato.patch

Alex

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

* Re: [radeon] EDID checksum is invalid
  2011-12-05 20:39 [radeon] EDID checksum is invalid Alexander Beregalov
  2011-12-06 13:50 ` Alex Deucher
@ 2011-12-06 17:52 ` Adam Jackson
  1 sibling, 0 replies; 3+ messages in thread
From: Adam Jackson @ 2011-12-06 17:52 UTC (permalink / raw)
  To: Alexander Beregalov; +Cc: dri-devel

On 12/5/11 3:39 PM, Alexander Beregalov wrote:

> At boot time:
> [drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid, remainder is 206
>   Raw EDID:
>          27 0f 01 03 80 26 1e 78 2a de 95 a3 54 4c 99 26
>          0f 50 54 bf ef 80 81 80 81 40 71 4f 01 01 01 01
>          01 01 01 01 01 01 30 2a 00 98 51 00 2a 40 30 70
>          13 00 78 2d 11 00 00 1e 00 00 00 fd 00 38 4b 1e
>          51 0e 00 0a 20 20 20 20 20 20 00 00 00 fc 00 53
>          79 6e 63 4d 61 73 74 65 72 0a 20 20 00 00 00 ff
>          00 48 53 47 59 39 30 37 30 33 32 0a 20 20 00 59
>          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff

This looks like an EDID fetch of bytes 16 through 143, instead of 0 
through 127 (ie, skip the first 16, last 16 filled with -1).

> Few days after that:
> [drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid, remainder is 38
>   Raw EDID:
>          30 2a 00 98 51 00 2a 40 30 70 13 00 78 2d 11 00
>          00 1e 00 00 00 fd 00 38 4b 1e 51 0e 00 0a 20 20
>          20 20 20 20 00 00 00 fc 00 53 79 6e 63 4d 61 73
>          74 65 72 0a 20 20 00 00 00 ff 00 48 53 47 59 39
>          30 37 30 33 32 0a 20 20 00 59 ff ff ff ff ff ff
>          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff

Offset of 54 bytes here, which is weirder.

Possibly the i2c code isn't resetting the index to 0 when it needs to.

- ajax

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

end of thread, other threads:[~2011-12-06 19:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-05 20:39 [radeon] EDID checksum is invalid Alexander Beregalov
2011-12-06 13:50 ` Alex Deucher
2011-12-06 17:52 ` Adam Jackson

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.