<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/gpu/drm/rockchip, branch v4.4.123</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v4.4.123</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v4.4.123'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2015-12-02T02:22:21+00:00</updated>
<entry>
<title>drm/rockchip: Use CRTC vblank event interface</title>
<updated>2015-12-02T02:22:21+00:00</updated>
<author>
<name>Daniel Stone</name>
<email>daniels@collabora.com</email>
</author>
<published>2015-11-16T12:50:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=c9fbb7f7b5c56752373e4f425d5157815426e233'/>
<id>urn:sha1:c9fbb7f7b5c56752373e4f425d5157815426e233</id>
<content type='text'>
Passing -1 as the pipe for vblank events now triggers a WARN_ON, but had
previously made multi-screen unusable anyway. Pass the correct pipe to
the event-send function, and use the new API to make this a bit easier
for us.

Fixes WARN present since cc1ef118fc for every pageflip event sent:
[  209.549969] ------------[ cut here ]------------
[  209.554592] WARNING: CPU: 3 PID: 238 at drivers/gpu/drm/drm_irq.c:924 drm_vblank_count_and_time+0x80/0x88 [drm]()
[  209.564832] Modules linked in: [...]
[  209.612401] CPU: 3 PID: 238 Comm: irq/41-ff940000 Tainted: G        W       4.3.0-rc6+ #71
[  209.620647] Hardware name: Rockchip (Device Tree)
[  209.625348] [&lt;c001bb80&gt;] (unwind_backtrace) from [&lt;c001615c&gt;] (show_stack+0x20/0x24)
[  209.633079] [&lt;c001615c&gt;] (show_stack) from [&lt;c02b2c50&gt;] (dump_stack+0x8c/0x9c)
[  209.640289] [&lt;c02b2c50&gt;] (dump_stack) from [&lt;c0052e88&gt;] (warn_slowpath_common+0x94/0xc4)
[  209.648364] [&lt;c0052e88&gt;] (warn_slowpath_common) from [&lt;c0052f74&gt;] (warn_slowpath_null+0x2c/0x34)
[  209.657139] [&lt;c0052f74&gt;] (warn_slowpath_null) from [&lt;bf17dc30&gt;] (drm_vblank_count_and_time+0x80/0x88 [drm])
[  209.666875] [&lt;bf17dc30&gt;] (drm_vblank_count_and_time [drm]) from [&lt;bf17e484&gt;] (drm_send_vblank_event+0x74/0x7c [drm])
[  209.677385] [&lt;bf17e484&gt;] (drm_send_vblank_event [drm]) from [&lt;bf4c1144&gt;] (vop_win_state_complete+0x4c/0x70 [rockchip_drm_vop])
[  209.688757] [&lt;bf4c1144&gt;] (vop_win_state_complete [rockchip_drm_vop]) from [&lt;bf4c3bdc&gt;] (vop_isr_thread+0x170/0x1d4 [rockchip_drm_vop])
[  209.700822] [&lt;bf4c3bdc&gt;] (vop_isr_thread [rockchip_drm_vop]) from [&lt;c00ab93c&gt;] (irq_thread_fn+0x2c/0x50)
[  209.710284] [&lt;c00ab93c&gt;] (irq_thread_fn) from [&lt;c00abcac&gt;] (irq_thread+0x13c/0x188)
[  209.717927] [&lt;c00abcac&gt;] (irq_thread) from [&lt;c00723c8&gt;] (kthread+0xec/0x104)
[  209.724965] [&lt;c00723c8&gt;] (kthread) from [&lt;c0011638&gt;] (ret_from_fork+0x14/0x3c)
[  209.732171] ---[ end trace 0690bc604f5d535d ]---

Signed-off-by: Daniel Stone &lt;daniels@collabora.com&gt;
Cc: Sjoerd Simons &lt;sjoerd.simons@collabora.co.uk&gt;
Cc: Thierry Reding &lt;treding@nvidia.com&gt;
Cc: Heiko Stuebner &lt;heiko@sntech.de&gt;
Tested-By: Sjoerd Simons &lt;sjoerd.simons@collabora.co.uk&gt;
Tested-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
Reviewed-by: Thierry Reding &lt;treding@nvidia.com&gt;
</content>
</entry>
<entry>
<title>drm/rockchip: Fix module autoload for OF platform driver</title>
<updated>2015-12-02T01:13:19+00:00</updated>
<author>
<name>Luis de Bethencourt</name>
<email>luisbg@osg.samsung.com</email>
</author>
<published>2015-11-30T14:56:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=3b134ced9c1fb15fa91034fc7787d651155b64f9'/>
<id>urn:sha1:3b134ced9c1fb15fa91034fc7787d651155b64f9</id>
<content type='text'>
This platform driver has a OF device ID table but the OF module
alias information is not created so module autoloading won't work.

