diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/display.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/display.h b/include/display.h index e8d8aaa15fb..26b965daba9 100644 --- a/include/display.h +++ b/include/display.h @@ -26,6 +26,16 @@ struct display_plat { }; /** + * display_read_edid() - Read edid from display + * + * @dev: Device to read from + * @buf: Buffer to read into (should be EDID_SIZE bytes) + * @buf_size: Buffer size (should be EDID_SIZE) + * Return number of bytes read, <= 0 for error + */ +int display_read_edid(struct udevice *dev, u8 *buf, int buf_size); + +/** * display_read_timing() - Read timing information * * @dev: Device to read from |
