[Intel-gfx] [PATCH v2 0/2] drm: Refactor plane size calculation by core helper functions
Carlos Eduardo Gallo Filho
gcarlos at disroot.org
Thu Jul 20 02:19:35 UTC 2023
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
More information about the Intel-gfx
mailing list