diff options
author | Jerome Glisse <glisse@freedesktop.org> | 2007-11-09 15:47:24 +0100 |
---|---|---|
committer | Jerome Glisse <glisse@freedesktop.org> | 2007-11-09 15:47:24 +0100 |
commit | ffb89d4c3b6650551aaab06076896540a78faddf (patch) | |
tree | fc71d07e3471f973bc001e3c3bef942af74fe8c7 /linux-core/drm_crtc.h | |
parent | d983ed90cb9de559271817e04bddc8b40fc16a0d (diff) |
drm: split edid handling in get_edid & add_edid_mode
This way driver can get_edid in output status detection
(using all workaround which are in get_edid) and then provide
this edid data in get_mode callback of output.
Diffstat (limited to 'linux-core/drm_crtc.h')
-rw-r--r-- | linux-core/drm_crtc.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/linux-core/drm_crtc.h b/linux-core/drm_crtc.h index d97cd196..9dd00b3d 100644 --- a/linux-core/drm_crtc.h +++ b/linux-core/drm_crtc.h @@ -487,8 +487,9 @@ extern void drm_output_destroy(struct drm_output *output); extern bool drm_output_rename(struct drm_output *output, const char *name); extern void drm_fb_release(struct file *filp); -extern int drm_add_edid_modes(struct drm_output *output, - struct i2c_adapter *adapter); +extern struct edid *drm_get_edid(struct drm_output *output, + struct i2c_adapter *adapter); +extern int drm_add_edid_modes(struct drm_output *output, struct edid *edid); extern void drm_mode_probed_add(struct drm_output *output, struct drm_display_mode *mode); extern void drm_mode_remove(struct drm_output *output, struct drm_display_mode *mode); extern struct drm_display_mode *drm_mode_duplicate(struct drm_device *dev, |