drm: Try to fix encoder possible_clones/crtc
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest7 patches 20 repliesIn review
- v2 posting 2/26 patches 14 repliesSuperseded
- v2 posting 1/214 patches 2 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | drm: Include the encoder itself in possible_clonesdrivers/ drivers/ drivers/ +1 more | +26 | 1 reply | |
| 2/7 | drm/gma500: Sanitize possible_clonesdrivers/ drivers/ | +10 | 0 replies | |
| 3/7 | drm/exynos: Use drm_encoder_mask()drivers/ | +2 | 2 replies | |
| 4/7 | drm/imx: Remove the bogus possible_clones setupdrivers/ | +2 | 0 replies | |
| 5/7 | drm: Validate encoder->possible_clonesdrivers/ include/ | +42 | 3 replies | |
| 6/7 | drm: Validate encoder->possible_crtcsdrivers/ include/ | +27 | 9 replies | |
| 7/7 | drm: Allow drivers to leave encoder->possible_crtcs==0drivers/ include/ | +18 | 5 replies |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Thomas Zimmermann | Daniel Vetter | Inki Dae |
|---|---|---|---|
| 1/7 | A-b | R-b | |
| 2/7 | A-b | ||
| 3/7 | A-b | A-b | |
| 4/7 | A-b | ||
| 5/7 | A-b | R-b | |
| 6/7 | R-b | ||
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v3 0/7] drm: Try to fix encoder possible_clones/crtc
From: Ville Syrjälä <[email protected]>
Another respin of the possible_clones/crtcs fixing.
Changes based on v2 review:
- introduce drm_mode_config_validate()
- WARN for possible_clones!=0 when the encoder
itself isn't in the mask
- update the documentation to match the code
Other changes:
- sligth refactoring of the code to make it more consistent
- add a patch to fixup possible_crtcs too (might not be needed but included it just in case).
Ville Syrjälä (7):
drm: Include the encoder itself in possible_clones drm/gma500: Sanitize possible_clones drm/exynos: Use drm_encoder_mask()
drm/imx: Remove the bogus possible_clones setup
drm: Validate encoder->possible_clones
drm: Validate encoder->possible_crtcs
drm: Allow drivers to leave encoder->possible_crtcs==0
drivers/gpu/drm/drm_crtc_internal.h | 1 + drivers/gpu/drm/drm_drv.c | 3 + drivers/gpu/drm/drm_mode_config.c | 97 +++++++++++++++++++++++++ drivers/gpu/drm/exynos/exynos_drm_drv.c | 5 +- drivers/gpu/drm/gma500/framebuffer.c | 16 ++-- drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 4 +- drivers/gpu/drm/imx/imx-drm-core.c | 4 +- include/drm/drm_encoder.h | 12 ++- 8 files changed, 125 insertions(+), 17 deletions(-)
Signature · 6 lines
2.24.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel