- 24 4月, 2021 2 次提交
-
-
由 Jernej Skrabec 提交于
Code which searches for valid detailed timing entry will be used in more places. Extract it. No functional change is made. However, descriptors are casted to edid_detailed_timing instead of edid_monitor_descriptor. Descriptor can be of either type, but since we're interested only in DTD, it is more fitting to cast to edid_detailed_timing. Reviewed-by: NAndre Przywara <andre.przywara@arm.com> Signed-off-by: NJernej Skrabec <jernej.skrabec@siol.net> Signed-off-by: NAndre Przywara <andre.przywara@arm.com>
-
由 Jernej Skrabec 提交于
When searching for detailed timing in EDID, check for digital display earlier. There is no point parsing other parameters if this flag is not present. Reviewed-by: NAndre Przywara <andre.przywara@arm.com> Signed-off-by: NJernej Skrabec <jernej.skrabec@siol.net> Signed-off-by: NAndre Przywara <andre.przywara@arm.com>
-
- 19 5月, 2020 1 次提交
-
-
由 Simon Glass 提交于
Move this header out of the common header. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 30 7月, 2019 1 次提交
-
-
由 Neil Armstrong 提交于
Add a condition to the break in the modes lookup, without this when the first mode is not valid, then edid_get_timing_validate() return an error instead of checking the next modes. Fixes: 1c1ed441 ("edid: add edid_get_timing_validate() variant to filter out edid modes") Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com>
-
- 29 7月, 2019 1 次提交
-
-
由 Neil Armstrong 提交于
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: NNeil Armstrong <narmstrong@baylibre.com>
-
- 07 5月, 2018 1 次提交
-
-
由 Tom Rini 提交于
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: NTom Rini <trini@konsulko.com>
-
- 12 6月, 2017 1 次提交
-
-
由 Simon Glass 提交于
We should not use an open-coded value here. Use sizeof() instead. Signed-off-by: NSimon Glass <sjg@chromium.org> Reported-by: Coverity (CID: 163252) Fixes: 43c6bdd0 (edid: Add HDMI flag to timing info)
-
- 09 6月, 2017 1 次提交
-
-
由 Jernej Skrabec 提交于
This commit fixes the warning produced by gcc 7.1. Signed-off-by: NJernej Skrabec <jernej.skrabec@siol.net> Reviewed-by: NTom Rini <trini@konsulko.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
- 16 5月, 2017 2 次提交
-
-
由 Jernej Skrabec 提交于
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: NJernej Skrabec <jernej.skrabec@siol.net> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 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: NJernej Skrabec <jernej.skrabec@siol.net> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
- 14 5月, 2015 1 次提交
-
-
由 Simon Glass 提交于
For digital displays (such as EDP LCDs) we would like to read the EDID information and use that to set display timings. Provide a function to do this. Signed-off-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NTom Warren <twarren@nvidia.com>
-
- 14 1月, 2015 1 次提交
-
-
由 Hans de Goede 提交于
Add a helper function to check the checksum of an EDID data block. Signed-off-by: NHans de Goede <hdegoede@redhat.com> Acked-by: NAnatolij Gustschin <agust@denx.de>
-
- 24 7月, 2013 1 次提交
-
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: NTom Rini <trini@ti.com>
-
- 12 12月, 2012 1 次提交
-
-
由 Tom Wai-Hong Tam 提交于
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: NTom Wai-Hong Tam <waihong@chromium.org> Signed-off-by: NSimon Glass <sjg@chromium.org>
-