Skip to content

drm/tegra: Miscellaneous enhancements

Thierry Reding dri-devel linux-tegra 4 versions – In review

Get series with b4
b4 am 1361457361-13838-1-git-send-email-thierry.reding@avionic-design.de

Versions newest first · linked by author and title

  1. v4 Latest9 patches 3 repliesIn review
  2. v37 patches 15 repliesSuperseded
  3. v25 patches 36 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v15 patches20 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9drm: Add consistency check for page-flippingDocumentation/DocBook/drm.tmpl drivers/gpu/drm/drm_crtc.c+13 -00 replies
2/9drm/tegra: Remove bogus tegra_framebuffer structuredrivers/gpu/drm/tegra/dc.c drivers/gpu/drm/tegra/drm.h+1 -120 replies
3/9drm/tegra: Add plane supportdrivers/gpu/drm/tegra/dc.c drivers/gpu/drm/tegra/dc.h drivers/gpu/drm/tegra/drm.h+372 -950 replies
4/9drm/tegra: Implement .mode_set_base()drivers/gpu/drm/tegra/dc.c+32 -00 replies
5/9drm/tegra: Implement VBLANK supportdrivers/gpu/drm/tegra/dc.c drivers/gpu/drm/tegra/drm.c drivers/gpu/drm/tegra/drm.h+91 -170 replies
6/9drm/tegra: Implement page-flipping supportdrivers/gpu/drm/tegra/dc.c drivers/gpu/drm/tegra/dc.h drivers/gpu/drm/tegra/drm.c +1 more+82 -03 replies
7/9drm/tegra: Split DC_CMD_STATE_CONTROL register writedrivers/gpu/drm/tegra/dc.c+3 -20 replies
8/9drm/tegra: Fix color expansiondrivers/gpu/drm/tegra/dc.c+1 -10 replies
9/9drm/tegra: Add list of framebuffers to debugfsdrivers/gpu/drm/tegra/drm.c+44 -00 replies

Reviews trailers per patch

1 of 9 patches has a Reviewed-by or Acked-by.

PatchDaniel Vetter
1/9R-b
2/9
3/9
4/9
5/9
6/9
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/9] drm/tegra: Miscellaneous enhancements

This patch series introduces a number of useful features for the Tegra DRM driver. Patch 1 is a documentation update and adds a warning to the page-flip IOCTL to catch buggy drivers that return success but failed to update the crtc->fb field, which would cause the reference counting to become unbalanced.

Patch 2 removes usage of the tegra_framebuffer structure which was used before the driver moved to the CMA FB helpers. It is wrong to use it but it happens to work because the drm_fb_cma and tegra_framebuffers were sufficiently similar.

Patch 3 adds support for the additional two planes available on Tegra hardware, while patch 4 implement .mode_set_base() to allow for some nice speed up when changing the framebuffer without actually changing the resolution. Patch 5 adds VBLANK support and patch 6 builds on the previous two to provide the page-flipping IOCTL. Patch 7 splits the DC_CMD_STATE_CONTROL register writes into two consecutive writes as required by the TRM.

Finally patch 8 fixes color expansions for pixel formats with less than 24 bits per pixel and patch 9 adds a new file, named "framebuffers" to debugfs which can be used to dump a list of framebuffers attached to the DRM device. This is most useful to inspect the reference count but could also be helpful in diagnosing out-of-memory conditions and such.

This series is based on Dave's drm-next branch.

Thierry

Thierry Reding (9):
drm: Add consistency check for page-flipping drm/tegra: Remove bogus tegra_framebuffer structure drm/tegra: Add plane support
drm/tegra: Implement .mode_set_base() drm/tegra: Implement VBLANK support drm/tegra: Implement page-flipping support drm/tegra: Split DC_CMD_STATE_CONTROL register write drm/tegra: Fix color expansion
drm/tegra: Add list of framebuffers to debugfs

 Documentation/DocBook/drm.tmpl |   6 +
 drivers/gpu/drm/drm_crtc.c     |   7 +
 drivers/gpu/drm/tegra/dc.c     | 585 +++++++++++++++++++++++++++++++++--------
 drivers/gpu/drm/tegra/dc.h     |  14 +-
 drivers/gpu/drm/tegra/drm.c    | 103 ++++++++
 drivers/gpu/drm/tegra/drm.h    |  43 ++-
 6 files changed, 635 insertions(+), 123 deletions(-)
Signature · 1 line
1.8.1.2