drm: vmwgfx: Replace CRTC .commit() helper operation with .enable()
The CRTC helper .commit() operation is legacy code, the atomic helpers prefer the .enable() operation. Replace the .commit() helper operation with .enable() in the driver. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/20170627211621.27767-6-laurent.pinchart+renesas@ideasonboard.com
This commit is contained in:

committed by
Daniel Vetter

parent
4e004f644b
commit
4177b51e19
@@ -412,7 +412,7 @@ static void vmw_stdu_crtc_helper_prepare(struct drm_crtc *crtc)
|
||||
}
|
||||
|
||||
|
||||
static void vmw_stdu_crtc_helper_commit(struct drm_crtc *crtc)
|
||||
static void vmw_stdu_crtc_helper_enable(struct drm_crtc *crtc)
|
||||
{
|
||||
struct vmw_private *dev_priv;
|
||||
struct vmw_screen_target_display_unit *stdu;
|
||||
@@ -1415,7 +1415,7 @@ drm_plane_helper_funcs vmw_stdu_primary_plane_helper_funcs = {
|
||||
|
||||
static const struct drm_crtc_helper_funcs vmw_stdu_crtc_helper_funcs = {
|
||||
.prepare = vmw_stdu_crtc_helper_prepare,
|
||||
.commit = vmw_stdu_crtc_helper_commit,
|
||||
.enable = vmw_stdu_crtc_helper_enable,
|
||||
.disable = vmw_stdu_crtc_helper_disable,
|
||||
.mode_set_nofb = vmw_stdu_crtc_mode_set_nofb,
|
||||
.atomic_check = vmw_du_crtc_atomic_check,
|
||||
|
Reference in New Issue
Block a user