drm/plane: Make ->atomic_update() mandatory
There is no use-case where it would be useful for drivers not to implement this function and the transitional plane helpers already require drivers to provide an implementation. v2: add new requirement to kerneldoc Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
@@ -1108,7 +1108,7 @@ void drm_atomic_helper_commit_planes(struct drm_device *dev,
|
||||
|
||||
funcs = plane->helper_private;
|
||||
|
||||
if (!funcs || !funcs->atomic_update)
|
||||
if (!funcs)
|
||||
continue;
|
||||
|
||||
old_plane_state = old_state->plane_states[i];
|
||||
|
Reference in New Issue
Block a user