summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/bochs
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-01-11 06:37:42 +0100
committerGerd Hoffmann <kraxel@redhat.com>2019-01-14 08:39:10 +0100
commitc13008562f810d8da598ab05ebf38ebd5e3d3bac (patch)
tree290c087149da7e33814fbe755f1040e9d6bdb575 /drivers/gpu/drm/bochs
parent6579c39594aeb9da617e319dbb679ded14c05105 (diff)
downloadlinux-c13008562f810d8da598ab05ebf38ebd5e3d3bac.tar.gz
linux-c13008562f810d8da598ab05ebf38ebd5e3d3bac.tar.bz2
linux-c13008562f810d8da598ab05ebf38ebd5e3d3bac.zip
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 <kraxel@redhat.com> Reviewed-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/20190111053752.4004-7-kraxel@redhat.com
Diffstat (limited to 'drivers/gpu/drm/bochs')
-rw-r--r--drivers/gpu/drm/bochs/bochs_kms.c2
1 files changed, 1 insertions, 1 deletions
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,