Re: [PATCH RESEND v7 0/5] drm/nouveau: Enable atomic modesetting by default

Dave Airlie <[email protected]>
Newsgroups org.freedesktop.lists.nouveau,org.freedesktop.lists.dri-devel,org.kernel.vger.linux-kernel
Message-ID <CAPM=9txMzUap-J3ddsUeHTYbWyEhHTzZHV1QxOJuTZuo+CG8mQ@mail.gmail.com>
On Fri, 14 Aug 2026 at 06:48, Lyude Paul <[email protected]> wrote:
>
> Nouveau is one of the very few modern hardware drivers in the kernel that
> doesn't have atomic modesetting enabled by default, in part because when it
> was originally written by Ben there wasn't much in the way of good atomic
> modesetting clients to actually test things out with.
>
> Nowadays however, atomic modesetting is very much the norm - and support in
> userspace for non-atomic drivers is starting to bitrot a bit - leading to
> its own set of issues. At the same time, many of those issues are fixed by
> just turning on atomic in nouveau. Plus, I've been running nouveau with
> atomic modesetting on by default for most of the machines I work on, and
> I've already fixed quite a number of issues to the point where things seem
> quite stable (excluding a single screen flashing bug on my desktop, which I
> am not particularly convinced has anything to do with atomic modesetting).
>
> This patch series enables atomic modesetting by default, at least for
> NV50 and newer. NV04 is left unchanged, as atomic modesetting was never
> implemented for it. This series also enforces leaving atomic modesetting
> disabled on <NV50, and adds the value of nouveau.atomic to our kernel
> debug output.
>
> Previous version of this patch series:
>         https://patchwork.freedesktop.org/series/171310/
>
> (Resent, because of a formatting error on one of the patches)

Nice, for the series:

Reviewed-by: Dave Airlie <[email protected]>

Dave.
>
> Lyude Paul (5):
>   drm/nouveau: Fix cleanup bug in nouveau_drm_device_new()
>   drm/nouveau: Print the nouveau.atomic parameter in
>     nouveau_display_options()
>   drm/nouveau: Fix drm_driver struct/nouveau.atomic parameter handling
>   drm/nouveau/kms: Only allow enabling atomic modesetting on nv50+
>   drm/nouveau/kms/nv50-: Enable atomic modesetting by default
>
>  drivers/gpu/drm/nouveau/nouveau_drm.c | 116 ++++++++++++++++----------
>  1 file changed, 71 insertions(+), 45 deletions(-)
>
>
> base-commit: 9b388fc3d0e63a4f5b022d326151e176e8d82e25
> --
> 2.55.0
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.