All of lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL for renesas-drivers] VSP DRM Race V4
@ 2017-05-08 17:29 Kieran Bingham
  2017-05-09  7:13 ` Geert Uytterhoeven
  0 siblings, 1 reply; 3+ messages in thread
From: Kieran Bingham @ 2017-05-08 17:29 UTC (permalink / raw)
  To: linux-renesas-soc, geert

Hi Geert,

Please consider the following pull request for renesas-drivers.

--
Kieran


The following changes since commit 13e0988140374123bead1dd27c287354cb95108e:

  docs: complete bumping minimal GNU Make version to 3.81 (2017-05-06 18:49:09 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kbingham/rcar.git tags/submissions/vsp-drm-race/v4

for you to fetch changes up to ca41dc36340276e09767ea8c828031ae33bcf662:

  drm: rcar-du: Register a completion callback with VSP1 (2017-05-08 15:14:38 +0100)

----------------------------------------------------------------
The RCAR-DU utilises a running VSPD pipeline to perform processing for the
display pipeline. This presents the opportunity for some race conditions to
affect the quality of the display output.

To prevent reporting page flips early, we must track this timing through the
VSP1, and only allow the rcar-du object to report the page-flip completion
event after the VSP1 has processed.

This series ensures that tearing and flicker is prevented, without introducing
any (substantial) performance impact.

These patches have been tested by introducing artificial delays in the commit
code paths and verifying that no visual tearing or flickering occurs.

Extensive testing around the race window has been performed by dynamically
adapting the artificial delay between 15, and 17 seconds in 100uS increments
for periods of 5 seconds on each delay test. These tests have successfully run
for 3 hours.

Manual start/stop testing has also been performed.

Mauro: As this patchset covers two subsystems, and the DRM/DU side is dependant
upon the media/VSP side, If you are happy with these patches, Would it be
possible to get acks from you for integration through the DRM tree please?

Regards

Kieran

Kieran Bingham (3):
  v4l: vsp1: Postpone frame end handling in event of display list race
  v4l: vsp1: Extend VSP1 module API to allow DRM callbacks
  drm: rcar-du: Register a completion callback with VSP1

Laurent Pinchart (1):
  drm: rcar-du: Arm the page flip event after queuing the page flip

 drivers/gpu/drm/rcar-du/rcar_du_crtc.c  | 30 ++++++++++++++------------
 drivers/gpu/drm/rcar-du/rcar_du_crtc.h  |  1 +-
 drivers/gpu/drm/rcar-du/rcar_du_vsp.c   |  9 ++++++++-
 drivers/media/platform/vsp1/vsp1_dl.c   | 19 ++++++++++++++--
 drivers/media/platform/vsp1/vsp1_dl.h   |  2 +-
 drivers/media/platform/vsp1/vsp1_drm.c  | 17 +++++++++++++++-
 drivers/media/platform/vsp1/vsp1_drm.h  | 11 ++++++++++-
 drivers/media/platform/vsp1/vsp1_pipe.c | 13 ++++++++++-
 include/media/vsp1.h                    |  7 ++++++-
 9 files changed, 92 insertions(+), 17 deletions(-)

----------------------------------------------------------------

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

* Re: [GIT PULL for renesas-drivers] VSP DRM Race V4
  2017-05-08 17:29 [GIT PULL for renesas-drivers] VSP DRM Race V4 Kieran Bingham
@ 2017-05-09  7:13 ` Geert Uytterhoeven
  2017-05-09  8:20   ` Kieran Bingham
  0 siblings, 1 reply; 3+ messages in thread
From: Geert Uytterhoeven @ 2017-05-09  7:13 UTC (permalink / raw)
  To: Kieran Bingham; +Cc: Linux-Renesas

Hi Kieran,

On Mon, May 8, 2017 at 7:29 PM, Kieran Bingham
<kieran.bingham+renesas@ideasonboard.com> wrote:
> Please consider the following pull request for renesas-drivers.
>
> --
> Kieran
>
>
> The following changes since commit 13e0988140374123bead1dd27c287354cb95108e:
>
>   docs: complete bumping minimal GNU Make version to 3.81 (2017-05-06 18:49:09 -0700)
>
> are available in the git repository at:
>
>   git://git.kernel.org/pub/scm/linux/kernel/git/kbingham/rcar.git tags/submissions/vsp-drm-race/v4
>
> for you to fetch changes up to ca41dc36340276e09767ea8c828031ae33bcf662:
>
>   drm: rcar-du: Register a completion callback with VSP1 (2017-05-08 15:14:38 +0100)

Thank you. Looks good and merges cleanly into today's linux-next.
Let's wait and see what happens one week from now ;-)

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* Re: [GIT PULL for renesas-drivers] VSP DRM Race V4
  2017-05-09  7:13 ` Geert Uytterhoeven
@ 2017-05-09  8:20   ` Kieran Bingham
  0 siblings, 0 replies; 3+ messages in thread
From: Kieran Bingham @ 2017-05-09  8:20 UTC (permalink / raw)
  To: Geert Uytterhoeven, Kieran Bingham; +Cc: Linux-Renesas



On 09/05/17 08:13, Geert Uytterhoeven wrote:
> Hi Kieran,
> 
> On Mon, May 8, 2017 at 7:29 PM, Kieran Bingham
> <kieran.bingham+renesas@ideasonboard.com> wrote:
>> Please consider the following pull request for renesas-drivers.
>>
>> --
>> Kieran
>>
>>
>> The following changes since commit 13e0988140374123bead1dd27c287354cb95108e:
>>
>>   docs: complete bumping minimal GNU Make version to 3.81 (2017-05-06 18:49:09 -0700)
>>
>> are available in the git repository at:
>>
>>   git://git.kernel.org/pub/scm/linux/kernel/git/kbingham/rcar.git tags/submissions/vsp-drm-race/v4
>>
>> for you to fetch changes up to ca41dc36340276e09767ea8c828031ae33bcf662:
>>
>>   drm: rcar-du: Register a completion callback with VSP1 (2017-05-08 15:14:38 +0100)
> 
> Thank you. Looks good and merges cleanly into today's linux-next.
> Let's wait and see what happens one week from now ;-)
> 

Thanks - hopefully a few more to come today, once they are tested properly.
Aiming to get all the old stuff that fell by the way back up to scratch.

> Gr{oetje,eeting}s,
> 
>                         Geert
> 
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
> 
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
>                                 -- Linus Torvalds
> 

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

end of thread, other threads:[~2017-05-09  8:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-08 17:29 [GIT PULL for renesas-drivers] VSP DRM Race V4 Kieran Bingham
2017-05-09  7:13 ` Geert Uytterhoeven
2017-05-09  8:20   ` Kieran Bingham

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.