diff options
author | Uros Majstorovic <majstor@majstor.org> | 2021-08-27 03:06:13 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2021-08-27 03:06:13 +0200 |
commit | 76ec318118106cb25d762de83857f6579c13e273 (patch) | |
tree | ac1025b9e79a5eae04b6036d56599c0df98dcb08 /yocto/meta-bsp-rvphone/recipes-kernel/linux/rvphone/cl-imx8/0001-imx-hdp-video-modes.patch | |
parent | 6d270f43cfea8e840463c260b43a6afbd24c1149 (diff) |
yocto rename
Diffstat (limited to 'yocto/meta-bsp-rvphone/recipes-kernel/linux/rvphone/cl-imx8/0001-imx-hdp-video-modes.patch')
-rw-r--r-- | yocto/meta-bsp-rvphone/recipes-kernel/linux/rvphone/cl-imx8/0001-imx-hdp-video-modes.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/yocto/meta-bsp-rvphone/recipes-kernel/linux/rvphone/cl-imx8/0001-imx-hdp-video-modes.patch b/yocto/meta-bsp-rvphone/recipes-kernel/linux/rvphone/cl-imx8/0001-imx-hdp-video-modes.patch new file mode 100644 index 0000000..7b8c38a --- /dev/null +++ b/yocto/meta-bsp-rvphone/recipes-kernel/linux/rvphone/cl-imx8/0001-imx-hdp-video-modes.patch @@ -0,0 +1,39 @@ +diff --git a/drivers/gpu/drm/imx/hdp/imx-hdp.c b/drivers/gpu/drm/imx/hdp/imx-hdp.c +index bcfad522df43..26d96c0e9ecc 100644 +--- a/drivers/gpu/drm/imx/hdp/imx-hdp.c ++++ b/drivers/gpu/drm/imx/hdp/imx-hdp.c +@@ -34,6 +34,21 @@ + struct drm_display_mode *g_mode; + uint8_t g_default_mode = 3; + static struct drm_display_mode edid_cea_modes[] = { ++ /* user defined - 1024@768@70Hz */ ++ { DRM_MODE("1024x768", DRM_MODE_TYPE_DRIVER, 74250, 1024, 1072, ++ 1176, 1328, 0, 768, 771, 775, 798, 0, ++ DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC), ++ .vrefresh = 60, .picture_aspect_ratio = HDMI_PICTURE_ASPECT_16_9, }, ++ /* user defined - 1280x1024@75Hz */ ++ { DRM_MODE("1280x1024", DRM_MODE_TYPE_DRIVER, 74250, 1280, 1296, ++ 1440, 1688, 0, 1024, 1025, 1028, 1066, 0, ++ DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC), ++ .vrefresh = 60, .picture_aspect_ratio = HDMI_PICTURE_ASPECT_16_9, }, ++ /* user defined - 1366x768@52Hz */ ++ { DRM_MODE("1366x768", DRM_MODE_TYPE_DRIVER, 74250, 1366, 1436, ++ 1579, 1792, 0, 768, 771, 774, 798, 0, ++ DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC), ++ .vrefresh = 60, .picture_aspect_ratio = HDMI_PICTURE_ASPECT_16_9, }, + /* 3 - 720x480@60Hz */ + { DRM_MODE("720x480", DRM_MODE_TYPE_DRIVER, 27000, 720, 736, + 798, 858, 0, 480, 489, 495, 525, 0, +@@ -49,6 +64,12 @@ static struct drm_display_mode edid_cea_modes[] = { + 2052, 2200, 0, 1080, 1084, 1089, 1125, 0, + DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC), + .vrefresh = 60, .picture_aspect_ratio = HDMI_PICTURE_ASPECT_16_9, }, ++ /* 17 - 1080x1920@60Hz */ ++ { DRM_MODE("1080x1920", DRM_MODE_TYPE_DRIVER, 148500, ++ 1080, 1084, 1089, 1125, 0, ++ 1920, 2008, 2052, 2200, 0, ++ DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC), ++ .vrefresh = 60, .picture_aspect_ratio = HDMI_PICTURE_ASPECT_16_9, }, + /* 97 - 3840x2160@60Hz */ + { DRM_MODE("3840x2160", DRM_MODE_TYPE_DRIVER, 594000, + 3840, 4016, 4104, 4400, 0, |