From patchwork Tue Apr 13 09:48:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 12199915 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 19403C433B4 for ; Tue, 13 Apr 2021 09:49:34 +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 D896E613AB for ; Tue, 13 Apr 2021 09:49:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D896E613AB 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 23F316E2E1; Tue, 13 Apr 2021 09:49:19 +0000 (UTC) Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by gabe.freedesktop.org (Postfix) with ESMTPS id ECD116E2E1 for ; Tue, 13 Apr 2021 09:49:16 +0000 (UTC) Received: by mail-wm1-x32f.google.com with SMTP id g66-20020a1c39450000b0290125d187ba22so7967323wma.2 for ; Tue, 13 Apr 2021 02:49:16 -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=yPW4RMlVJqBgs+Y7G8gEXGQ1RwDF+YDhbYujBtNiMB4=; b=EeswGHCTt6/hIr1+hlfQJ/4oAug1M+x2sY1qTJfTHkcAMVF+6bldjGP/1cXTWPOLQf lwIinEHpub8bI2J9KsucdEbt+TjNaU+c3sSHaD7hUobwTtJLbq5IX+lKsFHzdAIiMQB8 BSOxqlug3I9fTfhzXpSZazgsaCpVjK0vEzkjU= 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=yPW4RMlVJqBgs+Y7G8gEXGQ1RwDF+YDhbYujBtNiMB4=; b=OiYlA3VtfvtmVM9ONjCyN+reW5e9NAmpAID/vPaaht2utvM1e2wmXIAzGrwHtzgSvs VeOhr53TH44YQQ6e+hdIrxEBF9Crvwawa0tPUeUxSEI4GH3sBoZywYK++vZK4vrv72hn SoLUYCUuINihgLLEBc/HjanTP26yp3zLybaXJBOpURHZLfXkZOYL+9YOrVg8ERXT+2CD y9K0Pk84gB5Gsj8Di8jn0CWrIauftJJwIknoh7IQFGTjjo8DsTdpHL67+IyckaNdM9I5 aqSuaP3YEI+gQM35VRHW+R+0YpFa9GRUL/btrg+1PNl/YRUJahlvqyuX7C/+l+UhzA6S nBoA== X-Gm-Message-State: AOAM533MRk5MLCzNhr20BcgJEZB7+yozpXmY4207k80sqZXmepzsSvk2 GkAuzb2GqFpELW/w50+rv2BiLFMWE8IYHQ== X-Google-Smtp-Source: ABdhPJw2X6yP0YOFBN7whchfsfARonndlK1L4HNUpw+LleV1vf7SPmNeSXysI8ZaKF82Yg7qIeasrQ== X-Received: by 2002:a1c:1f8e:: with SMTP id f136mr3273162wmf.17.1618307355687; Tue, 13 Apr 2021 02:49:15 -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.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Apr 2021 02:49:14 -0700 (PDT) From: Daniel Vetter To: DRI Development Date: Tue, 13 Apr 2021 11:48:57 +0200 Message-Id: <20210413094904.3736372-6-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 06/12] drm/msm/dpu1: 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: Rob Clark , Rajendra Nayak , Daniel Vetter , Intel Graphics Development , Tanmay Shah , Jordan Crouse , Eric Anholt , Qinglang Miao , Daniel Vetter , Jeykumar Sankaran , Kalyan Thota 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: Rob Clark Cc: Kalyan Thota Cc: Jordan Crouse Cc: Eric Anholt Cc: Tanmay Shah Cc: Rajendra Nayak Cc: Jeykumar Sankaran Cc: Qinglang Miao --- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c index 85f2c3564c96..074fb37ed49f 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c @@ -1020,11 +1020,6 @@ static int dpu_kms_hw_init(struct msm_kms *kms) dpu_kms->catalog->caps->max_mixer_width * 2; dev->mode_config.max_height = 4096; - /* - * Support format modifiers for compression etc. - */ - dev->mode_config.allow_fb_modifiers = true; - /* * _dpu_kms_drm_obj_init should create the DRM related objects * i.e. CRTCs, planes, encoders, connectors and so forth