From patchwork Tue Apr 13 09:48:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 12199909 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=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 5F96AC433B4 for ; Tue, 13 Apr 2021 09:49:22 +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 1EBB3613B6 for ; Tue, 13 Apr 2021 09:49:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1EBB3613B6 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ffwll.ch Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id F320789C3F; Tue, 13 Apr 2021 09:49:14 +0000 (UTC) Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9E70689F06 for ; Tue, 13 Apr 2021 09:49:13 +0000 (UTC) Received: by mail-wm1-x336.google.com with SMTP id p19so8378999wmq.1 for ; Tue, 13 Apr 2021 02:49:13 -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=sKnMGdydD5VEI/3ScWh7YccdRp5+79GpsyoCcHVvPso=; b=Eyfyf4WshcsgJkQdPXBY9ti7ylJWX7Sk6dR7sdNRN5pkI8INb22SYQZrIgOMYf5JCm jNLHnN+7X8x6jEzvvDwSCmjDxnpYgVws43xT6fX8qQa58NgzjQ5s3rUtfYaGLve9OCCe whEAQdW2j8M+s7h43+LSaWFRFh/jAMMBBAE+g= 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=sKnMGdydD5VEI/3ScWh7YccdRp5+79GpsyoCcHVvPso=; b=bvchyBWmVv20Y09mH/RJMOdNTKkWMv2y1IbUwdKxkJBNS/3B0AtttbEPqnBAlyHPRz QigeGJuR8uKaxy7CNDFq3pbKaCNxcNMx8g3sSFrDh+4N3n5RMdjLoZgyTTVnIkotoYjT rhHuBzcdFBr1OBAyVbjYNC8FQvsyVFzK9tZ/6MBjFFE2Aw2VipSBTmxnnMl4CiwlqGyN WrA28f6hOibUz4II2y2xAnZqo7zQB/O7xX8ebgSHYKjJZEwqkJCGmMz8VnS/6irpRCVA xvFKcpW0UmEjwZnXpnIfDpkwE2MKtmrS3U8oY3LlQhbNDkD/pSpa6asr6Fh69IJ3+kX0 aQBA== X-Gm-Message-State: AOAM531D5e2YBDYVfMD+WlP6bfsT5knYzm6fiqjXWen0SelKL+OIRYFE KTiV7nPh5uR8e1O4RGItGgJwNg== X-Google-Smtp-Source: ABdhPJyozmtYCr5fQuYQk3xh8oRysWRoKgt+zOj2WPFRCcwMWqB8klX4kzPMoSUp1bby3DGm803+ZA== X-Received: by 2002:a05:600c:3546:: with SMTP id i6mr3218307wmq.104.1618307352372; Tue, 13 Apr 2021 02:49:12 -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.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Apr 2021 02:49:11 -0700 (PDT) From: Daniel Vetter To: DRI Development Date: Tue, 13 Apr 2021 11:48:54 +0200 Message-Id: <20210413094904.3736372-3-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 Subject: [Intel-gfx] [PATCH 03/12] drm/exynos: Don't set allow_fb_modifiers explicitly X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-samsung-soc@vger.kernel.org, Joonyoung Shim , Daniel Vetter , Intel Graphics Development , Seung-Woo Kim , Krzysztof Kozlowski , Inki Dae , Kyungmin Park , Daniel Vetter , linux-arm-kernel@lists.infradead.org Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" 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: Inki Dae Cc: Joonyoung Shim Cc: Seung-Woo Kim Cc: Kyungmin Park Cc: Krzysztof Kozlowski Cc: linux-arm-kernel@lists.infradead.org Cc: linux-samsung-soc@vger.kernel.org Acked-by: Inki Dae --- drivers/gpu/drm/exynos/exynos_drm_fb.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fb.c b/drivers/gpu/drm/exynos/exynos_drm_fb.c index 64370b634cca..79fa3649185c 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_fb.c +++ b/drivers/gpu/drm/exynos/exynos_drm_fb.c @@ -177,7 +177,5 @@ void exynos_drm_mode_config_init(struct drm_device *dev) dev->mode_config.funcs = &exynos_drm_mode_config_funcs; dev->mode_config.helper_private = &exynos_drm_mode_config_helpers; - dev->mode_config.allow_fb_modifiers = true; - dev->mode_config.normalize_zpos = true; }