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 >
