drm/edid: revert some of change by the following commit

Fixes: 7ab28c3914 ("drm/edid: output common tv resolution and hdmi
mode if no read the correct edid")

Change-Id: I00dac90a2b64e4b9743813cc9fde9d08ddd38347
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
This commit is contained in:
Sandy Huang 2020-08-04 15:30:34 +08:00 committed by Tao Huang
commit d90bbdc951
2 changed files with 1 additions and 6 deletions

View file

@ -3292,7 +3292,7 @@ static u8 svd_to_vic(u8 svd)
return svd;
}
struct drm_display_mode *
static struct drm_display_mode *
drm_display_mode_from_vic_index(struct drm_connector *connector,
const u8 *video_db, u8 video_len,
u8 video_index)
@ -3317,7 +3317,6 @@ drm_display_mode_from_vic_index(struct drm_connector *connector,
return newmode;
}
EXPORT_SYMBOL(drm_display_mode_from_vic_index);
/*
* do_y420vdb_modes - Parse YCBCR 420 only modes

View file

@ -495,8 +495,4 @@ void drm_edid_get_monitor_name(struct edid *edid, char *name,
struct drm_display_mode *drm_mode_find_dmt(struct drm_device *dev,
int hsize, int vsize, int fresh,
bool rb);
struct drm_display_mode *
drm_display_mode_from_vic_index(struct drm_connector *connector,
const u8 *video_db, u8 video_len,
u8 video_index);
#endif /* __DRM_EDID_H__ */