Skip to content

drm: Refactor plane size calculation by core helper functions

Carlos Eduardo Gallo Filho dri-devel intel-gfx 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/22 patches 4 repliesIn review
  2. v2 posting 1/22 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- New patch "[PATCH v2 1/2] drm: Remove plane hsub/vsub alignment requirement for core helpers".

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm: Remove plane hsub/vsub alignment requirement for core helpersinclude/drm/drm_fourcc.h+3 -21 reply
2/2drm: Replace drm_framebuffer plane size functions with its equivalentsdrivers/gpu/drm/drm_framebuffer.c drivers/gpu/drm/i915/display/intel_fb.c include/drm/drm_framebuffer.h+5 -661 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchThomas ZimmermannAndré Almeida
SeriesR-b
1/2R-b
2/2R-b

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

Read the v2 thread

Cover letter [RESEND PATCH v2 0/2] drm: Refactor plane size calculation by core helper functions

There's duplicated functions on drm that do the same job of calculating the size of planes from a drm_format_info and the size of its first plane. So this patchset throw away the more specific version intended to be used from a given framebuffer and make the generic version way more portable against the drivers.

Thanks,
Carlos

---
v2:
- New patch "[PATCH v2 1/2] drm: Remove plane hsub/vsub alignment requirement for core helpers".

Carlos Eduardo Gallo Filho (2):
drm: Remove plane hsub/vsub alignment requirement for core helpers
drm: Replace drm_framebuffer plane size functions with its equivalents

 drivers/gpu/drm/drm_framebuffer.c       | 64 ++-----------------------
 drivers/gpu/drm/i915/display/intel_fb.c |  2 +-
 include/drm/drm_fourcc.h                |  5 +-
 include/drm/drm_framebuffer.h           |  5 --
 4 files changed, 8 insertions(+), 68 deletions(-)
Signature · 1 line
2.41.0