archive mirror
 help / color / mirror / Atom feed
* [Nouveau] Patch "drm/nouveau: Don't set allow_fb_modifiers explicitly" has been added to the 5.12-stable tree
@ 2021-07-15 12:40 gregkh
  0 siblings, 0 replies; only message in thread
From: gregkh @ 2021-07-15 12:40 UTC (permalink / raw)
  To: bskeggs, daniel.vetter, daniel.vetter, gregkh, lyude, nouveau,
	paul.kocialkowski, pekka.paalanen
  Cc: stable-commits

This is a note to let you know that I've just added the patch titled

    drm/nouveau: Don't set allow_fb_modifiers explicitly

to the 5.12-stable tree which can be found at:;a=summary

The filename of the patch is:
and it can be found in the queue-5.12 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <> know about it.

From cee93c028288b9af02919f3bd8593ba61d1e610d Mon Sep 17 00:00:00 2001
From: Daniel Vetter <>
Date: Tue, 27 Apr 2021 11:20:16 +0200
Subject: drm/nouveau: Don't set allow_fb_modifiers explicitly

From: Daniel Vetter <>

commit cee93c028288b9af02919f3bd8593ba61d1e610d upstream.


commit 890880ddfdbe256083170866e49c87618b706ac7
Author: Paul Kocialkowski <>
Date:   Fri Jan 4 09:56:10 2019 +0100

    drm: Auto-set allow_fb_modifiers when given modifiers at plane init

this is done automatically as part of plane init, if drivers set the
modifier list correctly. Which is the case here.

Note that this fixes an inconsistency: We've set the cap everywhere,
but only nv50+ supports modifiers. Hence cc stable, but not further
back then the patch from Paul.

Reviewed-by: Lyude Paul <>
Cc: # v5.1 +
Cc: Pekka Paalanen <>
Signed-off-by: Daniel Vetter <>
Cc: Ben Skeggs <>
Signed-off-by: Greg Kroah-Hartman <>

 drivers/gpu/drm/nouveau/nouveau_display.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/gpu/drm/nouveau/nouveau_display.c
+++ b/drivers/gpu/drm/nouveau/nouveau_display.c
@@ -700,7 +700,6 @@ nouveau_display_create(struct drm_device
 	dev->mode_config.preferred_depth = 24;
 	dev->mode_config.prefer_shadow = 1;
-	dev->mode_config.allow_fb_modifiers = true;
 	if (drm-> < 0x11)
 		dev->mode_config.async_page_flip = false;

Patches currently in stable-queue which might be from are

Nouveau mailing list

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-15 12:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-15 12:40 [Nouveau] Patch "drm/nouveau: Don't set allow_fb_modifiers explicitly" has been added to the 5.12-stable tree gregkh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).