Re: [Bug]:Koelsch: DU, Could not show an image or picture on HDMI display.

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

 



Hi Hiep-san,

On Tue, Apr 5, 2016 at 4:35 AM, Cao Minh Hiep <cm-hiep@xxxxxxxxxxx> wrote:
> On 04/04/2016 05:05 PM, Geert Uytterhoeven wrote:
>> On Fri, Apr 1, 2016 at 9:57 AM, Cao Minh Hiep <cm-hiep@xxxxxxxxxxx> wrote:
>>> This Linux version v4.5, we can not show an image or picture on HDMI
>>> display.
>>> (There is no problem on v4.5-rc3, could show an image on HDMI display
>>> normally)
>>
>> Thanks for reporting!
>>
>> I tried v4.5-rc3 with both my own .config and shmobile_defconfig.
>> My monitor says "no signal", and "modetest -M rcar-du -c" claims HDMI-A-1
>> is
>> disconnected.
>>
>> Can you please share your .config and test scenario?
>
> I attach the .config file of v4.5 stable, and here is our test scenario.

Thanks!

Your config makes no difference on my Iiyama ProLite E2273HDS ("no signal"
etc.).

After moving Koelsch to the living room, and connecting it to a Full HD
Sony TV, I get:

    rcar-du feb00000.display: failed to allocate buffer with size 8294400
    rcar-du feb00000.display: Failed to set initial hw configuration.
    rcar-du feb00000.display: failed to initialize DRM/KMS (-12)
    rcar-du: probe of feb00000.display failed with error -12

Don't you get this? The DELL S2240L is also Full HD, so it should need a buffer
of 1920 * 1080 * 4 bytes, too (unless its preferred mode is smaller).

Configuring:

    CONFIG_CMA=y
    # CONFIG_CMA_DEBUG is not set
    CONFIG_CMA_AREAS=7
    CONFIG_DMA_CMA=y
    CONFIG_CMA_SIZE_MBYTES=16
    CONFIG_CMA_SIZE_SEL_MBYTES=y
    # CONFIG_CMA_SIZE_SEL_PERCENTAGE is not set
    # CONFIG_CMA_SIZE_SEL_MIN is not set
    # CONFIG_CMA_SIZE_SEL_MAX is not set
    CONFIG_CMA_ALIGNMENT=8

Gives me an image (using v4.5-rc3), finally!
So my Iiyama display is to blame ;-(

OHCI-PCI doesn't seem to work with CONFIG_DMA_CMA=y, as the screen is
flooded with:

    ohci-pci 0001:01:01.0: OHCI Unrecoverable Error, scheduling NEC chip restart
    ohci-pci 0000:00:01.0: OHCI Unrecoverable Error, scheduling NEC chip restart

and a single:

    renesas_usbhs e6590000.usb: fifo select error

I disabled CONFIG_USB_OHCI_HCD_PCI to get rid of these errors.

fbtest (git://git.kernel.org/pub/scm/linux/kernel/git/geert/fbtest.git) is
working fine.

If I upgrade to v4.5 or v4.6-rc2, the display still works for me?
So the aforementioned commit didn't break it on my board.

If it fails for you, do you see a change in the dmesg output?

> 2. Modified command line by adding this parameter "console=ttySC0,38400":
>     vim arch/arm/boot/dts/r8a7791-koelsch.dts
>     bootargs = "console=ttySC0,38400 ignore_loglevel rw root=/dev/nfs
> ip=dhcp";
>     (We can not set the parameter on uboot.)

BTW, you can use CONFIG_CMDLINE and CONFIG_CMDLINE_FORCE instead of changing
the DTS.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds



[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux