public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] v4l: vsp1: Partition phase developments
@ 2017-02-10 20:27 Kieran Bingham
  2017-02-10 20:27 ` [PATCH 1/8] v4l: vsp1: Provide UDS register updates Kieran Bingham
                   ` (8 more replies)
  0 siblings, 9 replies; 19+ messages in thread
From: Kieran Bingham @ 2017-02-10 20:27 UTC (permalink / raw)
  To: laurent.pinchart, linux-media, linux-renesas-soc, kieran.bingham
  Cc: Kieran Bingham

This series presents ongoing work with the scaler partition algorithm.

It is based upon the previous partition algorithm improvements submission [0]
This series has been pushed to a tag [1] for convenience in testing.

Patches 1-3, provide fixes and additions to the register definitions needed for
controlling the phases of the UDS.

Patches 4 and 5 rework the partition data configuration storage, opening the
path for Patch 6 to implement a new entity operation API. This new '.partition'
operation gives each entity an opportunity to adapt the partition data based on
its configuration.

A new helper function "vsp1_pipeline_propagate_partition()" is provided by the
vsp1_pipe to walk the pipeline in reverse, with each entity having the
opportunity to define it's input requirements to the predecessors.

Partition data is stored somewhat inefficiently in this series, whilst the
process is established and can be considered for improvement later.

Patch 7 begins the implementation of calculating the phase values in the UDS,
and applying them in the VI6_UDS_HPHASE register appropriately. Phase
calculations have been established from the partition algorithm pseudo code
provided by renesas, although the 'end phase' is always set as 0 in this code,
it is yet to be determined if this has an effect.

Finally Patch 8, begins to allow the UDS entity to perform extra overlap at the
partition borders to provide the filters with the required data to generate
clean transitions from one partition to the next.

[0] https://www.mail-archive.com/linux-renesas-soc@vger.kernel.org/msg08631.html
[1] https://git.kernel.org/pub/scm/linux/kernel/git/kbingham/rcar.git#vsp1/pa-phases-2017-02-10

Kieran Bingham (8):
  v4l: vsp1: Provide UDS register updates
  v4l: vsp1: Track the SRU entity in the pipeline
  v4l: vsp1: Correct image partition parameters
  v4l: vsp1: Move partition rectangles to struct
  v4l: vsp1: Operate on partition struct data directly
  v4l: vsp1: Allow entities to participate in the partition algorithm
  v4l: vsp1: Calculate UDS phase for partitions
  v4l: vsp1: Implement left edge partition algorithm overlap

 drivers/media/platform/vsp1/vsp1_entity.h |   8 +-
 drivers/media/platform/vsp1/vsp1_pipe.c   |  22 ++++-
 drivers/media/platform/vsp1/vsp1_pipe.h   |  49 +++++++-
 drivers/media/platform/vsp1/vsp1_regs.h   |  14 ++-
 drivers/media/platform/vsp1/vsp1_rpf.c    |  40 +++---
 drivers/media/platform/vsp1/vsp1_sru.c    |  29 +++++-
 drivers/media/platform/vsp1/vsp1_uds.c    | 144 ++++++++++++++++++++++-
 drivers/media/platform/vsp1/vsp1_video.c  |  82 ++++++++-----
 drivers/media/platform/vsp1/vsp1_wpf.c    |  34 +++--
 9 files changed, 364 insertions(+), 58 deletions(-)

base-commit: 0c3b6ad6a559391f367879fd4be6d2d85625bd5a
-- 
git-series 0.9.1

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2017-02-14  0:01 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-10 20:27 [PATCH 0/8] v4l: vsp1: Partition phase developments Kieran Bingham
2017-02-10 20:27 ` [PATCH 1/8] v4l: vsp1: Provide UDS register updates Kieran Bingham
2017-02-13 21:30   ` Laurent Pinchart
2017-02-10 20:27 ` [PATCH 2/8] v4l: vsp1: Track the SRU entity in the pipeline Kieran Bingham
2017-02-13 21:36   ` Laurent Pinchart
2017-02-10 20:27 ` [PATCH 3/8] v4l: vsp1: Correct image partition parameters Kieran Bingham
2017-02-13 21:45   ` Laurent Pinchart
2017-02-10 20:27 ` [PATCH 4/8] v4l: vsp1: Move partition rectangles to struct Kieran Bingham
2017-02-13 21:52   ` Laurent Pinchart
2017-02-10 20:27 ` [PATCH 5/8] v4l: vsp1: Operate on partition struct data directly Kieran Bingham
2017-02-13 22:05   ` Laurent Pinchart
2017-02-10 20:27 ` [PATCH 6/8] v4l: vsp1: Allow entities to participate in the partition algorithm Kieran Bingham
2017-02-13 22:51   ` Laurent Pinchart
2017-02-13 23:03     ` Laurent Pinchart
2017-02-10 20:27 ` [PATCH 7/8] v4l: vsp1: Calculate UDS phase for partitions Kieran Bingham
2017-02-13 23:21   ` Laurent Pinchart
2017-02-10 20:27 ` [PATCH 8/8] v4l: vsp1: Implement left edge partition algorithm overlap Kieran Bingham
2017-02-13 23:30   ` Laurent Pinchart
2017-02-14  0:01 ` [PATCH 0/8] v4l: vsp1: Partition phase developments Laurent Pinchart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox