Skip to content

Add missing format_mod_supported functions

José Expósito dri-devel intel-gfx linux-arm-kernel lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 4 repliesIn review
  2. v26 patches 8 repliesSuperseded
  3. v13 patches 6 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6drm/plane: Make format_mod_supported truly optionaldrivers/gpu/drm/drm_plane.c+2 -70 replies
2/6drm/plane: Fix typo in format_mod_supported documentationinclude/drm/drm_plane.h+1 -14 replies
3/6drm/simple-kms: Drop format_mod_supported functiondrivers/gpu/drm/drm_simple_kms_helper.c+0 -80 replies
4/6drm/i915/display: Drop format_mod_supported functiondrivers/gpu/drm/i915/display/intel_cursor.c+0 -80 replies
5/6drm: mxsfb: Drop format_mod_supported functiondrivers/gpu/drm/mxsfb/mxsfb_kms.c+0 -80 replies
6/6drm/stm: ltdc: Drop format_mod_supported functiondrivers/gpu/drm/stm/ltdc.c+0 -110 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchSimon Ser
1/6R-b
2/6R-b
3/6
4/6
5/6
6/6

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

Read the v3 thread

Cover letter [PATCH v3 0/6] Add missing format_mod_supported functions

Hi all,

This patchset supersedes [1]. Now the title is a bit misleading, but I left it this way to (hopefully) facilitate the maintainers' work.

A little context: Originally, I sent a patch adding modifiers to the VKMS driver and Simon Ser kindly reviewed it and pointed out that "format_mod_supported" was missing [2].
I asked if the docs were incorrect or if it was a bug in "create_in_format_blob".

In the first version of this series, Simon Ser and Dmitry Baryshkov agreed [1] that the code should behave as documented and "create_in_format_blob" should be changed.

The second version implemented the required changes and drops the "format_mod_supported" in the drivers that can use the default implementation. [3]

This third version fixes a compiler warning and adds the reviewed by tags.

Thanks,
José Expósito

[1] https://lore.kernel.org/dri-devel/CAA8EJpqJ-tWmb5Ba6XSK59toCtLb3nRRmVH8da4Ud_rrRYytmw@mail.gmail.com/T/
[2] https://lore.kernel.org/dri-devel/20211216170532.GA16349@elementary/T/
[3] https://lore.kernel.org/dri-devel/[email protected]/T/

José Expósito (6):
drm/plane: Make format_mod_supported truly optional drm/plane: Fix typo in format_mod_supported documentation drm/simple-kms: Drop format_mod_supported function drm/i915/display: Drop format_mod_supported function
drm: mxsfb: Drop format_mod_supported function drm/stm: ltdc: Drop format_mod_supported function

 drivers/gpu/drm/drm_plane.c                 |  9 ++-------
 drivers/gpu/drm/drm_simple_kms_helper.c     |  8 --------
 drivers/gpu/drm/i915/display/intel_cursor.c |  8 --------
 drivers/gpu/drm/mxsfb/mxsfb_kms.c           |  8 --------
 drivers/gpu/drm/stm/ltdc.c                  | 11 -----------
 include/drm/drm_plane.h                     |  2 +-
 6 files changed, 3 insertions(+), 43 deletions(-)
Signature · 1 line
2.25.1