Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH v2 0/2] drm: Refactor plane size calculation by core helper functions
@ 2023-07-20  2:19 Carlos Eduardo Gallo Filho
  2023-07-20  2:19 ` [Intel-gfx] [PATCH v2 1/2] drm: Remove plane hsub/vsub alignment requirement for core helpers Carlos Eduardo Gallo Filho
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Carlos Eduardo Gallo Filho @ 2023-07-20  2:19 UTC (permalink / raw)
  To: André Almeida, Maira Canal, Arthur Grillo, Tales Aparecida,
	Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
	Daniel Vetter, Jani Nikula, Joonas Lahtinen, Rodrigo Vivi,
	Tvrtko Ursulin, Juha-Pekka Heikkila, Ville Syrjälä,
	Matt Roper, Clint Taylor, Carlos Eduardo Gallo Filho,
	Niranjana Vishwanathapura
  Cc: intel-gfx, dri-devel

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

---
v1 -> v2: https://lore.kernel.org/dri-devel/20230627182239.15676-1-gcarlos@disroot.org/
  - 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(-)

-- 
2.41.0


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

end of thread, other threads:[~2023-07-20  4:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-20  2:19 [Intel-gfx] [PATCH v2 0/2] drm: Refactor plane size calculation by core helper functions Carlos Eduardo Gallo Filho
2023-07-20  2:19 ` [Intel-gfx] [PATCH v2 1/2] drm: Remove plane hsub/vsub alignment requirement for core helpers Carlos Eduardo Gallo Filho
2023-07-20  2:19 ` [Intel-gfx] [PATCH v2 2/2] drm: Replace drm_framebuffer plane size functions with its equivalents Carlos Eduardo Gallo Filho
2023-07-20  2:55 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm: Refactor plane size calculation by core helper functions Patchwork
2023-07-20  2:55 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2023-07-20  3:08 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2023-07-20  4:36 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox