mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
drm/rockchip: add 1024x768p60 to default output mode
Some traditional display devices like use 1024x768p60 resolution, so we add this mode to default mode when parse edid failed. Signed-off-by: Sandy Huang <hjc@rock-chips.com> Change-Id: I0acd1241d84ae65d415f595d6147fed3da0b2f20
This commit is contained in:
@@ -170,6 +170,10 @@ static const struct drm_display_mode rockchip_drm_default_modes[] = {
|
||||
1760, 1980, 0, 720, 725, 730, 750, 0,
|
||||
DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC),
|
||||
.vrefresh = 50, .picture_aspect_ratio = HDMI_PICTURE_ASPECT_16_9, },
|
||||
/* 0x10 - 1024x768@60Hz */
|
||||
{ DRM_MODE("1024x768", DRM_MODE_TYPE_DRIVER, 65000, 1024, 1048,
|
||||
1184, 1344, 0, 768, 771, 777, 806, 0,
|
||||
DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC) },
|
||||
/* 17 - 720x576@50Hz 4:3 */
|
||||
{ DRM_MODE("720x576", DRM_MODE_TYPE_DRIVER, 27000, 720, 732,
|
||||
796, 864, 0, 576, 581, 586, 625, 0,
|
||||
|
||||
Reference in New Issue
Block a user