From patchwork Tue Apr 13 09:48:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 12199877 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.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable 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 C0ED1C43461 for ; Tue, 13 Apr 2021 09:49:24 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 88BD2613AB for ; Tue, 13 Apr 2021 09:49:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 88BD2613AB Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ffwll.ch Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2FDF46E2C0; Tue, 13 Apr 2021 09:49:16 +0000 (UTC) Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by gabe.freedesktop.org (Postfix) with ESMTPS id BD24289C3F for ; Tue, 13 Apr 2021 09:49:14 +0000 (UTC) Received: by mail-wm1-x32a.google.com with SMTP id o9-20020a1c41090000b029012c8dac9d47so896250wma.1 for ; Tue, 13 Apr 2021 02:49:14 -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=adyH3SPpnboMOl3tkCszQtpvrgJSywQm0ZH8RlH4qpQ=; b=e8UhRrLqNTUrFPuMFAXUBvVteWBxdOrRbJeCAHWhnEL6Wrkt8PoRymRYQcfBSungG7 OpzJx737ywzd6HMAPXT7ahprk31KhCmLyfCYLI5nlahCGHhaFVVLdMjSEolVBbzX/xCY 4ZZ7MUOp/CfF9RlkOwYZuPw8cYfJ815yOhhew= 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=adyH3SPpnboMOl3tkCszQtpvrgJSywQm0ZH8RlH4qpQ=; b=mX/FhVT6kosYCjzfTnu3F49JlECm3ar9u+7Gzqu8EkdouEglG1alHuu/RiEdOXtAvv m6+zrmPyDdejGy8KKxcmafJ1lXrqyn1Hi3kVBxkCtVekRARAHQ0sBUSrxd+BJvQ4Uxxk qf72P4Hd4YbiBC6EPEQc1SjbZwGRrt8WjyVVxrypmVC32d7rK+NJkv/ac4+6CR80/+4w kJk8snHaP7ffswjR9FSSwVdg5rx3NtcZlrbZpbpYMhBBCkdeYY1GKBW+bQrB/FW1VM8N cuVOl0eQCJYsE3UU+4xk+I5acB9tqJd9vcPnb4R+ffdhUNxV+hI0redMQTbQ1vU25QIc kKwg== X-Gm-Message-State: AOAM532jygDoau/FKt5wG/LlhtMdMxdrt7L8RacNg3ODKILCQDbcZLzy HONS8sXzmGayKCtnPYu8ycpgFPUigxPvsw== X-Google-Smtp-Source: ABdhPJxxNj5eWGHzgr0XAqGc6CAkLj9GwU3yqOYuaNmpFWO3dyqAkaFWnToV5HyZBbziVYNBAXDf0Q== X-Received: by 2002:a1c:3182:: with SMTP id x124mr3243309wmx.41.1618307353370; Tue, 13 Apr 2021 02:49:13 -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.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Apr 2021 02:49:12 -0700 (PDT) From: Daniel Vetter To: DRI Development Subject: [PATCH 04/12] drm/i915: Don't set allow_fb_modifiers explicitly Date: Tue, 13 Apr 2021 11:48:55 +0200 Message-Id: <20210413094904.3736372-4-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-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jani Nikula , Daniel Vetter , Intel Graphics Development , Karthik B S , =?utf-8?q?Jos=C3=A9_Roberto_de_Souza?= , Chris Wilson , Manasi Navare , Dave Airlie , Daniel Vetter Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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: "Ville Syrjälä" Cc: Manasi Navare Cc: Jani Nikula Cc: "José Roberto de Souza" Cc: Chris Wilson Cc: Imre Deak Cc: Dave Airlie Cc: Maarten Lankhorst Cc: Karthik B S Cc: Matt Roper --- drivers/gpu/drm/i915/display/intel_display.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c index de8546a46872..2d1aa35adb0a 100644 --- a/drivers/gpu/drm/i915/display/intel_display.c +++ b/drivers/gpu/drm/i915/display/intel_display.c @@ -11732,8 +11732,6 @@ static void intel_mode_config_init(struct drm_i915_private *i915) mode_config->preferred_depth = 24; mode_config->prefer_shadow = 1; - mode_config->allow_fb_modifiers = true; - mode_config->funcs = &intel_mode_funcs; mode_config->async_page_flip = has_async_flips(i915);