30 Jul, 2019

1 commit


29 Jul, 2019

1 commit

  • The original edid_get_timing() function returns the first valid timing,
    but on some plaforms, we could only supports a subset of the listed
    monitot's navite timing.

    Let's introduce a edid_get_timing_validate() adding a mode_valid callback
    including a private cookie pointer.

    If the callback returns false, the current timing is discared and the next
    one is checked. If no valid & supported timings are found, the function
    would return an error.

    Signed-off-by: Neil Armstrong

    Neil Armstrong
     

07 May, 2018

1 commit

  • When U-Boot started using SPDX tags we were among the early adopters and
    there weren't a lot of other examples to borrow from. So we picked the
    area of the file that usually had a full license text and replaced it
    with an appropriate SPDX-License-Identifier: entry. Since then, the
    Linux Kernel has adopted SPDX tags and they place it as the very first
    line in a file (except where shebangs are used, then it's second line)
    and with slightly different comment styles than us.

    In part due to community overlap, in part due to better tag visibility
    and in part for other minor reasons, switch over to that style.

    This commit changes all instances where we have a single declared
    license in the tag as both the before and after are identical in tag
    contents. There's also a few places where I found we did not have a tag
    and have introduced one.

    Signed-off-by: Tom Rini

    Tom Rini
     

12 Jun, 2017

1 commit


09 Jun, 2017

1 commit


16 May, 2017

2 commits

  • Some DVI monitors don't show anything in HDMI mode since audio stream
    confuses them. To solve this situation, this commit adds HDMI flag in
    timing data and sets it accordingly during edid parsing.

    First existence of extension block is checked. If it exists and it is
    CEA861 extension, then data blocks are checked for presence of HDMI
    vendor specific data block. If it is present, HDMI flag is set.

    Signed-off-by: Jernej Skrabec
    Reviewed-by: Simon Glass

    Jernej Skrabec
     
  • Timing flags are never set, so they may contain garbage. Since some
    drivers check them, video output may be broken on those drivers.

    Initialize them to 0 and check for few common flags.

    Signed-off-by: Jernej Skrabec
    Reviewed-by: Simon Glass

    Jernej Skrabec
     

14 May, 2015

1 commit


14 Jan, 2015

1 commit


24 Jul, 2013

1 commit


12 Dec, 2012

1 commit

  • This implements a library for accessing EDID data from an LCD panel.
    This is used to obtain information about the panel such as its
    resolution and type.

    This is a tidied-up version of the original code pulled from
    https://github.com/ynezz/u-boot-edid.

    The changes we made are:
    - removed bit fields in the struct;
    - removed endianness cases in the struct;
    - fixed some wrong definitions;
    - fixed to fit 80 columns;
    - fixed some code styles.

    Signed-off-by: Tom Wai-Hong Tam
    Signed-off-by: Simon Glass

    Tom Wai-Hong Tam