Skip to content

Commit 604826a

Browse files
committed
drm/nouveau/disp: Set drm_mode_config_funcs.atomic_(check|commit)
Apparently we never actually filled these in, despite the fact that we do in fact technically support atomic modesetting. Since not having these filled in causes us to potentially forget to disable fbdev and friends during suspend/resume, let's fix it. Signed-off-by: Lyude Paul <lyude@redhat.com> Cc: stable@vger.kernel.org Reviewed-by: Dave Airlie <airlied@redhat.com> Link: https://patch.msgid.link/20260121191320.210342-1-lyude@redhat.com
1 parent d0bd107 commit 604826a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/gpu/drm/nouveau/nouveau_display.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,8 @@ nouveau_user_framebuffer_create(struct drm_device *dev,
352352

353353
static const struct drm_mode_config_funcs nouveau_mode_config_funcs = {
354354
.fb_create = nouveau_user_framebuffer_create,
355+
.atomic_commit = drm_atomic_helper_commit,
356+
.atomic_check = drm_atomic_helper_check,
355357
};
356358

357359

0 commit comments

Comments
 (0)