drm: Export drm_probe_ddc()
Tested-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Adam Jackson <ajax@redhat.com> Acked-by: Dave Airlie <airlied@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Родитель
5bb61643f6
Коммит
fbff4690b8
|
@ -395,13 +395,14 @@ out:
|
||||||
* \param adapter : i2c device adaptor
|
* \param adapter : i2c device adaptor
|
||||||
* \return 1 on success
|
* \return 1 on success
|
||||||
*/
|
*/
|
||||||
static bool
|
bool
|
||||||
drm_probe_ddc(struct i2c_adapter *adapter)
|
drm_probe_ddc(struct i2c_adapter *adapter)
|
||||||
{
|
{
|
||||||
unsigned char out;
|
unsigned char out;
|
||||||
|
|
||||||
return (drm_do_probe_ddc_edid(adapter, &out, 0, 1) == 0);
|
return (drm_do_probe_ddc_edid(adapter, &out, 0, 1) == 0);
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL(drm_probe_ddc);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* drm_get_edid - get EDID data, if available
|
* drm_get_edid - get EDID data, if available
|
||||||
|
|
|
@ -861,6 +861,7 @@ extern char *drm_get_tv_subconnector_name(int val);
|
||||||
extern char *drm_get_tv_select_name(int val);
|
extern char *drm_get_tv_select_name(int val);
|
||||||
extern void drm_fb_release(struct drm_file *file_priv);
|
extern void drm_fb_release(struct drm_file *file_priv);
|
||||||
extern int drm_mode_group_init_legacy_group(struct drm_device *dev, struct drm_mode_group *group);
|
extern int drm_mode_group_init_legacy_group(struct drm_device *dev, struct drm_mode_group *group);
|
||||||
|
extern bool drm_probe_ddc(struct i2c_adapter *adapter);
|
||||||
extern struct edid *drm_get_edid(struct drm_connector *connector,
|
extern struct edid *drm_get_edid(struct drm_connector *connector,
|
||||||
struct i2c_adapter *adapter);
|
struct i2c_adapter *adapter);
|
||||||
extern int drm_add_edid_modes(struct drm_connector *connector, struct edid *edid);
|
extern int drm_add_edid_modes(struct drm_connector *connector, struct edid *edid);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче