[lkml]   [2017]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [linux-sunxi] Cedrus driver

On Tue, Nov 28, 2017 at 03:51:14PM +0100, Thomas van Kleef wrote:
> On 28-11-17 13:26, Maxime Ripard wrote:
> > On Tue, Nov 28, 2017 at 12:20:59PM +0100, Thomas van Kleef wrote:
> >>> So, I have been rebasing to 4.14.0 and have the cedrus driver working.
> >> I have pulled linux-mainline 4.14.0. Then pulled the requests2 branch from Hans
> >> Verkuil's media_tree. I have a patch available of the merge between these 2
> >> branches.
> >> After this I pulled the sunxi-cedrus repository from Florent Revests github. I
> >> believe this one is the same as the ones you are cloning right now.
> >> I have merged this and have a patch available for this as well.
> >>
> >> So to summarize:
> >> o pulled linux 4.14 from:
> >>
> >> o pulled requests2 from:
> >>
> >> will be replaced with the work, when it is done, in:
> >>
> >> o pulled linux-sunxi-cedrus from:
> >>
> >>
> >> o merged and made patch between linux4.14 and requests2
> >> o merged and made patch with linux-sunxi-cedrus
> >> o Verified that the video-engine is decofing mpeg-2 on the Allwinner A20.
> >>
> >> So maybe if someone is interested in this, I could place the patches somewhere?
> >> Just let me know.
> >
> > Please create a pull request on the github repo. The point we set it
> > up was to share code. Forking repos and so on is kind of pointless.
> >
> So, I started with linux-mainline 4.14 and created a pull request with that commit.
> Never made one before so if I did something wrong tell me.
> The following changes since commit e1d1ea549b57790a3d8cf6300e6ef86118d692a3:
> Merge tag 'fbdev-v4.15' of git:// (2017-11-20 21:50:24 -1000)
> are available in the git repository at:
> for you to fetch changes up to 508ad12eb737fde07f4a25446ed941a01480d6dc:
> Merge branch 'master' of into linux-sunxi-cedrus-a20 (2017-11-28 15:28:18 +0100)
> ----------------------------------------------------------------
> Bob Ham (1):
> sunxi-cedrus: Fix compilation errors from bad types under GCC 6.2
> Florent Revest (8):
> cherry-pick sunxi_cedrus
> cherry-pick sunxi_cedrus
> v4l: Add MPEG4 low-level decoder API control
> media: platform: Add Sunxi Cedrus decoder driver
> sunxi-cedrus: Add a MPEG 2 codec
> sunxi-cedrus: Add a MPEG 4 codec
> sunxi-cedrus: Add device tree binding document
> cherry-pick sunxi_cedrus
> Hans Verkuil (15):
> videodev2.h: add max_reqs to struct v4l2_query_ext_ctrl
> videodev2.h: add request to v4l2_ext_controls
> videodev2.h: add request field to v4l2_buffer.
> vb2: add allow_requests flag
> v4l2-ctrls: add request support
> v4l2-ctrls: add function to apply a request.
> v4l2-ctrls: implement delete request(s)
> v4l2-ctrls: add VIDIOC_REQUEST_CMD
> v4l2: add initial V4L2_REQ_CMD_QUEUE support
> vb2: add helper function to queue request-specific buffer.
> v4l2-device: keep track of registered video_devices
> v4l2-device: add v4l2_device_req_queue
> vivid: add request support for video capture.
> v4l2-ctrls: add REQ_KEEP flag
> Documentation: add v4l2-requests.txt
> Icenowy Zheng (2):
> sunxi-cedrus: add syscon support
> cherry-pick sunxi_cedrus
> Thomas van Kleef (11):
> Appears that the requests2 API is currently based on linux 3.9 :(. Made some changes that needed to be merged manually, let's hope I did not make to many errors
> Fixed last missing calls for a buildable kernel with the requests2 API. Tested with a mock mem2mem device which selects the VIDEOBUF2_CORE.
> Kconfig option used to enable the VIDEOBUF2_CORE
> Fix sun5i-a13 merge errors. Mainline has moved some device nodes which resulted in nodes existing multiple times in device trees.
> o Added reserved memory region for the video-engine. o Added device node for the video engine.
> style commit
> Apply patch which adds requests2 branch from media-tree:
> Apply patch which adds linux-sunxi-cedrus from:
> Add reserved region and video-engine node to sun7i.dtsi
> Merge branch 'master' of into linux-a20-cedrus
> Merge branch 'master' of into linux-sunxi-cedrus-a20
> Vitsch Electronics (1):
> Update README

So there's a couple of issues with those patches (the pull request
itself is fine though :))

I'll try to break them down as much as possible.

A) If you want to have proper commit logs, you will usually do two
things: first create a commit title, which is what appears in the
above summary. That commit title should not be longer than 72
characters, and it should explain roughly what you're trying to
do. The actual description should be in the commit log itself, and
you should document what is the issue you're trying to fix /
improve, how you're doing it and why you've done it that way.

The final line of that commit log shoud be your Signed-off-by,
which is your agreement to the Developer Certificate of Origin
(DCO), that you'll find documented here:

B) Please base your work on a known release (4.14) and not the middle
of Linus' branch.

C) I'm not sure what you tried to do with the application of the
request API patches (such as e1ca861c168f) but we want to have the
whole commits in there, and not a patch adding all of them. This
will make the work so much easier to rebase to a later version when
some patches wouldn't have been merged and some would have.

D) Rebase :)


Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2017-11-28 16:36    [W:0.069 / U:0.540 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site