drm: Fill in default values for plane properties
Status from this message: Applied to drm/drm-misc (drm-misc-next).
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest22 patches 21 repliesApplied
- v123 patches 19 repliesSuperseded
Changes in v2 from the cover letter
- Collected tags
- Squashed some patches
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/22 | drm/komeda: plane: switch to plane reset helperdrivers/ | +1 | 2 replies | |
| 2/22 | drm/tegra: plane: switch to plane reset helperdrivers/ | +1 | 0 replies | |
| 3/22 | drm/tegra: hub: Fix zpos initial value mismatchdrivers/ | +1 | 0 replies | |
| 4/22 | drm/omap: plane: Fix zpos initial value mismatchdrivers/ | +11 | 1 reply | |
| 5/22 | drm/amd/display: Fix color encoding mismatchdrivers/ | +1 | 0 replies | |
| 6/22 | drm/object: Add drm_object_property_get_default_value() functiondrivers/ include/ | +50 | 1 reply | |
| 7/22 | drm/object: Add default zpos value at resetdrivers/ | +11 | 1 reply | |
| 8/22 | drm/tegra: plane: Remove redundant zpos initialisationdrivers/ | +0 | 0 replies | |
| 9/22 | drm/komeda: plane: Remove redundant zpos initialisationdrivers/ | +0 | 2 replies | |
| 10/22 | drm/exynos: plane: Remove redundant zpos initialisationdrivers/ | +1 | 0 replies | |
| 11/22 | drm/imx: ipuv3-plane: Remove redundant zpos initialisationdrivers/ | +0 | 0 replies | |
| 12/22 | drm/msm/mdp5: Remove redundant zpos initialisationdrivers/ | +8 | 1 reply | |
| 13/22 | drm/nouveau/kms: Remove redundant zpos initialisationdrivers/ | +0 | 5 replies | |
| 14/22 | drm/omap: plane: Remove redundant zpos initialisationdrivers/ | +0 | 1 reply | |
| 15/22 | drm/rcar: plane: Remove redundant zpos initialisationdrivers/ drivers/ | +0 | 1 reply | |
| 16/22 | drm/sti: plane: Remove redundant zpos initialisationdrivers/ drivers/ drivers/ +2 more | +3 | 1 reply | |
| 17/22 | drm/sun4i: layer: Remove redundant zpos initialisationdrivers/ | +7 | 1 reply | |
| 18/22 | drm/object: Add default color encoding and range value at resetdrivers/ | +14 | 1 reply | |
| 19/22 | drm/komeda: plane: Remove redundant color encoding and range initialisationdrivers/ | +1 | 2 replies | |
| 20/22 | drm/armada: overlay: Remove redundant color encoding and range initialisationdrivers/ | +0 | 0 replies | |
| 21/22 | drm/imx: ipuv3-plane: Remove redundant color encoding and range initialisationdrivers/ | +1 | 0 replies | |
| 22/22 | drm/omap: plane: Remove redundant color encoding and range initialisationdrivers/ | +0 | 1 reply |
Reviews trailers per patch
14 of 22 patches have a Reviewed-by or Acked-by.
| Patch | Tomi Valkeinen | Dmitry Baryshkov | Harry Wentland | Laurent Pinchart | Jernej Skrabec | Kieran Bingham | Alain Volmat | Philippe Cornu | Lyude Paul | Karol Herbst | Liviu Dudau |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1/22 | A-b | ||||||||||
| 2/22 | |||||||||||
| 3/22 | |||||||||||
| 4/22 | R-b | ||||||||||
| 5/22 | |||||||||||
| 6/22 | R-b | ||||||||||
| 7/22 | R-b | R-b | |||||||||
| 8/22 | |||||||||||
| 9/22 | A-b | ||||||||||
| 10/22 | |||||||||||
| 11/22 | |||||||||||
| 12/22 | R-b | ||||||||||
| 13/22 | R-b | R-b | |||||||||
| 14/22 | R-b | ||||||||||
| 15/22 | R-b | R-b | |||||||||
| 16/22 | R-b | R-b | |||||||||
| 17/22 | R-b | ||||||||||
| 18/22 | R-b | ||||||||||
| 19/22 | A-b | ||||||||||
| 20/22 | |||||||||||
| 21/22 | |||||||||||
| 22/22 | 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 11 reviewers.
Cover letter [PATCH v2 00/22] drm: Fill in default values for plane properties
Hi,
We have a bunch of functions that create planes properties that will take a default value, but it isn't actually enforced in the plane state.
This leads to drivers having multiple strategies to work around that issue, most of them being a variation of forcing a value at plane state reset time. Others work fine by luck, or have entirely ignored the issue.
This series aims at making sure the default value set by the call to the function isn't ignored, and then making sure all drivers behave consistently.
Let me know what you think,
Maxime
Changes from v1:
- Collected tags
- Squashed some patches
Dave Stevenson (3):
drm/object: Add drm_object_property_get_default_value() function drm/object: Add default zpos value at reset drm/object: Add default color encoding and range value at reset
Maxime Ripard (19):
drm/komeda: plane: switch to plane reset helper drm/tegra: plane: switch to plane reset helper drm/tegra: hub: Fix zpos initial value mismatch drm/omap: plane: Fix zpos initial value mismatch drm/amd/display: Fix color encoding mismatch drm/tegra: plane: Remove redundant zpos initialisation drm/komeda: plane: Remove redundant zpos initialisation drm/exynos: plane: Remove redundant zpos initialisation drm/imx: ipuv3-plane: Remove redundant zpos initialisation drm/msm/mdp5: Remove redundant zpos initialisation drm/nouveau/kms: Remove redundant zpos initialisation drm/omap: plane: Remove redundant zpos initialisation drm/rcar: plane: Remove redundant zpos initialisation drm/sti: plane: Remove redundant zpos initialisation drm/sun4i: layer: Remove redundant zpos initialisation drm/komeda: plane: Remove redundant color encoding and range
initialisation
drm/armada: overlay: Remove redundant color encoding and range
initialisation
drm/imx: ipuv3-plane: Remove redundant color encoding and range
initialisation
drm/omap: plane: Remove redundant color encoding and range
initialisation
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +- .../gpu/drm/arm/display/komeda/komeda_plane.c | 13 +---- drivers/gpu/drm/armada/armada_overlay.c | 2 - drivers/gpu/drm/drm_atomic_state_helper.c | 25 +++++++++ drivers/gpu/drm/drm_mode_object.c | 53 +++++++++++++++---- drivers/gpu/drm/exynos/exynos_drm_plane.c | 5 +- drivers/gpu/drm/imx/ipuv3-plane.c | 8 +-- drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c | 16 +++--- drivers/gpu/drm/nouveau/dispnv50/wndw.c | 2 - drivers/gpu/drm/omapdrm/omap_plane.c | 22 ++++---- drivers/gpu/drm/rcar-du/rcar_du_plane.c | 1 - drivers/gpu/drm/rcar-du/rcar_du_vsp.c | 1 - drivers/gpu/drm/sti/sti_cursor.c | 2 +- drivers/gpu/drm/sti/sti_gdp.c | 2 +- drivers/gpu/drm/sti/sti_hqvdp.c | 2 +- drivers/gpu/drm/sti/sti_plane.c | 6 --- drivers/gpu/drm/sti/sti_plane.h | 1 - drivers/gpu/drm/sun4i/sun4i_layer.c | 16 +++--- drivers/gpu/drm/tegra/hub.c | 2 +- drivers/gpu/drm/tegra/plane.c | 6 +-- include/drm/drm_mode_object.h | 7 +++ 21 files changed, 111 insertions(+), 83 deletions(-)
Signature · 1 line
2.35.1