From patchwork Thu Feb 3 08:26:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 539587 Delivered-To: patch@linaro.org Received: by 2002:ac0:f7d2:0:0:0:0:0 with SMTP id i18csp2223022imr; Thu, 3 Feb 2022 00:26:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJxLND45agy3UtyngEGNNMyDGCmCy1s4JyAecLaGq5v5GkqOwZTcwO0hpeG0IKL3PCla/CIx X-Received: by 2002:aa7:8706:: with SMTP id b6mr33078282pfo.61.1643876787891; Thu, 03 Feb 2022 00:26:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643876787; cv=none; d=google.com; s=arc-20160816; b=0TPh5aUYFF36fWSYxEdaelbofMAm1z+M/woIvgT6P+ybi8pMROOW07L7NekMuuy0SR nNA0nNPAStOWjw+KQOxMnIsYLOdIvYAl3pqKnneNhDS1+16l9jjs2GnqKEE8BmB/GWMd l3rt+wv5ba0JR/meCKrMGxhABu7SJoV6zjTCU6fC5cEQlbuJrzZ1doMkN/5zew3GkDVu MkGkvo+pqwrjz8AcBOB9GB3vRpmWyaFWrcKbmfdehrG1RBSmRVnMCAnDy7SZ+caBHX8F hTk4D0jcClKCIpm191incUW0d5rkesx8ezKHPHthv/P95ShbN5vQLQqpyQqKK1XAhVzn +VtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=8jvPULXIIzR0qzqGPTTUmR7uSAA4jIsRkWAFzhKA5wM=; b=hJMwVINVCjB6kpmTtnGdxFYN9QTXL6E18hXcxsOjd2u73GktPQ8dfuWD8ah5VBaWgy yxMgcihdNNOeKiIMQjCyShPZDdrFbhD78DLc/HspTmWg3pFdwIZOGWryk1bBLhpg5NYK Khpwo/tle/p6xdZ0qfptj5+PdroLMl/7X/0yhX6fiqSP65UJ4RRRzzdKcGzmp/QMjmJz g/QoFagN0nmwfHXlMlvRUMXv+ozGScd/p1UMOHGYEXpQXob94sNbC8NoqjBLxRCcUGRb MPaZwIenO4P8pq0vufOVneq05MEkK2SOSdupzwSzDO2TqVAs2m/9mXm0OXl+rfA8D+xY 3s7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="tN0CX3/x"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id r74si5590005pgr.435.2022.02.03.00.26.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Feb 2022 00:26:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="tN0CX3/x"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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 ABA4010EC3B; Thu, 3 Feb 2022 08:26:22 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by gabe.freedesktop.org (Postfix) with ESMTPS id 203E910EBE3 for ; Thu, 3 Feb 2022 08:26:18 +0000 (UTC) Received: by mail-lf1-x135.google.com with SMTP id n8so4389984lfq.4 for ; Thu, 03 Feb 2022 00:26:18 -0800 (PST) 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=8jvPULXIIzR0qzqGPTTUmR7uSAA4jIsRkWAFzhKA5wM=; b=tN0CX3/x7KyOve+6YH7O2t+7rzfSwiG1JieGaG3cot3ESYYaTQPzOiBTSJcddDGrGu 6XXmb0J2mgAZP0KUWm0gmibjzp2sQtYdn56B5nzOVLlD0JawY9XHDp3+Tu1NVo7Qiwc7 g1Yt/9LvRaXH6LVUABbpiVhwWy8CVDf8hfYw7RQXmFJrzEQOX9ODxgIEIonVvZJeiZwN jbDXGHwCeyW31ec1X/fr43svDoj4/UweZP4f9ot3pWxNyMAcEnc19LPxC7l3q8h6k926 B20Zb1t4UzxgGFItkm5VtE5tDMvcAYTKHtR9KFrh8Q/Wsj8q3LyTLwXZ2hB7/YptARIK nDCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=8jvPULXIIzR0qzqGPTTUmR7uSAA4jIsRkWAFzhKA5wM=; b=Wqk8k6AfIph81gkVM7d1hn17u/TZqGFzVtr/xCRjVQ9M1WCdXNwpOz68ncin+vvkmB rEG7hQs2GIzxGGiQyOpqItOMS6sZwhsCw4lpOwDCbb0ImpDwEqNt2WTcdO115a6mLrW6 /OeWhAUk6AdYdAgbXHKI1g8ew2NyEG7xZQ8RKW2olVTf3Y1H6uWOXhZ0yeQDdUG/jIVY owNKrJu8g8KaIwwyC9JDtaZiiw+M3BRbBKAJ6WWNYgZHkyvymASlhwLmug9L2tvB/uS0 /CpKuOnW3w7CVGrRNLaIJgnlZHYWO/dQ/hAndDQzi3jskSM1d4iRd+Ja+gvGPSD1i8Ei jRmA== X-Gm-Message-State: AOAM532U/GNReCIYczqNMdDKi9/ZOiFzdbwOr64D8Y3bqWh0VOcW0LOp YDKO5Tqud1GAEAxI59trE6Darg== X-Received: by 2002:a05:6512:1292:: with SMTP id u18mr25527911lfs.360.1643876776338; Thu, 03 Feb 2022 00:26:16 -0800 (PST) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id n15sm4083440ljh.36.2022.02.03.00.26.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Feb 2022 00:26:15 -0800 (PST) From: Dmitry Baryshkov To: Bjorn Andersson , Rob Clark , Sean Paul , Abhinav Kumar Subject: [PATCH 4/7] drm/msm/dpu: drop bus_scaling_client field Date: Thu, 3 Feb 2022 11:26:08 +0300 Message-Id: <20220203082611.2654810-5-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220203082611.2654810-1-dmitry.baryshkov@linaro.org> References: <20220203082611.2654810-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: David Airlie , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, Stephen Boyd , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" We do not use MSM bus client, so drop bus_scaling_client field from dpu_encoder_virt. Signed-off-by: Dmitry Baryshkov Reviewed-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c index 6c1a19ffae38..4530549850f0 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c @@ -127,7 +127,6 @@ enum dpu_enc_rc_states { * Virtual encoder registers itself with the DRM Framework as the encoder. * @base: drm_encoder base class for registration with DRM * @enc_spinlock: Virtual-Encoder-Wide Spin Lock for IRQ purposes - * @bus_scaling_client: Client handle to the bus scaling interface * @enabled: True if the encoder is active, protected by enc_lock * @num_phys_encs: Actual number of physical encoders contained. * @phys_encs: Container of physical encoders managed. @@ -172,7 +171,6 @@ enum dpu_enc_rc_states { struct dpu_encoder_virt { struct drm_encoder base; spinlock_t enc_spinlock; - uint32_t bus_scaling_client; bool enabled;