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
This commit is contained in:
parent
6579c39594
commit
c13008562f
|
@ -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 */
|
/* These provide the minimum set of functions required to handle a CRTC */
|
||||||
static const struct drm_crtc_funcs bochs_crtc_funcs = {
|
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,
|
.destroy = drm_crtc_cleanup,
|
||||||
.page_flip = bochs_crtc_page_flip,
|
.page_flip = bochs_crtc_page_flip,
|
||||||
.reset = drm_atomic_helper_crtc_reset,
|
.reset = drm_atomic_helper_crtc_reset,
|
||||||
|
|
Loading…
Reference in New Issue