<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 2014年09月24日 19:20, Daniel Vetter
wrote:<br>
</div>
<blockquote
cite="mid:CAKMK7uHiQFDH-qyPBsyVa953F5SY2UgSv7Nbsu73AKvjqUm1jw@mail.gmail.com"
type="cite">
<pre wrap="">On Wed, Sep 24, 2014 at 11:31 AM, Mark yao <a class="moz-txt-link-rfc2396E" href="mailto:mark.yao@rock-chips.com"><mark.yao@rock-chips.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On 2014年09月24日 16:20, Daniel Vetter wrote:
</pre>
<blockquote type="cite">
<pre wrap="">
On Mon, Sep 22, 2014 at 06:48:54PM +0800, Mark yao wrote:
</pre>
<blockquote type="cite">
<pre wrap="">
This patch adds the basic structure of a DRM Driver for Rockchip Socs.
Signed-off-by: Mark yao <a class="moz-txt-link-rfc2396E" href="mailto:mark.yao@rock-chips.com"><mark.yao@rock-chips.com></a>
---
Changes in v2:
- use the component framework to defer main drm driver probe
until all VOP devices have been probed.
- use dma-mapping API with ARM_DMA_USE_IOMMU, create dma mapping by
master device and each vop device can shared the drm dma mapping.
- use drm_crtc_init_with_planes and drm_universal_plane_init.
- remove unnecessary middle layers.
- add cursor set, move funcs to rockchip drm crtc.
- use vop reset at first init
- reference framebuffer when used and unreference when swap out vop
Changes in v3:
- change "crtc->fb" to "crtc->primary-fb"
Adviced by Daniel Vetter
- init cursor plane with universal api, remove unnecessary cursor
set,move
Changes in v4:
Adviced by David Herrmann
- remove drm_platform_*() usage, use register drm device directly.
Adviced by Rob Clark
- remove special mmap ioctl, do userspace mmap with normal mmap() or mmap
offset
drivers/gpu/drm/Kconfig | 2 +
drivers/gpu/drm/Makefile | 1 +
drivers/gpu/drm/rockchip/Kconfig | 19 +
drivers/gpu/drm/rockchip/Makefile | 10 +
drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 524 ++++++++++
drivers/gpu/drm/rockchip/rockchip_drm_drv.h | 120 +++
drivers/gpu/drm/rockchip/rockchip_drm_fb.c | 201 ++++
drivers/gpu/drm/rockchip/rockchip_drm_fb.h | 28 +
drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c | 231 +++++
drivers/gpu/drm/rockchip/rockchip_drm_fbdev.h | 20 +
drivers/gpu/drm/rockchip/rockchip_drm_gem.c | 404 ++++++++
drivers/gpu/drm/rockchip/rockchip_drm_gem.h | 72 ++
drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 1372
+++++++++++++++++++++++++
drivers/gpu/drm/rockchip/rockchip_drm_vop.h | 187 ++++
include/uapi/drm/rockchip_drm.h | 75 ++
</pre>
</blockquote>
<pre wrap="">
uapi is still here ... Was this an oversight?
-Daniel
</pre>
</blockquote>
<pre wrap="">Hi, Daniel
this version is old, newest is v5. and I remove uapi at v5.
you can see v5 patch at:
<a class="moz-txt-link-freetext" href="https://lkml.org/lkml/2014/9/23/1061">https://lkml.org/lkml/2014/9/23/1061</a>
thanks
</pre>
</blockquote>
<pre wrap="">
This version doesn't seem to be cc'ed to dri-devel, at least it didn't
yet show up. Can you please double-check?</pre>
</blockquote>
actually I cc the v5 version to <a class="moz-txt-link-abbreviated" href="mailto:dri-devel@lists.freedesktop.org">dri-devel@lists.freedesktop.org</a>. <br>
and we can found the patch at
<a class="moz-txt-link-freetext" href="https://patchwork.kernel.org/patch/4967501/(">https://patchwork.kernel.org/patch/4967501/(</a>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<strong style="color: rgb(0, 0, 0); font-family: 'DejaVu Sans',
'Bitstream Vera Sans', Verdana, sans-serif; font-size: 12px;
font-style: normal; font-variant: normal; letter-spacing: normal;
line-height: normal; orphans: auto; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(232, 232, 232);">Project</strong><span
style="color: rgb(0, 0, 0); font-family: 'DejaVu Sans', 'Bitstream
Vera Sans', Verdana, sans-serif; font-size: 12px; font-style:
normal; font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: normal; orphans: auto; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(232, 232, 232); display: inline !important;
float: none;">: dri-devel<span class="Apple-converted-space"></span></span>)<br>
<blockquote
cite="mid:CAKMK7uHiQFDH-qyPBsyVa953F5SY2UgSv7Nbsu73AKvjqUm1jw@mail.gmail.com"
type="cite">
<pre wrap="">
Thanks, Daniel
</pre>
</blockquote>
<br>
</body>
</html>