summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/video
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2012-04-27 11:11:58 +0200
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2014-11-26 20:09:39 +0200
commit18df89fef2d5c7cfd15ab898b17a292d00222b0c (patch)
tree3c9b5f39237e4bd90bb0685b1bfbcdf119ddcd03 /Documentation/devicetree/bindings/video
parent637e6194e0daf76e2c06cd78528e8d0a24eca3cd (diff)
drm: Decouple EDID parsing from I2C adapter
The drm_get_edid() function performs direct I2C accesses to read EDID blocks, assuming that the monitor DDC interface is directly connected to the I2C bus. It can't thus be used with HDMI encoders that control the DDC bus and expose EDID blocks through a different interface. Refactor drm_do_get_edid() to take a block read callback function instead of an I2C adapter, and export it for direct use by drivers. As in the general case the DDC bus is accessible by the kernel at the I2C level, drivers must make all reasonable efforts to expose it as an I2C adapter and use drm_get_edid() instead of abusing this function. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Reviewed-by: Rob Clark <robdclark@gmail.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'Documentation/devicetree/bindings/video')
0 files changed, 0 insertions, 0 deletions