Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp660501pxv; Thu, 15 Jul 2021 12:46:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwdZ/juiwg/z10FpQ6mlSxVi9U7vj0/7M4AOVynOxcwUbXl02H7zNelebSm4MnXe4gHTR+/ X-Received: by 2002:a05:6402:60e:: with SMTP id n14mr9136807edv.363.1626378382980; Thu, 15 Jul 2021 12:46:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626378382; cv=none; d=google.com; s=arc-20160816; b=z1+f/onlhdJDkrnR2TaZuWtx3+YErhZ4JuTcGDDQNFaNb3NiNdpPPo7z2HygdiLt+/ 0bu44Wxi20uv69ySN7dD+v2VaaG0FnwtuNYSHqvYG4dqLJzK7jOjoE7uY6+Xx0N2bU77 OHAv7FQp4xl4o1WeQJTyZBTHODUq++TT4erZ3CB76K8GhbhH6n3pVAOIwnuc01qcH5jk TP2UgA2MP0h+1nEY0AgCMatENlT9iMDynebXe1vkFMfmvwEm+YsOkyocmx2EXtzzUS9i 2Z5w5J3appH47e9G9k//jtLHNJ1JOV0W6ZNuakjHuDlJrp9Zv5bo81AfvHQruGcYv1dd XsKA== 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=28NEIgNH71ViMQXKA1CiaGH1kxzbDDLc1o8untBndw4=; b=NhY6NgNEZn7RahO/3xjji/z87ekIJMTSET8BLF1QhbcQaUfsr2NSQHarv10iAhIJoO ih+0UOme6MgqgvX4+B3NsUGktNdjzKw5EgDPv5tFaGdh2p4NE39iVfqT3wU96XrZwiOc zYLyc3+N+NhFi10G7pQdZqE6gX/vasUdeBE5UhF+9s6O1LBbm0h2sHn6+cv7lH4apb9U o/C0c+jBSUVhmXovabA4E63PFTp7VeMe8CJ1LFbjPRndDYGSRf2c1FdxGcfv2L83dh03 wDUj/Fu9zuJOBkF9r0tmRIBk2/yF/w/uH3ofoOti5bv81QbFMoTc8141QbfQ3Z5+BcuE ahNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=aJJFewi2; 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 k23si8305244ejr.322.2021.07.15.12.45.59; Thu, 15 Jul 2021 12:46:22 -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=aJJFewi2; 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 S1344722AbhGOToe (ORCPT + 99 others); Thu, 15 Jul 2021 15:44:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:50894 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244822AbhGOTPQ (ORCPT ); Thu, 15 Jul 2021 15:15:16 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 038296140E; Thu, 15 Jul 2021 19:11:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626376285; bh=R10IEylSKFdiya8iUs3Ly/1gr7s/BHDBmFKJQozhd8A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aJJFewi2WvnQNvPZlSIhWgK6foA1lTRpNIIBbCDMW4MqjZo9o55SU1G+KYdZDFrH7 wBW9EIcMRFqGHJDYBLvaKRux1ZvRat8pccMVMwTkpOC6vGQiRjCEmjgPI5Fp6gGW4b hPIOsV2rkZR6RhRFO2etsqEw+vqpT8orbwEP+IZ0= 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.13 204/266] drm/nouveau: Dont set allow_fb_modifiers explicitly Date: Thu, 15 Jul 2021 20:39:19 +0200 Message-Id: <20210715182646.086809769@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210715182613.933608881@linuxfoundation.org> References: <20210715182613.933608881@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 @@ -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;