From: Wangyan Wang <wangyan.wang(a)mediatek.com>
V9 adopt maintainer's suggestion.
Here is the change list between V8 & V9
1. Align the first character to the right of '(' in
mtk_hdmi_phy_clk_get_data() of "drm/mediatek: remove flag ..."
2. Align the first character to the right of '(' in
mtk_hdmi_pll_recalc_rate() of "drm/mediatek: make implementation ..."
3. Align the first character to the right of '(' in
mtk_hdmi_pll_round_rate() of "drm/mediatek: no change ..."
4. move patch " …
[View More]drm/mediatek: make implementation ..." before
patch "drm/mediatek: no change parent ..."
5. To make MT2701 HDMI stable, TVDPLL should not be adjusted and
it's the parent clock of HDMI phy, so HDMI phy could not adjust parent
rate. there are 3 steps to make MT2701 HDMI stable.
1). remove flag CLK_SET_RATE_PARENT for mt2701 hdmi phy to not propagate
rate change to parent in "drm/mediatek: remove flag ...".
2). Using new factor for tvdpll in mt2701 to match divider of DPI in
mt2701 in "drm/mediatek: using new...".
3). No change parent rate in round_rate() for mt2701 hdmi phy in
"drm/mediatek: no change parent...".
6. Recalculate the rate of this clock, by querying hardware to
make implementation of recalc_rate() to match the definition.
Wangyan Wang (5):
drm/mediatek: remove flag CLK_SET_RATE_PARENT for mt2701 hdmi phy
drm/mediatek: fix the rate and divder of hdmi phy for MT2701
drm/mediatek: using new factor for tvdpll in MT2701
drm/mediatek: make implementation of recalc_rate() to match the definition
drm/mediatek: no change parent rate in round_rate() for mt2701 hdmi phy
03_27_ck.diff | 91 ++++++++++++++++++++++++
drivers/gpu/drm/mediatek/mtk_dpi.c | 8 +--
drivers/gpu/drm/mediatek/mtk_hdmi_phy.c | 35 ++--------
drivers/gpu/drm/mediatek/mtk_hdmi_phy.h | 5 +-
drivers/gpu/drm/mediatek/mtk_mt2701_hdmi_phy.c | 50 ++++++++++++--
drivers/gpu/drm/mediatek/mtk_mt8173_hdmi_phy.c | 23 +++++++
patch1.diff | 75 ++++++++++++++++++++
patch_5_4.diff | 95 ++++++++++++++++++++++++++
remove_parent_flag.diff | 75 ++++++++++++++++++++
9 files changed, 412 insertions(+), 45 deletions(-)
create mode 100644 03_27_ck.diff
create mode 100644 patch1.diff
create mode 100644 patch_5_4.diff
create mode 100644 remove_parent_flag.diff
--
2.14.1
[View Less]
The call to of_parse_phandle returns a node pointer with refcount
incremented thus it must be explicitly decremented after the last
usage.
Detected by coccinelle with the following warnings:
drivers/gpu/drm/mediatek/mtk_hdmi.c:1521:2-8: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 1509, but without a corresponding object release within this function.
drivers/gpu/drm/mediatek/mtk_hdmi.c:1524:1-7: ERROR: missing of_node_put; acquired a node pointer with …
[View More]refcount incremented on line 1509, but without a corresponding object release within this function.
Signed-off-by: Wen Yang <wen.yang99(a)zte.com.cn>
Cc: CK Hu <ck.hu(a)mediatek.com>
Cc: Philipp Zabel <p.zabel(a)pengutronix.de>
Cc: David Airlie <airlied(a)linux.ie>
Cc: Daniel Vetter <daniel(a)ffwll.ch>
Cc: Matthias Brugger <matthias.bgg(a)gmail.com>
Cc: dri-devel(a)lists.freedesktop.org
Cc: linux-arm-kernel(a)lists.infradead.org
Cc: linux-mediatek(a)lists.infradead.org
Cc: linux-kernel(a)vger.kernel.org
---
drivers/gpu/drm/mediatek/mtk_hdmi.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi.c b/drivers/gpu/drm/mediatek/mtk_hdmi.c
index 915cc84..ed10f4d 100644
--- a/drivers/gpu/drm/mediatek/mtk_hdmi.c
+++ b/drivers/gpu/drm/mediatek/mtk_hdmi.c
@@ -1516,6 +1516,7 @@ static int mtk_hdmi_dt_parse_pdata(struct mtk_hdmi *hdmi,
of_node_put(remote);
hdmi->ddc_adpt = of_find_i2c_adapter_by_node(i2c_np);
+ of_node_put(i2c_np);
if (!hdmi->ddc_adpt) {
dev_err(dev, "Failed to get ddc i2c adapter by node\n");
return -EINVAL;
--
2.9.5
[View Less]
https://bugs.freedesktop.org/show_bug.cgi?id=110337
Berg <berg(a)uralmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
QA Contact|dri-devel(a)lists.freedesktop |mesa-dev(a)lists.freedesktop.
|.org |org
Component|Drivers/Gallium/radeonsi |Drivers/X11
Assignee|dri-devel(a)lists.freedesktop |mesa-dev(a)lists.…
[View More]freedesktop.
|.org |org
--
You are receiving this mail because:
You are the assignee for the bug.
[View Less]
https://bugs.freedesktop.org/show_bug.cgi?id=107559
Heiko Lechner <Heiko.Lechner(a)ruhr-uni-bochum.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Heiko.Lechner@ruhr-uni-boch
| |um.de
--- Comment #5 from Heiko Lechner <Heiko.Lechner(a)ruhr-uni-bochum.de> ---
I have the same problem
--
You …
[View More]are receiving this mail because:
You are the assignee for the bug.
[View Less]