[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210715182646.086809769@linuxfoundation.org>
Date: Thu, 15 Jul 2021 20:39:19 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-kernel@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
stable@...r.kernel.org, Lyude Paul <lyude@...hat.com>,
Pekka Paalanen <pekka.paalanen@...labora.com>,
Daniel Vetter <daniel.vetter@...el.com>,
Ben Skeggs <bskeggs@...hat.com>, nouveau@...ts.freedesktop.org
Subject: [PATCH 5.13 204/266] drm/nouveau: Dont set allow_fb_modifiers explicitly
From: Daniel Vetter <daniel.vetter@...ll.ch>
commit cee93c028288b9af02919f3bd8593ba61d1e610d upstream.
Since
commit 890880ddfdbe256083170866e49c87618b706ac7
Author: Paul Kocialkowski <paul.kocialkowski@...tlin.com>
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 <lyude@...hat.com>
Cc: stable@...r.kernel.org # v5.1 +
Cc: Pekka Paalanen <pekka.paalanen@...labora.com>
Signed-off-by: Daniel Vetter <daniel.vetter@...el.com>
Cc: Ben Skeggs <bskeggs@...hat.com>
Cc: nouveau@...ts.freedesktop.org
Link: https://patchwork.freedesktop.org/patch/msgid/20210427092018.832258-6-daniel.vetter@ffwll.ch
Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
---
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
@@ -697,7 +697,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->client.device.info.chipset < 0x11)
dev->mode_config.async_page_flip = false;
Powered by blists - more mailing lists