转发:Re: 回复: DVI to VGA convertor cause a problem,

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






------------------ 原始邮件 ------------------

Jesse

On 03/21/2015 12:46 AM, Bģʽ// wrote:
> - hi Barnes:
>      the kernel driver is failing to get the EDID from the DVI attached
> monitor . I print the drm_get_edid()  function ret val on two different
>  kernel versionn
> 2.6.32-131 and 2.6.32-358(this version kernel can work normally)  ,i
> find  the ret val
> is different ,and i think EDID should be same for one monitor. the log
> on different kernel version
> as shown blow :
> =================================================================
> this is 2.6.32-131 kernel driver log about DRM:
> [drm] Initialized drm 1.1.0 20060810
> [drm] radeon defaulting to kernel modesetting.
> [drm] radeon kernel modesetting enabled.
> NUM[.1.] [drm_pci_init]...
> PCI: Setting latency timer of device 0000:01:05.0 to 64
> [drm] initializing kernel modesetting (RS780 0x1002:0x9615).
> -->swiotlb_dma_supported(0x872fffff, 0xffffffffff)
> [drm] rdev->need_dma32: 0
> [drm] register mmio base: 0x48000000
> [drm] register mmio size: 65536
> ATOM BIOS: 113
> radeon 0000:01:05.0: VRAM: 128M 0x0000000040000000 - 0x0000000047FFFFFF
> (128M used)
> radeon 0000:01:05.0: GTT: 512M 0x0000000048000000 - 0x0000000067FFFFFF
> [drm:rs690_pm_info] *ERROR* No integrated system info for your GPU,
> using safe default
> [drm:radeon_atombios_sideport_present] *ERROR* Unsupported IGP table: 1 4
> [drm] Detected VRAM RAM=128M, BAR=128M
> [drm] RAM width 32bits DDR
> [TTM] Zone  kernel: Available graphics memory: 2017416 kiB.
> [TTM] Initializing pool allocator.
> [drm] radeon: 128M of VRAM memory ready
> [drm] radeon: 512M of GTT memory ready.
> [drm] radeon: irq initialized.
> [drm] GART: num cpu pages 32768, num gpu pages 131072
> [drm] Loading RS780 Microcode
> platform radeon_cp.0: firmware: using built-in firmware radeon/RS780_pfp.bin
> platform radeon_cp.0: firmware: using built-in firmware radeon/RS780_me.bin
> platform radeon_cp.0: firmware: using built-in firmware radeon/R600_rlc.bin
> radeon 0000:01:05.0: WB enabled
> [drm] ring test succeeded in 0 usecs
> [drm] radeon: ib pool ready.
> [drm] ib test succeeded in 0 usecs
> [drm] Enabling audio support
> [drm] Radeon Display Connectors
> [drm] Connector 0:
> [drm]   VGA
> [drm]   DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 0x7e4c 0x7e4c
> [drm]   Encoders:
> [drm]     CRT1: INTERNAL_KLDSCP_DAC1
> [drm] Connector 1:
> [drm]   DVI-D
> [drm]   HPD3
> [drm]   DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 0x7e5c 0x7e5c
> [drm]   Encoders:
> [drm]     DFP3: INTERNAL_KLDSCP_LVTMA
> [drm-cs] drm_get_edid() func .. edid=980000017e8e5a00
> [drm-cs] drm_get_edid() func .. edid=980000017e86ac80
> [drm-cs] drm_get_edid() func .. edid=980000017e8e5a00
> [drm] -->> timing->pixel_clock= 14850
> [drm] cs---->>>mode->type=64
> cs->>  mode->clock=148500
> cs->>  mode->hdisplay=1920
> cs->>  mode->hsync_start=2008
> cs->>  mode->hsync_end=2052
> cs->>  mode->htotal=2200
> cs->>  mode->vdisplay=1080
> cs->>  mode->vsync_start=1084
> cs->>  mode->vsync_end=1089
> cs->>  mode->vtotal=1125
> [drm] drm_mode_set_name func ...
> [drm] -->> timing->pixel_clock= 0
> [drm] -->> timing->pixel_clock= 0
> [drm] -->> timing->pixel_clock= 0
> [drm] drm_mode_set_name func ...
> [drm-cs] drm_get_edid() func .. edid=980000017e869a80
> [drm] -->> timing->pixel_clock= 10650
> [drm] cs---->>>mode->type=64
> cs->>  mode->clock=106500
> cs->>  mode->hdisplay=1440
> cs->>  mode->hsync_start=1520
> cs->>  mode->hsync_end=1672
> cs->>  mode->htotal=1904
> cs->>  mode->vdisplay=900
> cs->>  mode->vsync_start=903
> cs->>  mode->vsync_end=909
> cs->>  mode->vtotal=934
> [drm] drm_mode_set_name func ...
> [drm] -->> timing->pixel_clock= 0
> [drm] -->> timing->pixel_clock= 0
> [drm] -->> timing->pixel_clock= 0
> [drm] -->> timing->pixel_clock= 7425
> [drm] cs---->>>mode->type=64
> cs->>  mode->clock=74250
> cs->>  mode->hdisplay=1920
> cs->>  mode->hsync_start=2448
> cs->>  mode->hsync_end=2492
> cs->>  mode->htotal=2640
> cs->>  mode->vdisplay=540
> cs->>  mode->vsync_start=542
> cs->>  mode->vsync_end=547
> cs->>  mode->vtotal=562
> [drm] drm_mode_set_name func ...
> [drm] fb mappable at 0x40144000
> [drm] vram apper at 0x40000000
> [drm] size 4161536
> [drm] fb depth is 16
> [drm]    pitch is 3840
> Console: switching to colour frame buffer device 180x56
> fb0: radeondrmfb frame buffer device
> drm: registered panic notifier
> ================================================================================
>
> ###
> this is 2.6.32-358 kernel driver log about DRM,there is some log more
> info:
> ================================================================================
> [drm] Initialized drm 1.1.0 20060810
> [drm] radeon defaulting to kernel modesetting.
> [drm] radeon kernel modesetting enabled.
> [drm] initializing kernel modesetting (RS780 0x1002:0x9615 0x1002:0x0000).
> -->swiotlb_dma_supported(0x8855bfff, 0xffffffffff)
> -->swiotlb_dma_supported(0x8855bfff, 0xffffffffff)
> [drm] register mmio base: 0x48000000
> [drm] register mmio size: 65536
> ATOM BIOS: 113
> radeon 0000:01:05.0: VRAM: 128M 0x0000000040000000 - 0x0000000047FFFFFF
> (128M used)
> radeon 0000:01:05.0: GTT: 512M 0x0000000048000000 - 0x0000000067FFFFFF
> [drm:rs690_pm_info] *ERROR* No integrated system info for your GPU,
> using safe default
> [drm:radeon_atombios_sideport_present] *ERROR* Unsupported IGP table: 1 4
> [drm] Detected VRAM RAM=128M, BAR=128M
> [drm] RAM width 32bits DDR
> [TTM] Zone  kernel: Available graphics memory: 2008016 kiB
> [TTM] Initializing pool allocator
> [TTM] Initializing DMA pool allocator
> [drm] radeon: 128M 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.
> [drm] radeon: irq initialized.
> [drm] GART: num cpu pages 32768, num gpu pages 131072
> [drm] Loading RS780 Microcode
> platform radeon_cp.0: firmware: using built-in firmware radeon/RS780_pfp.bin
> platform radeon_cp.0: firmware: using built-in firmware radeon/RS780_me.bin
> platform radeon_cp.0: firmware: using built-in firmware radeon/R600_rlc.bin
> [drm] PCIE GART of 512M enabled (table at 0x0000000040040000).
> radeon 0000:01:05.0: WB enabled
> radeon 0000:01:05.0: fence driver on ring 0 use gpu addr
> 0x0000000048000c00 and cpu addr 0x980000017fd48c00
> PCI: Setting latency timer of device 0000:01:05.0 to 64
> [drm] ring test on 0 succeeded in 0 usecs
> [drm] ib test on ring 0 succeeded in 0 usecs
> [drm] Radeon Display Connectors
> [drm] Connector 0:
> [drm]   VGA-1
> [drm]   DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 0x7e4c 0x7e4c
> [drm]   Encoders:
> [drm]     CRT1: INTERNAL_KLDSCP_DAC1
> [drm] Connector 1:
> [drm]   DVI-D-1
> [drm]   HPD3
> [drm]   DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 0x7e5c 0x7e5c
> [drm]   Encoders:
> [drm]     DFP3: INTERNAL_KLDSCP_LVTMA
> [drm] Try to fetch EDID information by calling i2c driver function.
> drm_do_probe_ddc_edid()..
> [drm] Try to fetch EDID information by calling i2c driver function.
> drm_do_probe_ddc_edid()..
> [drm] drm_get_edid() func .. edid=980000017fd3dc00
> [drm--lonxin] -->> timing->pixel_clock= 14850
> [drm--loongson]-->>>mode->clock=148500
> [drm--loongson]-->>>mode->display=1920
> [drm-loongson]-->>>mode->vdisplay=1080
> [drm]--->>>mode->type=64
> [drm--lonxin] -->> timing->pixel_clock= 0
> [drm--lonxin] -->> timing->pixel_clock= 0
> [drm--lonxin] -->> timing->pixel_clock= 0
> [drm] Try to fetch EDID information by calling i2c driver function.
> drm_do_probe_ddc_edid()..
> [drm] Try to fetch EDID information by calling i2c driver function.
> drm_do_probe_ddc_edid()..
> [drm] Try to fetch EDID information by calling i2c driver function.
> drm_do_probe_ddc_edid()..
> [drm] drm_get_edid() func .. edid=980000017f953280
> [drm--lonxin] -->> timing->pixel_clock= 10650
> [drm--loongson]-->>>mode->clock=106500
> [drm--loongson]-->>>mode->display=1440
> [drm-loongson]-->>>mode->vdisplay=900
> [drm]--->>>mode->type=64
> [drm--lonxin] -->> timing->pixel_clock= 0
> [drm--lonxin] -->> timing->pixel_clock= 0
> [drm--lonxin] -->> timing->pixel_clock= 0
> [drm--lonxin] -->> timing->pixel_clock= 7425
> [drm--loongson]-->>>mode->clock=74250
> [drm--loongson]-->>>mode->display=1920
> [drm-loongson]-->>>mode->vdisplay=540
> [drm]--->>>mode->type=64
> [drm--lonxin] -->> timing->pixel_clock= 7425
> [drm--loongson]-->>>mode->clock=74250
> [drm--loongson]-->>>mode->display=1920
> [drm-loongson]-->>>mode->vdisplay=540
> [drm]--->>>mode->type=64
> [drm--lonxin] -->> timing->pixel_clock= 7425
> [drm--loongson]-->>>mode->clock=74250
> [drm--loongson]-->>>mode->display=1280
> [drm-loongson]-->>>mode->vdisplay=720
> [drm]--->>>mode->type=64
> [drm--lonxin] -->> timing->pixel_clock= 2700
> [drm--loongson]-->>>mode->clock=27000
> [drm--loongson]-->>>mode->display=720
> [drm-loongson]-->>>mode->vdisplay=576
> [drm]--->>>mode->type=64
> [drm--lonxin] -->> timing->pixel_clock= 2700
> [drm--loongson]-->>>mode->clock=27000
> [drm--loongson]-->>>mode->display=720
> [drm-loongson]-->>>mode->vdisplay=480
> [drm]--->>>mode->type=64
> [drm] fb mappable at 0x40148000
> [drm] vram apper at 0x40000000
> [drm] size 8306688
> [drm] fb depth is 24
> [drm]    pitch is 7680
> Console: switching to colour frame buffer device 180x56
> fb0: radeondrmfb frame buffer device
> drm: registered panic notifier
> =====================================================================================
> and i wanna know if there is some thing wrong ,if the problem is here
> ,how can i solve on kernel 2.6.32-131
>
> Thanks,
> xiezhongtian
>
>
>
> ------------------ 原始邮件 ------------------
> *发件人:* "jesse.barnes"<jesse.barnes@xxxxxxxxx>;
> *发送时间:* 2015年3月21日(星期六) 凌晨3:45
> *收件人:* "B模式//"<377953829@xxxxxx>;
> *主题:* Re: DVI to VGA convertor cause a problem,
>
> On 03/20/2015 12:25 AM, B模式// wrote:
>> hi ,Barnes:‍
>>          now, i met a problem about DVI  on kernel-2.6.32-131, Now
>> situation is like that, I have two monitors.Demand is through two vga
>> devices to connect to the monitor. but you know, i have a vga and dvi
>> output , so i use a DVI to VGA convertor ,But after the converter
>> display not lit up.
>> Because some other development is based on this version of the kernel,
>> so only on the kernel version development.‍
>
> There could be a few things going on:
>   - DVI adapter isn't a DVI-I adapter, which includes the VGA interface
>   - the DVI port doesn't support DVI-I
>   - the kernel driver is failing to get the EDID from the DVI attached
>     monitor
> and possibly other bugs.
>
> Can you file a bug at bugs.freedesktop.org if you don't figure things
> out?  You can use
> https://01.org/linuxgraphics/documentation/how-report-bugs
> <https://01.org/linuxgraphics/documentation/how-report-bugs> to help you
> collect the info we need.
>
> Thanks,
> Jesse
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux