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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

Am 26.09.23 um 16:15 schrieb Carlos Eduardo Gallo Filho:
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.

For both patches

Reviewed-by: Thomas Zimmermann <tzimmermann@xxxxxxx>

Best regards
Thomas


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(-)


--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux