Neil Armstrong 1c1ed441b0 edid: add edid_get_timing_validate() variant to filter out edid modes
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 <narmstrong@baylibre.com>
2019-07-29 00:21:40 +02:00
..
2019-07-27 09:35:05 -04:00
2019-07-24 13:16:29 -04:00
2019-07-10 16:52:58 -06:00
2019-07-19 20:14:50 +02:00
2018-09-10 20:20:34 -04:00
2019-07-24 13:16:29 -04:00
2016-02-06 12:00:59 +01:00
2016-05-02 18:37:09 -04:00
2018-12-06 23:26:30 -05:00
2019-07-24 13:16:29 -04:00