Commit Graph

8 Commits

Author SHA1 Message Date
Sandy Huang 94d85f7bdd drm/rockchip: add picture aspect ratio define
Change-Id: Ie1d8313afe5f24596a989f7c8f290c734815f036
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
2019-08-29 18:10:28 +08:00
Shixiang Zheng ffa55e1823 video/drm: add panel node parameters for screen rotate
Change-Id: I83112f8a05bd301327d7d1ca21eda97594d95823
Signed-off-by: Shixiang Zheng <shixiang.zheng@rock-chips.com>
2019-06-11 09:30:25 +08:00
Algea Cao 8e2bab3fc5 drm: Transplant dw-hdmi code from rkdevelop
1.Updating edid parse method.
2.New hdmi i2c control method.
3.Adding mode filter.
4.Adding color select method.
5.Support hdmi 2.0.
6.Adding baseparameter reading.
7.Support HDCP 1.4.

Tested in rk3399/rk3229/rk3128h/rk3328.

Change-Id: I2b3b1fb0079e97ba4b737781356e920548d6ad75
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
2018-08-15 10:10:19 +08:00
Sandy Huang 3a06149e72 drm/rockchip: vop: add support dclk polarity invert config
some platform like rk3288,rk3368 and px30, the rgb/lvds dclk
polarity need to config grf config, other platform can config
vop register to set dclk invert.

Change-Id: Ica3b7b388d7650628c08007b327753caeeba3b0e
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
2018-04-24 08:49:44 +08:00
Sandy Huang ccd843b928 drm/rockchip: add support interlace mode output
add interlace timing config for hdmi/cvbs interlace output mode

Change-Id: Ic0bb06667a5c56d81f5229b7ef87baef9e0e5f32
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
(Cherry pick from commit 3452c2ff12f80f249bc54d28bc3c52d089f76a8a)
2018-02-27 10:12:54 +08:00
Sandy Huang 79feefb115 video/rockchip: vop: add support CSC function for HDMI YUV output
add CSC config for YUV output mode

Change-Id: I9b53c3b3bdc0fc1a733897474c126042d17c3ac9
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
(Cherry-pick from commit 34d6280a1ae02cc3c98aa8e6d32151b37fd849c6)
2018-02-27 10:12:54 +08:00
Algea Cao 21016d27c5 common: edid: Add more detailed edid parsing
The original edid parsing methods are too simple. The
new parsing methods are carried from kernel.

Change-Id: I28b9b14e1bc76c38366f41d23f0e01ac779780d0
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
2017-11-20 11:54:16 +08:00
Mark Yao b9e63a962a edid: support decode edid to drm modes
Change-Id: I38f82586d81177a4e6f5c20815af5480b40d2ff8
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
2017-10-11 15:55:17 +08:00