<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/gpu/drm/mediatek, branch v5.1</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v5.1</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v5.1'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2019-04-09T09:47:01Z</updated>
<entry>
<title>drm/mediatek: no change parent rate in round_rate() for MT2701 hdmi phy</title>
<updated>2019-04-09T09:47:01Z</updated>
<author>
<name>Wangyan Wang</name>
<email>wangyan.wang@mediatek.com</email>
</author>
<published>2019-04-09T06:53:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9ee76098a1b8ae21cccac641b735ee4d3a77bccf'/>
<id>urn:sha1:9ee76098a1b8ae21cccac641b735ee4d3a77bccf</id>
<content type='text'>
This is the third step to make MT2701 HDMI stable.
We should not change the rate of parent for hdmi phy when
doing round_rate for this clock. The parent clock of hdmi
phy must be the same as it. We change it when doing set_rate
only.

Signed-off-by: Wangyan Wang &lt;wangyan.wang@mediatek.com&gt;
Signed-off-by: CK Hu &lt;ck.hu@mediatek.com&gt;
</content>
</entry>
<entry>
<title>drm/mediatek: using new factor for tvdpll for MT2701 hdmi phy</title>
<updated>2019-04-09T09:47:01Z</updated>
<author>
<name>Wangyan Wang</name>
<email>wangyan.wang@mediatek.com</email>
</author>
<published>2019-04-09T06:53:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8eeb3946feeb00486ac0909e2309da87db8988a5'/>
<id>urn:sha1:8eeb3946feeb00486ac0909e2309da87db8988a5</id>
<content type='text'>
This is the second step to make MT2701 HDMI stable.
The factor depends on the divider of DPI in MT2701, therefore,
we should fix this factor to the right and new one.
Test: search ok

Signed-off-by: Wangyan Wang &lt;wangyan.wang@mediatek.com&gt;
Signed-off-by: CK Hu &lt;ck.hu@mediatek.com&gt;
</content>
</entry>
<entry>
<title>drm/mediatek: remove flag CLK_SET_RATE_PARENT for MT2701 hdmi phy</title>
<updated>2019-04-09T09:47:01Z</updated>
<author>
<name>Wangyan Wang</name>
<email>wangyan.wang@mediatek.com</email>
</author>
<published>2019-04-09T06:53:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=827abdd024207146822f66ba3ba74867135866b9'/>
<id>urn:sha1:827abdd024207146822f66ba3ba74867135866b9</id>
<content type='text'>
This is the first step to make MT2701 hdmi stable.
The parent rate of hdmi phy had set by DPI driver.
We should not set or change the parent rate of MT2701 hdmi phy,
as a result we should remove the flags of "CLK_SET_RATE_PARENT"
from the clock of MT2701 hdmi phy.

Signed-off-by: Wangyan Wang &lt;wangyan.wang@mediatek.com&gt;
Signed-off-by: CK Hu &lt;ck.hu@mediatek.com&gt;
</content>
</entry>
<entry>
<title>drm/mediatek: make implementation of recalc_rate() for MT2701 hdmi phy</title>
<updated>2019-04-09T09:46:54Z</updated>
<author>
<name>Wangyan Wang</name>
<email>wangyan.wang@mediatek.com</email>
</author>
<published>2019-04-09T06:53:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=321b628e6f5a3af999f75eadd373adbcb8b4cb1f'/>
<id>urn:sha1:321b628e6f5a3af999f75eadd373adbcb8b4cb1f</id>
<content type='text'>
Recalculate the rate of this clock, by querying hardware to
make implementation of recalc_rate() to match the definition.

Signed-off-by: Wangyan Wang &lt;wangyan.wang@mediatek.com&gt;
Signed-off-by: CK Hu &lt;ck.hu@mediatek.com&gt;
</content>
</entry>
<entry>
<title>drm/mediatek: fix the rate and divder of hdmi phy for MT2701</title>
<updated>2019-04-09T09:15:40Z</updated>
<author>
<name>Wangyan Wang</name>
<email>wangyan.wang@mediatek.com</email>
</author>
<published>2019-04-09T06:53:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0c24613cda163dedfa229afc8eff6072e57fac8d'/>
<id>urn:sha1:0c24613cda163dedfa229afc8eff6072e57fac8d</id>
<content type='text'>
Due to a clerical error,there is one zero less for 12800000.
Fix it for 128000000
Fixes: 0fc721b2968e ("drm/mediatek: add hdmi driver for MT2701 and MT7623")

Signed-off-by: Wangyan Wang &lt;wangyan.wang@mediatek.com&gt;
Signed-off-by: CK Hu &lt;ck.hu@mediatek.com&gt;
</content>
</entry>
<entry>
<title>drm/mediatek: fix possible object reference leak</title>
<updated>2019-04-09T05:09:43Z</updated>
<author>
<name>Wen Yang</name>
<email>wen.yang99@zte.com.cn</email>
</author>
<published>2019-04-03T16:04:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2ae2c3316fb77dcf64275d011596b60104c45426'/>
<id>urn:sha1:2ae2c3316fb77dcf64275d011596b60104c45426</id>
<content type='text'>
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 refcount incremented on line 1509, but without a corresponding object release within this function.

