diff options
author | Maarten Lankhorst <[email protected]> | 2018-11-13 10:28:04 +0100 |
---|---|---|
committer | Maarten Lankhorst <[email protected]> | 2018-11-15 12:16:33 +0100 |
commit | 87b94026ff31b90a382d368123d31b2c4888069b (patch) | |
tree | d2d36936f5c1f4a8fa1a7ecf19612e1f12be1669 /scripts/bpf_helpers_doc.py | |
parent | fa96ed1f564c6310ac51eef2a2c330986526d3c2 (diff) |
drm/i915: Fix plane allocation/free functions
Use intel_plane_destroy_state in intel_plane_free to free the state.
Also fix intel_plane_alloc() to use __drm_atomic_helper_plane_reset(),
to get sane defaults from the atomic core.
This is needed to get the correct alpha value and blend mode from the
core, and any new default values added from new properties.
Signed-off-by: Maarten Lankhorst <[email protected]>
Reported-by: Ville Syrjälä <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Fixes: b20815255693 ("drm/i915: Add plane alpha blending support, v2.")
[mlankhorst: Update commit description to mention alpha blend support]
Reviewed-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions