drm: Fix namespace clashes with 'pixel_format'
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | drm/i915/gvt: Rename struct 'pixel_format' to 'gvt_pixel_format'drivers/ | +3 | 1 reply | |
| 2/2 | drm/amd/display: Rename enum 'pixel_format' to 'dc_pixel_format'drivers/ drivers/ drivers/ +4 more | +11 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Jani Nikula | Alex Hung |
|---|---|---|
| 1/2 | R-b | |
| 2/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: Fix namespace clashes with 'pixel_format'
The 'pixel_format' structure is defined in include/video/pixel_format.h. However, DRM also defines a local structure with the same name, which leads to namespace clashes as reported in [0]. As suggested in [1], rename the 'pixel_format' definitions in drivers/drm by adding a prefix to avoid the conflict.
[0]: https://lore.kernel.org/lkml/[email protected]
[1]: https://lore.kernel.org/lkml/20260313122808.GAabQC2Bmul9Odt-dX@fat_crate.local
Hou Wenlong (2):
drm/i915/gvt: Rename struct 'pixel_format' to 'gvt_pixel_format' drm/amd/display: Rename enum 'pixel_format' to 'dc_pixel_format'
drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 4 ++-- drivers/gpu/drm/amd/display/dc/dc_hw_types.h | 2 +- drivers/gpu/drm/amd/display/dc/dc_spl_translate.c | 3 ++- drivers/gpu/drm/amd/display/dc/dpp/dcn10/dcn10_dpp_dscl.c | 4 ++-- drivers/gpu/drm/amd/display/dc/dpp/dcn401/dcn401_dpp_dscl.c | 4 ++-- drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h | 2 +- drivers/gpu/drm/amd/display/dc/inc/hw/transform.h | 2 +- drivers/gpu/drm/i915/gvt/fb_decoder.c | 6 +++--- 8 files changed, 14 insertions(+), 13 deletions(-)
--
2.31.1