From patchwork Wed Mar 24 15:00:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 407857 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp485330jai; Wed, 24 Mar 2021 08:01:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyboyRosTqJ9K/Kj8XYJH3ubuPzqtmrWcdfQxfBv3QzfoTx6enj1pocJPzBfb4FOijZMZFB X-Received: by 2002:aa7:8493:0:b029:1ee:75b2:2865 with SMTP id u19-20020aa784930000b02901ee75b22865mr3482018pfn.61.1616598074281; Wed, 24 Mar 2021 08:01:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616598074; cv=none; d=google.com; s=arc-20160816; b=xFmPn3FS0iUwEOQh9xRafokiFJXFYFt3TQWKYjJZHdQpOivG6IqlARbEzZzGr7gZG3 DpZCxRxmbNjSVyjRTlQUBqH5mqWWDINRaW3mOThIV4e/KcB1PnwQOwwSMsIDSF2uxo0G Kk9thKWWHNN+Noru2iievkqZi25hFQn4ygdUiauPyjsuadsRrI/mFTdkLGIlAAUdSqG6 sevonhitsgC38+A6ik44pi05ukqaWrZOyEl8Cmbikr9fFC4gVMtdKAyipdnpD1E7+Fni 1IenoSwpPq/LWAlnTM51cxzR7f+k92z7E0gYnMuA7hDv+o90K6NtoqtDUBkDim/Jr0/I vTAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=74OOUc4DyNGwNcQHLu7Z5FzRxtK7yqAK1Th6l14o7ug=; b=qVsMQACKrsSRaYFVHXhrWwZonUR454tw6tZPvCFsSTtjJIioTHYUpUeDteRdhSUQHs C9oNzbvDsA2CBMGfH/88rElFCJ/OKG+Et7nA0m25FcGz4kOkDPR3PvvS/7DQNynLzWOj F4/ZDmW3ZqlgE5zsRZBu4m/0x16mRSd2gefmCwtfLMR2NgL7xX0xOjYNz7vwaZQzJFYr aM2IoBVwHkiKHJI5H/+YBMCN9mapQI+fGVcugSlb/uf2gEZpExBE0xgaOpAzFVtzlGGi zrEoId/Wv6KOLLUH81HYT+jufScxMHgn2gc5qhFzU9NlW6SJg7a876V3I5aTd15Y98qd QlhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=m9uc9ihG; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id a13si2649838pgg.511.2021.03.24.08.01.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Mar 2021 08:01:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=m9uc9ihG; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E126E6EA25; Wed, 24 Mar 2021 15:01:12 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5AF786EC66 for ; Wed, 24 Mar 2021 15:00:57 +0000 (UTC) Received: by mail-lf1-x130.google.com with SMTP id w37so32408260lfu.13 for ; Wed, 24 Mar 2021 08:00:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ODzvX9EZrwbemZb4oINSit5l7SLzwthVC0SVRjb2PyE=; b=m9uc9ihGqmBI9y09Qa4HBAFLHe71opBwoq6uKXVoJO8djeXqJZ87ZpRQ2jzKcjS5zh GigzhIc5Vh8nx93jj5xzdE8qW5u5Wst5eT/JfrtgdtczpRVK9S9ufTOXwSqefOrPwq2w hjt2k9QhTfB1PEjhrp1CPYqtbkKGkZbR276udv1eZPJlwKAHnAjxDsN7ozwZNKNEu68+ QQWHS1qY11w8/ncKX2fmi36Nw6jBzBkJqFS2mndVFhcvDI/iYnAb7Ilt4lXHok4Mnh5H 6B/xIYfHbk/2IAFrhLH6aOr6A4oKZDrJ4B0ieDQxJhZ2die1rONPebOpeM3EmJ6/tRz+ nNOQ== 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=ODzvX9EZrwbemZb4oINSit5l7SLzwthVC0SVRjb2PyE=; b=pe638griPl/ocfljD2hmrSqTO+zk83HDL09F84q/Xcg3fZHL/bPYUWKc9gexvPToir Ly91RwAoLM1hV0bJ2sZMh5BnAUVKsirlXnbpYp9OnSUSAbZ48xzlDu/Raeaq0R7Ihsq3 pEytB+B2Fe1exhJaUcCFyZ+BU7MtHDMt6TTjS6IbVoQzbZY2PU9dLc+DDMuYGZczZi1q 9PdMS3+fgzFW4seBT4vp/xhre1XmTjdN3aYSmZYbodH58Kh7YAjaDAJmcq3xnXB7ErdC tklxyCsas3uGQ+WwJb/GawbEaBoTz1pg8MeGrZ8tnjXtR6m1tmUGbs9nER1O9MXML9wP 8rbQ== X-Gm-Message-State: AOAM5322EXjBIdvc1nB2rDVqkbRi55E2WlBB+rwOcTfXFdraTjc061aQ 1Uh6jMOmUiz8QtoG/DPS4FstNg== X-Received: by 2002:ac2:5ca7:: with SMTP id e7mr2201134lfq.646.1616598052554; Wed, 24 Mar 2021 08:00:52 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id p5sm252463lfe.154.2021.03.24.08.00.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Mar 2021 08:00:51 -0700 (PDT) From: Dmitry Baryshkov To: Rob Clark , Sean Paul , Jonathan Marek Subject: [PATCH 18/21] drm/msm/dpu: hw_vbif: make set_qos_remap mandatory Date: Wed, 24 Mar 2021 18:00:21 +0300 Message-Id: <20210324150024.2768215-19-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210324150024.2768215-1-dmitry.baryshkov@linaro.org> References: <20210324150024.2768215-1-dmitry.baryshkov@linaro.org> 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: Stephen Boyd , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, David Airlie , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" All supported hardware instances feature DPU_VBIF_QOS_REMAP option, so just mark setup_dither as mandatory rather than optional callback. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_vbif.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.30.2 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_vbif.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_vbif.c index b757054e1c23..377d5e8ae615 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_vbif.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_vbif.c @@ -204,8 +204,7 @@ static void _setup_vbif_ops(struct dpu_hw_vbif_ops *ops, ops->get_limit_conf = dpu_hw_get_limit_conf; ops->set_halt_ctrl = dpu_hw_set_halt_ctrl; ops->get_halt_ctrl = dpu_hw_get_halt_ctrl; - if (test_bit(DPU_VBIF_QOS_REMAP, &cap)) - ops->set_qos_remap = dpu_hw_set_qos_remap; + ops->set_qos_remap = dpu_hw_set_qos_remap; ops->set_mem_type = dpu_hw_set_mem_type; ops->clear_errors = dpu_hw_clear_errors; ops->set_write_gather_en = dpu_hw_set_write_gather_en;