[PATCH v2 00/10] drm/tegra: Various improvements

Thierry Reding thierry.reding at gmail.com
Fri Mar 26 14:51:29 UTC 2021


From: Thierry Reding <treding at nvidia.com>

Hi,

this fixes a couple of oddities like slightly off DMA masks and add
support for hardware cursors on newer chips as well as support for the
sector layout bit in NVIDIA framebuffer modifiers.

The first patch in this set is a small helper that I think might be
useful to other drivers eventually, but if it isn't it's easily
something I can carry in the Tegra driver. It'd be great to get an
Acked-by on it from one of the drm-misc maintainers so that I can take
it through the Tegra tree.

James, I've added you on Cc on this one because it makes use of the
extended framebuffer modifiers that you introduced a while back to
support the sector layout mux on Tegra194. It'd be great to get your
thoughts on this just so this is used as expected.

Changes in v2:
- add patch 2 that makes use of the new fourcc_mod_is_vendor() macro
- use more drm_rect helpers for hardware cursor support

Thanks,
Thierry

Thierry Reding (10):
  drm/fourcc: Add macros to determine the modifier vendor
  drm/arm: malidp: Use fourcc_mod_is_vendor() helper
  drm/tegra: dc: Inherit DMA mask
  drm/tegra: dc: Parameterize maximum resolution
  drm/tegra: dc: Implement hardware cursor on Tegra186 and later
  drm/tegra: fb: Add diagnostics for framebuffer modifiers
  drm/tegra: gem: Add a clarifying comment
  gpu: host1x: Add early init and late exit callbacks
  drm/tegra: Count number of display controllers at runtime
  drm/tegra: Support sector layout on Tegra194

 drivers/gpu/drm/arm/malidp_planes.c |   2 +-
 drivers/gpu/drm/tegra/dc.c          | 101 +++++++++++++++++++++++++---
 drivers/gpu/drm/tegra/dc.h          |   6 ++
 drivers/gpu/drm/tegra/drm.c         |  13 +++-
 drivers/gpu/drm/tegra/drm.h         |   5 ++
 drivers/gpu/drm/tegra/fb.c          |  10 +++
 drivers/gpu/drm/tegra/gem.h         |   6 ++
 drivers/gpu/drm/tegra/hub.c         |  41 ++++++++++-
 drivers/gpu/drm/tegra/plane.c       |  32 +++++++++
 drivers/gpu/host1x/bus.c            |  31 +++++++++
 include/linux/host1x.h              |   2 +
 include/uapi/drm/drm_fourcc.h       |   6 ++
 12 files changed, 241 insertions(+), 14 deletions(-)

-- 
2.30.2



More information about the dri-devel mailing list