drm/tegra: Sanitize format modifiers
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 of 2 patches 1 replyIn review
1 of 2 patches is in this archive. The cover letter announces 2.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | drm/fourcc: Fix fourcc_mod_code() definitioninclude/ | +1 | 1 reply |
Reviews trailers per patch
The patch has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Daniel Vetter |
|---|---|
| Series | A-b |
| 1/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] drm/tegra: Sanitize format modifiers
From: Thierry Reding <[email protected]>
Hi,
This series is preparatory work in order to enable format modifiers on both Tegra and Nouveau drivers to allow drivers to exchange tiling mode information. I also have the corresponding libdrm changes that I can send out as soon as these patches have been merged.
Technically this breaks ABI, but these modifiers are not used anywhere yet, except in libdrm's modetest where they are used to decode the IN_FORMATS property. However, the Tegra DRM driver doesn't implement the ->format_mod_supported() callback yet, so the modifiers are never actually exposed.
I had discussed this with Daniel Vetter a little while back and he thought this was okay. As suggested by him, I renamed the modifier definitions for good measure to avoid clashing with the old definitions in case they are used in test code somewhere.
Thierry
Thierry Reding (2):
drm/fourcc: Fix fourcc_mod_code() definition
drm/tegra: Sanitize format modifiers
drivers/gpu/drm/tegra/fb.c | 35 +++++++++++++++++++++++++++++------ include/uapi/drm/drm_fourcc.h | 38 ++++++++++++++++++++------------------ 2 files changed, 49 insertions(+), 24 deletions(-)
Signature · 1 line
2.15.0