From patchwork Tue Apr 13 09:49:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 12199871 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 36BC6C43460 for ; Tue, 13 Apr 2021 09:52:16 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B1DDD61369 for ; Tue, 13 Apr 2021 09:52:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B1DDD61369 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ffwll.ch Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=yTC3FcTwMPOpMDnm0kT5oJAMN6+/8CJe6+EvUM6Yn08=; b=Yc5ea4gCM3oh/7Z2st7wwgsML 14ZeYISwdB2haWYZy5/yz97UwcqtlPT2kCjgtuiNCdxrpgbNXsmzcHUSpwVpUvckMlUivHm4soI6L 35LH+eZUs84RGBVtiGfQ1ijuDekE3Hq6Ye5yvVxePSmSVsZ+l+g20r2/L4ITUg2iJ4yc4ooKdB05X wE62d5dTksa+N0lQGiJlQJmGp212JyabrhyayFoKqkgApdYAlRdGB/FmwXA5OXTWlyFDo1Xzf5Fhp xniOWCS59/K9Kgg0nh6auZSvgTmYTDWS3zENvh+kHzWAnRJRH1m+w416VIKhxwka9J3qiyZv6mnj7 2gqN9cVpA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lWFgH-008miG-5d; Tue, 13 Apr 2021 09:50:01 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lWFfh-008mXK-TR for linux-arm-kernel@desiato.infradead.org; Tue, 13 Apr 2021 09:49:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=5/VCtoETMmUzL0vMPqbtcoUDD2y2ltfbzTlgLqC6ZdU=; b=pIMXPZ+rq2rJelfykjumjsmn0b HGvzecLGo6qeA8I0izd6B4habp+GZzMPuX/5UOUYQWqbqlNR9g1DLTIhAZr8VfMQ8YODmnDX5nUvr Lpqa85nsxt9jf8Y31304b9tM0qTMhbO63OmAHbnMRo8ZUJWBRtBhc59i+qMyj9Vn1//XHpwv0rB8h qu3NcKGJQsdS60znYIc5m7fE6djClWryC8ToVKQt84/aToJNKX3nphLAb0m/fvREokJOXgh6MbukD Z+fvBwFG4fmcrlD7Av3ziNBG+0a9XhOFXwC4NfcZQ6kCh6nF3Xm3pfJroHik6HMwf1iyow1pTGOar fgTg29lw==; Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lWFfc-006tjP-AB for linux-arm-kernel@lists.infradead.org; Tue, 13 Apr 2021 09:49:24 +0000 Received: by mail-wr1-x429.google.com with SMTP id a4so15788600wrr.2 for ; Tue, 13 Apr 2021 02:49:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5/VCtoETMmUzL0vMPqbtcoUDD2y2ltfbzTlgLqC6ZdU=; b=BRRd8qbtTFGYEMdRV5HexTZXmoRkVYk8JiyfN7BdyhztQs/RDa754NvDDd2qaxbN8U DUWmf96W1+eX9ioCfQNqH//U3DZEaHBT4N/+sGgxpgWhazVlP6RJBuaqEj6TztkURr04 NJXk2wKPT930X8RRnXr25PPTXiO/eMJ+BuGck= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5/VCtoETMmUzL0vMPqbtcoUDD2y2ltfbzTlgLqC6ZdU=; b=U123XRcOWBBQyXgZNKOofdrhJHdnGHbxo2VnqAPsQkDxWNpWlsFu1RbY08KmuZuRCM fed4mIFL6mcEUHZn6wEXf4Z4GCLk5Vjyy939dAL2e1Sy/NM5cDo9NQVSKB99ysrD5hcq kFDBCHzX/LP/jAVTjNrVZ9FXls1muWhnmZL4JyLC33BIREF3n6VF7m5CW3eUcyHK4/Z+ xXMlGQnRWY8U3RYHek4e1pVEYvBT8Qb9EdFjCfq5aaZx8b9aUGNDYalgYVmNSzCgO59u NMqrn8fyQtG6FWf+EymfLqy/EhqIQCi2swzk7PT6vKVLjGLnonjFCFYLPApoJhpUNrQ4 Nvtw== X-Gm-Message-State: AOAM5310zUvLQcwlf6RAnIaWWPQGsshe9rRtbanbTLKZ2vG2gFcPogT1 PiKC/TmxSAl3qt8wy6PeMhNYkQ== X-Google-Smtp-Source: ABdhPJw1GFAzXcytfZXNu9CcACpZoWl3EZWaSegc/mUkmbt0A5hEw3xdPxj85E3UJSo3NsC8wcDNLA== X-Received: by 2002:a05:6000:83:: with SMTP id m3mr34903882wrx.321.1618307358507; Tue, 13 Apr 2021 02:49:18 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id 64sm1956458wmz.7.2021.04.13.02.49.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Apr 2021 02:49:18 -0700 (PDT) From: Daniel Vetter To: DRI Development Cc: Intel Graphics Development , Daniel Vetter , Daniel Vetter , Yannick Fertre , Philippe Cornu , Benjamin Gaignard , Maxime Coquelin , Alexandre Torgue , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: [PATCH 09/12] drm/stm: Don't set allow_fb_modifiers explicitly Date: Tue, 13 Apr 2021 11:49:00 +0200 Message-Id: <20210413094904.3736372-9-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210413094904.3736372-1-daniel.vetter@ffwll.ch> References: <20210413094904.3736372-1-daniel.vetter@ffwll.ch> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210413_024920_370021_1D8AD8AB X-CRM114-Status: GOOD ( 12.68 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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. Signed-off-by: Daniel Vetter Cc: Yannick Fertre Cc: Philippe Cornu Cc: Benjamin Gaignard Cc: Maxime Coquelin Cc: Alexandre Torgue Cc: linux-stm32@st-md-mailman.stormreply.com Cc: linux-arm-kernel@lists.infradead.org --- drivers/gpu/drm/stm/ltdc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu/drm/stm/ltdc.c index 65c3c79ad1d5..e99771b947b6 100644 --- a/drivers/gpu/drm/stm/ltdc.c +++ b/drivers/gpu/drm/stm/ltdc.c @@ -1326,8 +1326,6 @@ int ltdc_load(struct drm_device *ddev) goto err; } - ddev->mode_config.allow_fb_modifiers = true; - ret = ltdc_crtc_init(ddev, crtc); if (ret) { DRM_ERROR("Failed to init crtc\n");