Skip to content

Commit

Permalink
LibreELEC patch for rockchip and HDMI fixes
Browse files Browse the repository at this point in the history
- LibreELEC patch: https://github.com/LibreELEC/LibreELEC.tv/blob/master/projects/Rockchip/patches/linux/default/linux-1000-drm-rockchip.patch#L1939
- Patch series in patchwork used as a base: https://patchwork.kernel.org/project/linux-rockchip/list/?series=225649

Other:
- Bump package version

Resolve reject conflict in rockchip_drm_vop

Remove already applied patch for rk3368

Remove conflicting portion of 32MHz modeset from auyfan's patch

Remove 10bit patch for rk3328

Cleanup and adding md5sum
  • Loading branch information
psstoyanov committed Feb 6, 2022
1 parent eb7d3e8 commit 4599a76
Show file tree
Hide file tree
Showing 3 changed files with 3,640 additions and 21 deletions.
20 changes: 1 addition & 19 deletions 0012-ayufan-drm-rockchip-add-support-for-modeline-32MHz-e.patch
Expand Up @@ -6,8 +6,7 @@ Subject: [PATCH 2/2] ayufan: drm: rockchip: add support for modeline 32MHz

---
drivers/clk/rockchip/clk-rk3399.c | 1 +
drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 6 ++++++
2 files changed, 7 insertions(+)
1 file changed, 1 insertion(+)

diff --git a/drivers/clk/rockchip/clk-rk3399.c b/drivers/clk/rockchip/clk-rk3399.c
index 7df2f1e00347..5dcf9b5778a3 100644
Expand All @@ -21,23 +20,6 @@ index 7df2f1e00347..5dcf9b5778a3 100644
RK3036_PLL_RATE( 27000000, 1, 27, 6, 4, 1, 0),
{ /* sentinel */ },
};
diff --git a/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c b/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c
index 23de359a1dec..9ad35ed3018e 100644
--- a/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c
+++ b/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c
@@ -84,6 +84,12 @@ static const struct dw_hdmi_mpll_config rockchip_mpll_cfg[] = {
{ 0x2153, 0x0000},
{ 0x40f3, 0x0000}
},
+ }, {
+ 32000000, {
+ { 0x0072, 0x0001},
+ { 0x2153, 0x0000},
+ { 0x40f3, 0x0000}
+ },
}, {
36000000, {
{ 0x00b3, 0x0000},
--
2.25.1

0 comments on commit 4599a76

Please sign in to comment.