disp: msm: Pass the full state to crtc plane and connector atomic functions
Pass full state to crtc, plane, and connector atomic functions and retrieve drm_crtc/plane/connector_state within the atomic function. Additionally, the plane atomic update function is used as an upstream hook as well as locally called in the plane restore path. To ensure both paths are functional, introduce a plane atomic update version which takes in drm_plane_state keeping with the previous parameter expectations. Change-Id: Ia295935dd81ea8680a347eba0929e209d93ae830 Signed-off-by: Bruce Hoo <bingchua@codeaurora.org> Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
1ef7ff26d6
commit
ddac29b52c
@@ -419,7 +419,7 @@ static void msm_atomic_helper_commit_modeset_enables(struct drm_device *dev,
|
||||
crtc->base.id);
|
||||
|
||||
if (funcs->atomic_enable)
|
||||
funcs->atomic_enable(crtc, old_crtc_state);
|
||||
funcs->atomic_enable(crtc, old_state);
|
||||
else
|
||||
funcs->commit(crtc);
|
||||
}
|
||||
|
Reference in New Issue
Block a user