drm/komeda: Creates plane alpha and blend mode properties
Subsystems (4)
PATCH 1/1 drm/komeda: Creates plane alpha and blend mode properties
From: "Lowry Li (Arm Technology China)" <[email protected]>
Creates plane alpha and blend mode properties attached to plane.
This patch depends on:
- https://patchwork.freedesktop.org/series/59915/
- https://patchwork.freedesktop.org/series/58665/
- https://patchwork.freedesktop.org/series/59000/
- https://patchwork.freedesktop.org/series/59002/
- https://patchwork.freedesktop.org/series/59471/
Changes since v1:
- Adds patch denpendency in the comment
Changes since v2:
- Remove [RFC] from the subject
Changes since v3:
- Rebase the code
--- drivers/gpu/drm/arm/display/komeda/komeda_plane.c | 11 +++++++++++ 1 file changed, 11 insertions(+)
drivers/gpu/drm/arm/display/komeda/komeda_plane.c +11 -0
@@ -303,6 +303,17 @@ static int komeda_plane_add(struct komeda_kms_dev *kms,drm_plane_helper_add (plane, &komeda_plane_helper_funcs); + err =drm_plane_create_alpha_property (plane); +if (err) + goto cleanup; + + err =drm_plane_create_blend_mode_property (plane, +BIT (DRM_MODE_BLEND_PIXEL_NONE ) | +BIT (DRM_MODE_BLEND_PREMULTI ) | +BIT (DRM_MODE_BLEND_COVERAGE )); +if (err) + goto cleanup; + err =komeda_plane_create_layer_properties (kplane, layer);if (err) goto cleanup;
Signature · 1 line
1.9.1
Quoted 50 lines · Lowry Li (Arm Technology China)
From: "Lowry Li (Arm Technology China)" <[email protected]>
Creates plane alpha and blend mode properties attached to plane.
This patch depends on:
- https://patchwork.freedesktop.org/series/59915/
- https://patchwork.freedesktop.org/series/58665/
- https://patchwork.freedesktop.org/series/59000/
- https://patchwork.freedesktop.org/series/59002/
- https://patchwork.freedesktop.org/series/59471/Changes since v1:
- Adds patch denpendency in the commentChanges since v2:
- Remove [RFC] from the subjectChanges since v3:
- Rebase the codeSigned-off-by Lowry Li (Arm Technology China) <[email protected]>--- drivers/gpu/drm/arm/display/komeda/komeda_plane.c | 11 +++++++++++ 1 file changed, 11 insertions(+)drivers/gpu/drm/arm/display/komeda/komeda_plane.c +11
-0@@ -303,6 +303,17 @@ static int komeda_plane_add(struct komeda_kms_dev *kms,drm_plane_helper_add (plane, &komeda_plane_helper_funcs); + err =drm_plane_create_alpha_property (plane); +if (err) + goto cleanup; + + err =drm_plane_create_blend_mode_property (plane, +BIT (DRM_MODE_BLEND_PIXEL_NONE ) | +BIT (DRM_MODE_BLEND_PREMULTI ) | +BIT (DRM_MODE_BLEND_COVERAGE )); +if (err) + goto cleanup; + err =komeda_plane_create_layer_properties (kplane, layer);if (err) goto cleanup;Signature · 1 line
1.9.1
lgtm.