From: Gerd Hoffmann Date: Fri, 11 Jan 2019 05:37:42 +0000 (+0100) Subject: drm/bochs: atomic: use atomic set_config helper X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=c13008562f810d8da598ab05ebf38ebd5e3d3bac;p=openwrt%2Fstaging%2Fblogic.git drm/bochs: atomic: use atomic set_config helper Conversion to atomic modesetting, step four. Use atomic set_config helper for crtc. Signed-off-by: Gerd Hoffmann Reviewed-by: Oleksandr Andrushchenko Acked-by: Daniel Vetter Link: http://patchwork.freedesktop.org/patch/msgid/20190111053752.4004-7-kraxel@redhat.com --- diff --git a/drivers/gpu/drm/bochs/bochs_kms.c b/drivers/gpu/drm/bochs/bochs_kms.c index c6993c2d596d..646f897cb2b4 100644 --- a/drivers/gpu/drm/bochs/bochs_kms.c +++ b/drivers/gpu/drm/bochs/bochs_kms.c @@ -150,7 +150,7 @@ static void bochs_crtc_atomic_flush(struct drm_crtc *crtc, /* These provide the minimum set of functions required to handle a CRTC */ static const struct drm_crtc_funcs bochs_crtc_funcs = { - .set_config = drm_crtc_helper_set_config, + .set_config = drm_atomic_helper_set_config, .destroy = drm_crtc_cleanup, .page_flip = bochs_crtc_page_flip, .reset = drm_atomic_helper_crtc_reset,