Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp631482pxv; Thu, 15 Jul 2021 12:00:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyIw+S5U9snCwpWxKXyecrrlTLYDGdUw+bRUq3uTMPqunDXM/7JbW/iPpDMF5FDHI9fFXx/ X-Received: by 2002:a05:6602:3423:: with SMTP id n35mr4380152ioz.188.1626375657010; Thu, 15 Jul 2021 12:00:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626375657; cv=none; d=google.com; s=arc-20160816; b=bjsIMzVyUnZSNxG9sBetV5VeGPqGhXf0IHR9EiIMauhJOeFyTx7r6XPV63+wVeYCQ4 oVTYvrLiJF5/0CIjKGpw/A88aDplM5G+UkQzgI9+L3OzKrGmmikShsklpMpK7vlbh97p FKgOFw3O/ndtyluEBWwnMgaqyXhoBiXC9H/S/RVPiQf8d5cigSI7XvvbrCW3NinGB9lH Mej0l0GIkfESy9+7MsVPG09w0ILHqrtHLjviAVfri6Oy6U+9lH185UeTkmpg79D146dM GUUp63HZAvR8yKIZH2O2qfM/0BrD6mDdX1ZSFuDBB4MhdhcK+y5l321yIWCl23gmf/ZL w2NA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=55rb2tWbhYABpZUskdFtQT4h+kKpdkYYK/GpTkHGt0A=; b=fkIL2z1twW4HGl70rvx4LM8JWrZXQEWZCctiBXYpI4RUkfWpwoKd+CBns8pcYd3UAW v/QWkcsIosKuV8KURHzcVlHgwFbvxqz7zfi5OqWFRUxM6RTVqZZHCjavqzuYO4e94wup H42lyC9NK7H3UniiJVgE30QdwuYZo/NiV/fyZO0qxuAfyJOZ/RIjPjxBpTYyQL+FaXOF /YplhXb2IVDOkH/x1lj90MiRaGsa0IRx9k6CxaL2M19rlxh8M+mvMCzP0Trz9z4uUVJd VxW6WsTnPDqR5gyoPjqgQwYVDxNFiO6ITs5vN8iOYRMfY7SeRNLCIFTDq4h6ITp07gkB DsZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=u39riMY+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x29si7656294jap.52.2021.07.15.12.00.44; Thu, 15 Jul 2021 12:00:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=u39riMY+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242853AbhGOTCU (ORCPT + 99 others); Thu, 15 Jul 2021 15:02:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:59044 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241990AbhGOSyn (ORCPT ); Thu, 15 Jul 2021 14:54:43 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5D07C613CF; Thu, 15 Jul 2021 18:51:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626375108; bh=pTQ+NakHpAF9fF1GZfft8UgM0pu0m5bVmwOfu9zlOCM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=u39riMY+W8wKTGsgUfQKHCiIWuiFfdi4LETAen3hZbnASwC0xgJs4wmnwcsr8UdVl He2TrwhGnsYI6XYef0DivStqJG3uIo468WRGPy7Bfo44zweXIX1d3hAacIOLaehk76 9UCEwbxV47oHk38r48HYkwRXjjrQBfXP/nVCN30A= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Lyude Paul , Pekka Paalanen , Daniel Vetter , Ben Skeggs , nouveau@lists.freedesktop.org Subject: [PATCH 5.10 164/215] drm/nouveau: Dont set allow_fb_modifiers explicitly Date: Thu, 15 Jul 2021 20:38:56 +0200 Message-Id: <20210715182628.542711345@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210715182558.381078833@linuxfoundation.org> References: <20210715182558.381078833@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Daniel Vetter commit cee93c028288b9af02919f3bd8593ba61d1e610d upstream. Since 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: stable@vger.kernel.org # v5.1 + Cc: Pekka Paalanen Signed-off-by: Daniel Vetter Cc: Ben Skeggs Cc: nouveau@lists.freedesktop.org Link: https://patchwork.freedesktop.org/patch/msgid/20210427092018.832258-6-daniel.vetter@ffwll.ch 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->client.device.info.chipset < 0x11) dev->mode_config.async_page_flip = false;