All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/8] drm/exynos: misc fixes and more
@ 2017-04-04 14:02 Tobias Jakobi
  2017-04-04 14:02 ` [RFC 1/8] drm/exynos: mixer: fix chroma comment in vp_video_buffer() Tobias Jakobi
                   ` (8 more replies)
  0 siblings, 9 replies; 13+ messages in thread
From: Tobias Jakobi @ 2017-04-04 14:02 UTC (permalink / raw)
  To: linux-samsung-soc; +Cc: dri-devel, Tobias Jakobi

Hello,

some recent work I did on Exynos. Patches are based on [1] and [2].

Summary:
(a) Enables support for NV12MT in the mixer.
(b) Sanitizes buffer pitch for HW with restrictions.
(c) Misc fixes

While testing the NV12MT part, I made these interesting observations.

(1) I used 1920x1080 XRGB8888 on the primary plane, and 1280x768 on the
video plane. With this configuration, it does not matter if you're
using NV12 or NV12MT, the video plane occasionally flickers or shows
heavy artifacting. Reducing the size of the primary plane, e.g. to
32x32 solves this issue, so my guess is that this is memory bandwidth
issue. Does someone know if one can check for buffer underflows of the
mixer with respect to data passed from the VP?

(2) Using 1920x1080i (so an interlaced mode) and NV12, the board
immediately dies with an IOMMU pagefault at address zero. I'm
currently investigating this, and it looks like that the VP setup
is wrong here. In particular it should be the source (!) height
and vertical position that should be halfed in interlaced mode, and
not the destination. Need to look more into this.

Anyway, both the issues are independant of the patches, so please
review! :-)

With best wishes,
Tobias


[1] http://www.spinics.net/lists/linux-samsung-soc/msg58640.html
[2] http://www.spinics.net/lists/linux-samsung-soc/msg58644.html

Tobias Jakobi (8):
  drm/exynos: mixer: fix chroma comment in vp_video_buffer()
  drm/exynos: mixer: enable NV12MT support for the video plane
  drm/exynos: mixer: simplify {vp_video,mixer_graph}_buffer()
  drm/exynos: mixer: remove src offset from mixer_graph_buffer()
  drm/exynos: introduce BYTE_PITCH capability
  drm/exynos: add BYTE_PITCH cap for all supported planes
  drm/exynos: consistent use of cpp
  drm/exynos: simplify set_pixfmt() in DECON and FIMD drivers

 drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 17 +++++------
 drivers/gpu/drm/exynos/exynos7_drm_decon.c    | 13 +++-----
 drivers/gpu/drm/exynos/exynos_drm_drv.h       |  2 ++
 drivers/gpu/drm/exynos/exynos_drm_fb.c        |  2 ++
 drivers/gpu/drm/exynos/exynos_drm_fimd.c      | 17 ++++-------
 drivers/gpu/drm/exynos/exynos_drm_plane.c     | 37 ++++++++++++++++++++++
 drivers/gpu/drm/exynos/exynos_mixer.c         | 44 ++++++++-------------------
 7 files changed, 71 insertions(+), 61 deletions(-)

-- 
2.7.3

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2017-04-19  1:46 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-04 14:02 [RFC 0/8] drm/exynos: misc fixes and more Tobias Jakobi
2017-04-04 14:02 ` [RFC 1/8] drm/exynos: mixer: fix chroma comment in vp_video_buffer() Tobias Jakobi
2017-04-04 14:02 ` [RFC 2/8] drm/exynos: mixer: enable NV12MT support for the video plane Tobias Jakobi
2017-04-04 14:02 ` [RFC 3/8] drm/exynos: mixer: simplify {vp_video,mixer_graph}_buffer() Tobias Jakobi
2017-04-04 14:02 ` [RFC 4/8] drm/exynos: mixer: remove src offset from mixer_graph_buffer() Tobias Jakobi
2017-04-04 14:02 ` [RFC 5/8] drm/exynos: introduce BYTE_PITCH capability Tobias Jakobi
2017-04-04 14:02 ` [RFC 6/8] drm/exynos: add BYTE_PITCH cap for all supported planes Tobias Jakobi
2017-04-04 14:03 ` [RFC 7/8] drm/exynos: consistent use of cpp Tobias Jakobi
2017-04-04 14:03 ` [RFC 8/8] drm/exynos: simplify set_pixfmt() in DECON and FIMD drivers Tobias Jakobi
2017-04-11 10:52 ` [RFC 0/8] drm/exynos: misc fixes and more Tobias Jakobi
2017-04-12  2:35   ` Inki Dae
2017-04-16 11:51     ` Tobias Jakobi
2017-04-19  1:46       ` Inki Dae

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.