Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp710641pxv; Thu, 15 Jul 2021 14:08:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwGFROtAZtvN82EZRCkSrB9J//DvUWPwXmpb3NDFFGnenUQaK2ae1QJ5j97Cn1RvbecsJMj X-Received: by 2002:a05:6402:2023:: with SMTP id ay3mr9635441edb.383.1626383288660; Thu, 15 Jul 2021 14:08:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626383288; cv=none; d=google.com; s=arc-20160816; b=x0kA3342FGg5c5XLIZtshXbeoRU+4l0CXaduWiX5A/TljX1ENthGqtIbUbcJ9yXqWS z5tThLwqgKagAMiipoU70ZPWD6tnYF+uckV7WIPyqrF/V5Ih1WI9npv6egqMc2NQ8rYv kDx6Kw+fmoL0qeh1+8R+XZTWfpCBe33SRDLx42CtMHBgpGXj76JgZbPgfDMR6A7mxwQ3 ptQEoWRtCq5p3Kh33t09s3gU2QC1PA1dNHqjilZcdn1YyXVU62ksxn3yjQHe+VryqkIq uQRS9/LnarLl3HxY8RoLrw6jnelvM+Laxbazl5BK3JVs3gydS/VGVfFXHX4NIipO/b8K Ibng== 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=U/Qff2tdCtjHp7O+WKaipXH9lez/z8kn47UO3WI3lz/XW6HI6L05e7UmdEWb+bNlYm kCiaZAljxk3dV2ikKGg3caS5LxgpfCdWVkGf5Lr7kez0aqRUD9swZ5uG3GvqO/arxUoG e3mJGq8iKaw3DcRFwHKXUhcIex8aNXnY4zNOlW/y6Dep3GpUCh3y5HaQLUMg+2Rq2W1l karO2Z1Ka6HQa1bx8pqS1bNw0CYpJE4g8dj6sC/WpGlkcgjTPfCD7Ss1DWw5rUOBHA81 xvJT6EpUkODfFxTweC19/Y7X9qR2OEc4U8rbmjLpPw05LoROP+Ksrd2NenpuUh+ZFFMm 3uxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=LSiceCCy; 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 jz16si8692594ejb.310.2021.07.15.14.07.44; Thu, 15 Jul 2021 14:08:08 -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=LSiceCCy; 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 S245253AbhGOTT2 (ORCPT + 99 others); Thu, 15 Jul 2021 15:19:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:39758 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240608AbhGOTEn (ORCPT ); Thu, 15 Jul 2021 15:04:43 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 37A2C613F5; Thu, 15 Jul 2021 19:00:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626375656; bh=pTQ+NakHpAF9fF1GZfft8UgM0pu0m5bVmwOfu9zlOCM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LSiceCCya+3aS4+BKhobD6UfMYFrwRFpZlpGq3dEg3Fq2H2HQJ2Yv90/PimuBkmB+ BSXlde4lEzyZGzkUgddEL6tUwTNjtG7UigNO+Tv5q8/cRL2ZK3QiQHImDQt7J+5xze HqcRj/mmQ2utTS/f+/L/w2xr5Pyi+vT6jAzWGVJs= 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.12 180/242] drm/nouveau: Dont set allow_fb_modifiers explicitly Date: Thu, 15 Jul 2021 20:39:02 +0200 Message-Id: <20210715182624.964000017@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210715182551.731989182@linuxfoundation.org> References: <20210715182551.731989182@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;