Signed-off-by: Luis de Bethencourt &lt;luisbg@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>drm/rockchip: vop: fix window origin calculation</title>
<updated>2015-12-02T01:13:18+00:00</updated>
<author>
<name>Dominik Behr</name>
<email>dbehr@chromium.org</email>
</author>
<published>2015-11-10T09:59:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=72906ce0301fc8a2cbfa52632191b0ba719699b5'/>
<id>urn:sha1:72906ce0301fc8a2cbfa52632191b0ba719699b5</id>
<content type='text'>
VOP_WINx_DSP_ST does not require subtracting 1 from the values written to
it. It actually causes the screen to be shifted by one pixel.

Signed-off-by: Mark Yao &lt;mark.yao@rock-chips.com&gt;
Tested-by: Yakir Yang &lt;ykk@rock-chips.com&gt;
Reviewed-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
Tested-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
Signed-off-by: Dominik Behr &lt;dbehr@chromium.org&gt;
Signed-off-by: Mark Yao &lt;mark.yao@rock-chips.com&gt;
</content>
</entry>
<entry>
<title>drm/rockchip: unset pgoff when mmap'ing gems</title>
<updated>2015-12-02T01:13:17+00:00</updated>
<author>
<name>Heiko Stuebner</name>
<email>heiko@sntech.de</email>
</author>
<published>2015-11-09T19:52:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=a8594f20cafadb6ba58f915dea5f2c94a9333b1a'/>
<id>urn:sha1:a8594f20cafadb6ba58f915dea5f2c94a9333b1a</id>
<content type='text'>
Commit 371f0f085f629 ("ARM: 8426/1: dma-mapping: add missing range check
 in dma_mmap()") introduced offset-checking for mappings, which collides
with the fake-offset the drm sets for gems.

Other drm-drivers set this offset to 0 before doing the mapping, so
this looks like the correct way to go for rockchip as well.

Fixes: 371f0f085f629 ("ARM: 8426/1: dma-mapping: add missing range check in dma_mmap()")
Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
</content>
</entry>
<entry>
<title>drm/rockchip: vop: Correct enabled clocks during setup</title>
<updated>2015-12-01T10:52:05+00:00</updated>
<author>
<name>Sjoerd Simons</name>
<email>sjoerd.simons@collabora.co.uk</email>
</author>
<published>2015-11-06T12:22:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=d7b53fd9e37a4127077720f4fef10330e284107c'/>
<id>urn:sha1:d7b53fd9e37a4127077720f4fef10330e284107c</id>
<content type='text'>
When doing the initial setup both the hclk and the aclk need to be
enabled otherwise the board will simply hang. This only occurs when
building the vop driver as a module, when its built-in the initial setup
happens to run before the clock framework shuts of unused clocks
(including the aclk).

While there also switch to doing prepare and enable in one step rather
then separate steps to reduce the amount of code required.

Signed-off-by: Sjoerd Simons &lt;sjoerd.simons@collabora.co.uk&gt;
Acked-by: Mark Yao &lt;mark.yao@rock-chips.com&gt;
Tested-by: Yakir Yang &lt;ykk@rock-chips.com&gt;
Tested-by: Romain Perier &lt;romain.perier@gmail.com&gt;
</content>
</entry>
<entry>
<title>Revert "drm/rockchip: Convert the probe function to the generic drm_of_component_probe()"</title>
<updated>2015-11-12T23:59:46+00:00</updated>
<author>
<name>Mark Yao</name>
<email>mark.yao@rock-chips.com</email>
</author>
<published>2015-11-10T08:47:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=5bad7d29a7bcffb2dbc28ea2728eeb3af13784f2'/>
<id>urn:sha1:5bad7d29a7bcffb2dbc28ea2728eeb3af13784f2</id>
<content type='text'>
This reverts commit 52f5eb60940de889ce98a876f6933b574ead3225.

Rockchip drm can't work with generic drm_of_component_probe now

Signed-off-by: Mark Yao &lt;mark.yao@rock-chips.com&gt;
Acked-by: Liviu Dudau &lt;Liviu.Dudau@arm.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/rockchip: Convert the probe function to the generic drm_of_component_probe()</title>
<updated>2015-10-20T10:01:30+00:00</updated>
<author>
<name>Liviu Dudau</name>
<email>Liviu.Dudau@arm.com</email>
</author>
<published>2015-10-20T09:23:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=52f5eb60940de889ce98a876f6933b574ead3225'/>
<id>urn:sha1:52f5eb60940de889ce98a876f6933b574ead3225</id>
<content type='text'>
Use the generic drm_of_component_probe() function to probe for components.

Signed-off-by: Liviu Dudau &lt;Liviu.Dudau@arm.com&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/1445332995-11212-4-git-send-email-Liviu.Dudau@arm.com
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
</content>
</entry>
<entry>
<title>drm/gem: Drop struct_mutex requirement from drm_gem_mmap_obj</title>
<updated>2015-10-16T13:51:00+00:00</updated>
<author>
<name>Daniel Vetter</name>
<email>daniel.vetter@ffwll.ch</email>
</author>
<published>2015-10-15T07:36:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=4e270f088011c6954034d6c4b5453e5cd7e02c7a'/>
<id>urn:sha1:4e270f088011c6954034d6c4b5453e5cd7e02c7a</id>
<content type='text'>
Since

commit 131e663bd6f1055caaff128f9aa5071d227eeb72
Author: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Date:   Thu Jul 9 23:32:33 2015 +0200

    drm/gem: rip out drm vma accounting for gem mmaps

there is no need for this any more.

v2: Fixup compile noise spotted by 0-day build.

Link: http://mid.gmane.org/1444894601-5200-9-git-send-email-daniel.vetter@ffwll.ch
Reviewed-by: David Herrmann &lt;dh.herrmann@gmail.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@intel.com&gt;
</content>
</entry>
<entry>
<title>drm: Stop using drm_vblank_count() as the hw frame counter</title>
<updated>2015-10-07T14:13:52+00:00</updated>
<author>
<name>Ville Syrjälä</name>
<email>ville.syrjala@linux.intel.com</email>
</author>
<published>2015-09-30T13:46:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=b44f84081b8db1b5830cbd30280ba1109cc1a084'/>
<id>urn:sha1:b44f84081b8db1b5830cbd30280ba1109cc1a084</id>
<content type='text'>
drm_vblank_count() returns the software counter. We should not pretend
it's the hw counter since we use the hw counter to figuere out what the
software counter value should be. So instead provide a new function
drm_vblank_no_hw_counter() for drivers that don't have a real hw
counter. The new function simply returns 0, which is about the only
thing it can do.

Cc: Vincent Abriou &lt;vincent.abriou@st.com&gt;
Cc: Thierry Reding &lt;treding@nvidia.com&gt;
Signed-off-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Reviewed-by: Vincent Abriou &lt;vincent.abriou@st.com&gt;
[danvet: s/int pipe/unsigned int pipe/ to follow Thierry's interface
change.]
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
</content>
</entry>
<entry>
<title>drm/irq: Use unsigned int pipe in public API</title>
<updated>2015-10-06T10:57:47+00:00</updated>
<author>
<name>Thierry Reding</name>
<email>treding@nvidia.com</email>
</author>
<published>2015-09-24T16:35:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=88e72717c2de4181d8a6de1b04315953ad2bebdf'/>
<id>urn:sha1:88e72717c2de4181d8a6de1b04315953ad2bebdf</id>
<content type='text'>
This continues the pattern started in commit cc1ef118fc09 ("drm/irq:
Make pipe unsigned and name consistent"). This is applied to the public
APIs and driver callbacks, so pretty much all drivers need to be updated
to match the new prototypes.

Cc: Christian König &lt;christian.koenig@amd.com&gt;
Cc: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Cc: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
Cc: Inki Dae &lt;inki.dae@samsung.com&gt;
Cc: Jianwei Wang &lt;jianwei.wang.chn@gmail.com&gt;
Cc: Alison Wang &lt;alison.wang@freescale.com&gt;
Cc: Patrik Jakobsson &lt;patrik.r.jakobsson@gmail.com&gt;
Cc: Daniel Vetter &lt;daniel.vetter@intel.com&gt;
Cc: Jani Nikula &lt;jani.nikula@linux.intel.com&gt;
Cc: Philipp Zabel &lt;p.zabel@pengutronix.de&gt;
Cc: David Airlie &lt;airlied@linux.ie&gt;
Cc: Rob Clark &lt;robdclark@gmail.com&gt;
Cc: Ben Skeggs &lt;bskeggs@redhat.com&gt;
Cc: Tomi Valkeinen &lt;tomi.valkeinen@ti.com&gt;
Cc: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Cc: Mark Yao &lt;mark.yao@rock-chips.com&gt;
Cc: Benjamin Gaignard &lt;benjamin.gaignard@linaro.org&gt;
Cc: Vincent Abriou &lt;vincent.abriou@st.com&gt;
Cc: Thomas Hellstrom &lt;thellstrom@vmware.com&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
Reviewed-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
</content>
</entry>
</feed>