Signed-off-by: Wen Yang &lt;wen.yang99@zte.com.cn&gt;
Cc: CK Hu &lt;ck.hu@mediatek.com&gt;
Cc: Philipp Zabel &lt;p.zabel@pengutronix.de&gt;
Cc: David Airlie &lt;airlied@linux.ie&gt;
Cc: Daniel Vetter &lt;daniel@ffwll.ch&gt;
Cc: Matthias Brugger &lt;matthias.bgg@gmail.com&gt;
Cc: dri-devel@lists.freedesktop.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-mediatek@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: CK Hu &lt;ck.hu@mediatek.com&gt;
</content>
</entry>
<entry>
<title>drm/mediatek: Fix an error code in mtk_hdmi_dt_parse_pdata()</title>
<updated>2019-04-02T01:25:46Z</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2019-03-28T14:31:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2d85978341e6a32e7443d9f28639da254d53f400'/>
<id>urn:sha1:2d85978341e6a32e7443d9f28639da254d53f400</id>
<content type='text'>
We don't want to overwrite "ret", it already holds the correct error
code.  The "regmap" variable might be a valid pointer as this point.

Fixes: 8f83f26891e1 ("drm/mediatek: Add HDMI support")
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: CK Hu &lt;ck.hu@mediatek.com&gt;
</content>
</entry>
<entry>
<title>drm/mediatek: Add Mediatek framebuffer device</title>
<updated>2019-03-19T02:37:40Z</updated>
<author>
<name>CK Hu</name>
<email>ck.hu@mediatek.com</email>
</author>
<published>2019-01-14T09:44:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d6db988a44294d7a91f60ecb87914694ba106305'/>
<id>urn:sha1:d6db988a44294d7a91f60ecb87914694ba106305</id>
<content type='text'>
For Mediatek drm driver, use fbdev emulation to create a framebuffer
device.

Signed-off-by: CK Hu &lt;ck.hu@mediatek.com&gt;
</content>
</entry>
<entry>
<title>drm/mediatek: Implement gem prime vmap/vunmap function</title>
<updated>2019-03-19T02:37:40Z</updated>
<author>
<name>CK Hu</name>
<email>ck.hu@mediatek.com</email>
</author>
<published>2019-01-14T09:36:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3df64d7b0a4f70f1797f23cfd4cca5c4d48131fe'/>
<id>urn:sha1:3df64d7b0a4f70f1797f23cfd4cca5c4d48131fe</id>
<content type='text'>
For some application which need kernel virtual address, such as fbcon,
implement these function to map/unmap kernel virtual address of prime
buffer.

Signed-off-by: CK Hu &lt;ck.hu@mediatek.com&gt;
</content>
</entry>
<entry>
<title>drm: Split out drm_probe_helper.h</title>
<updated>2019-01-24T12:20:42Z</updated>
<author>
<name>Daniel Vetter</name>
<email>daniel.vetter@ffwll.ch</email>
</author>
<published>2019-01-17T21:03:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fcd70cd36b9bf697122538c9e38e8cf954b2342b'/>
<id>urn:sha1:fcd70cd36b9bf697122538c9e38e8cf954b2342b</id>
<content type='text'>
Having the probe helper stuff (which pretty much everyone needs) in
the drm_crtc_helper.h file (which atomic drivers should never need) is
confusing. Split them out.

To make sure I actually achieved the goal here I went through all
drivers. And indeed, all atomic drivers are now free of
drm_crtc_helper.h includes.

v2: Make it compile. There was so much compile fail on arm drivers
that I figured I'll better not include any of the acks on v1.

v3: Massive rebase because i915 has lost a lot of drmP.h includes, but
not all: Through drm_crtc_helper.h &gt; drm_modeset_helper.h -&gt; drmP.h
there was still one, which this patch largely removes. Which means
rolling out lots more includes all over.

This will also conflict with ongoing drmP.h cleanup by others I
expect.

v3: Rebase on top of atomic bochs.

v4: Review from Laurent for bridge/rcar/omap/shmob/core bits:
- (re)move some of the added includes, use the better include files in
  other places (all suggested from Laurent adopted unchanged).
- sort alphabetically

v5: Actually try to sort them, and while at it, sort all the ones I
touch.

v6: Rebase onto i915 changes.

v7: Rebase once more.

Acked-by: Harry Wentland &lt;harry.wentland@amd.com&gt;
Acked-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Cc: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Cc: Jani Nikula &lt;jani.nikula@linux.intel.com&gt;
Cc: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Acked-by: Rodrigo Vivi &lt;rodrigo.vivi@intel.com&gt;
Acked-by: Benjamin Gaignard &lt;benjamin.gaignard@linaro.org&gt;
Acked-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
Acked-by: Neil Armstrong &lt;narmstrong@baylibre.com&gt;
Acked-by: Oleksandr Andrushchenko &lt;oleksandr_andrushchenko@epam.com&gt;
Acked-by: CK Hu &lt;ck.hu@mediatek.com&gt;
Acked-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Acked-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Reviewed-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Acked-by: Liviu Dudau &lt;liviu.dudau@arm.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@intel.com&gt;
Cc: linux-arm-kernel@lists.infradead.org
Cc: virtualization@lists.linux-foundation.org
Cc: etnaviv@lists.freedesktop.org
Cc: linux-samsung-soc@vger.kernel.org
Cc: intel-gfx@lists.freedesktop.org
Cc: linux-mediatek@lists.infradead.org
Cc: linux-amlogic@lists.infradead.org
Cc: linux-arm-msm@vger.kernel.org
Cc: freedreno@lists.freedesktop.org
Cc: nouveau@lists.freedesktop.org
Cc: spice-devel@lists.freedesktop.org
Cc: amd-gfx@lists.freedesktop.org
Cc: linux-renesas-soc@vger.kernel.org
Cc: linux-rockchip@lists.infradead.org
Cc: linux-stm32@st-md-mailman.stormreply.com
Cc: linux-tegra@vger.kernel.org
Cc: xen-devel@lists.xen.org
Link: https://patchwork.freedesktop.org/patch/msgid/20190117210334.13234-1-daniel.vetter@ffwll.ch
</content>
</entry>
</feed>
