Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp1200774rdb; Wed, 1 Nov 2023 14:32:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG3kNX/IGSxflRmeYe8Pb8PgmdOPLjGFRH4PSJKcX79/oSqXgbKLWOwohPk9TgUnKWeg2en X-Received: by 2002:a05:6a20:3944:b0:181:8654:8260 with SMTP id r4-20020a056a20394400b0018186548260mr950029pzg.39.1698874355595; Wed, 01 Nov 2023 14:32:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698874355; cv=none; d=google.com; s=arc-20160816; b=qX8eCXgZt+L3n+Z/GShhNSXKI605kwP64fiAHtBz/UqSppOuOq5du8Mxc+H45rxytL K74/zbvSj65PTbe6gP+TPtFnsBzfvE4G32FMxxKz+1EoXp54rTaN+tNESlzIhbhGUL6c EH516qBLtNjRvMybpaGguQbMF35p/HFRyOGY0A9H+n7STaWQXYA51ELoOte5rKuDDv9b L5YqxFHUvV88pLx3BI43bYVXCx5PBbgrF34Akqi04iLDw8YUvNpXwm0e25x3mtEOB5Nn ZkgOjOfRqfVYABDw8/tMoI6DGHkR9+epWI1GLBhDYPlcyJJVPGLjMUQJH+lj4mLiLIyq RnRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=zFm2dW/KL7aE52KhigwzLTLJuWwq2yuHsjbZbHtYak4=; fh=w7CgwB2ga/dncEUdB8aMAYYYwfN5tMLryEoUWnbarCA=; b=fWyLIRfN7/7GdHywKYoUTsmVINMh7qf4N+A5EaZqWhmJuV+upIDUg26bWIpe27iJd1 ZjexxZBX9t1FFE8v3ZGG30oFzFP1q58kwBAfFaC7wPCJYZXv+xWj7kwpE/TFEsHswTW1 sa37a4GjKgih88hyhgVLBP/mtCPlWGG1JluqcxGin7O68Zj0CKhGHIDdd5B1m1eNaExb 8f0tO85fZUoqZcHMITgHa6PHgE73CGMu5HcP1q1ct7xXHSBNfgK7Q5c3apNrVRc7Lu5C kebNcuzN7XRKlm8rtt3g1w7ZjIaTgBtvLOXWwbXDJ1iDWr9iY95RSWldIarYB+/FjBlS kvbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KSdEdQak; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id g16-20020a1709029f9000b001cb02e6f149si3645556plq.538.2023.11.01.14.32.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 14:32:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KSdEdQak; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 8DEBA80EA796; Wed, 1 Nov 2023 14:32:30 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345464AbjKAVbo (ORCPT + 99 others); Wed, 1 Nov 2023 17:31:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345274AbjKAVbn (ORCPT ); Wed, 1 Nov 2023 17:31:43 -0400 Received: from mail-yw1-x112e.google.com (mail-yw1-x112e.google.com [IPv6:2607:f8b0:4864:20::112e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FE8C11C for ; Wed, 1 Nov 2023 14:31:35 -0700 (PDT) Received: by mail-yw1-x112e.google.com with SMTP id 00721157ae682-5a7d9d357faso3662777b3.0 for ; Wed, 01 Nov 2023 14:31:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698874294; x=1699479094; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=zFm2dW/KL7aE52KhigwzLTLJuWwq2yuHsjbZbHtYak4=; b=KSdEdQak4Bl8sz1HUqgmydBOeGwBk1+ns1HokADO5rhmNgMUgzLiqD6G/cYGiuzPf9 liyBFEOAlHFdyw7YpBDnX7aUbdivJtS3v6SB18++E/9aksJ6wP4/JfyoBq72LA/iBs/v rH18xOFyfdSO2hbdAKwy8TJpCTLYyw/iA/UU83FFotWkXRp9QWQw33331cmHMbeVoWhM jPp1ZT6k9fAu6V1d9tkq/piNkp3YGEU06Nzp4/qpJwQQ8XD2PlO2fjwy9/GBCdNi80IB 7IQsdrAXpFbFoyzeJJA3PylydOuXivPLQkGUU/E15M2DdsTdbXNxTmEjl1PKOf0/c5km IYAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698874294; x=1699479094; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zFm2dW/KL7aE52KhigwzLTLJuWwq2yuHsjbZbHtYak4=; b=VijLruKMeGgZ5Sg+J9+xyTb8YeU6vQ7KaOFpZ8BojsRrpXufqcY226oSijbNf0ssMK a3/W+SDeFF51rB6WSnYEk2uZjYgigZYbqOSsaHE4hvsvZmH1guk2LqGjuIugLmdWiDgY DuJR7dMYsbMxMeIcVu5X3x/KFWGjIO+3Z2hlol52y1sJ7WKKwB7KuCag0WDYEj4hsuTW wZLb04ZWkx0yUGMzw7UdRZy+o5MH42mJzOgUcm1/RM5o/B+2Meyvk1ESLDqJZ0+wsF6O ERREO1Jv0fO1B/8mY11vtd+Akir1QfD14HUfnCHJToCNxmNFxnjfms/uif5bzHmtcTIB rxuQ== X-Gm-Message-State: AOJu0Yz/c134OtDoYp65Q5N194cx2riljorAOeQVdQwdW/2Vm/1tjFyd 984dO8v5zNs9G7NjnFXyzBdxrGEUFsIBF7TAb6M0nA== X-Received: by 2002:a81:a749:0:b0:595:be7:a38 with SMTP id e70-20020a81a749000000b005950be70a38mr16577399ywh.49.1698874294594; Wed, 01 Nov 2023 14:31:34 -0700 (PDT) MIME-Version: 1.0 References: <20231101-gdsc-hwctrl-v3-0-0740ae6b2b04@linaro.org> <20231101-gdsc-hwctrl-v3-4-0740ae6b2b04@linaro.org> In-Reply-To: <20231101-gdsc-hwctrl-v3-4-0740ae6b2b04@linaro.org> From: Dmitry Baryshkov Date: Wed, 1 Nov 2023 23:31:23 +0200 Message-ID: Subject: Re: [PATCH RESEND v3 4/5] clk: qcom: Use HW_CTRL_TRIGGER flag to switch video GDSC to HW mode To: Abel Vesa Cc: "Rafael J. Wysocki" , Kevin Hilman , Ulf Hansson , Pavel Machek , Len Brown , Greg Kroah-Hartman , Bjorn Andersson , Andy Gross , Konrad Dybcio , Michael Turquette , Stephen Boyd , Stanimir Varbanov , Vikash Garodia , "Bryan O'Donoghue" , Mauro Carvalho Chehab , Taniya Das , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-media@vger.kernel.org, Jagadeesh Kona Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Wed, 01 Nov 2023 14:32:30 -0700 (PDT) On Wed, 1 Nov 2023 at 11:06, Abel Vesa wrote: > > From: Jagadeesh Kona > > The current HW_CTRL flag switches the video GDSC to HW control mode as > part of GDSC enable itself, instead of that use HW_CTRL_TRIGGER flag to > give consumer drivers more control and switch the GDSC mode as and when > required. > > HW_CTRL_TRIGGER flag allows consumer drivers to switch the video GDSC to > HW/SW control modes at runtime using dev_pm_genpd_set_hwmode API. Will existing venus driver continue to work with this patch being applied? > > Signed-off-by: Jagadeesh Kona > Signed-off-by: Abel Vesa > --- > drivers/clk/qcom/videocc-sc7180.c | 2 +- > drivers/clk/qcom/videocc-sc7280.c | 2 +- > drivers/clk/qcom/videocc-sdm845.c | 4 ++-- > drivers/clk/qcom/videocc-sm8250.c | 4 ++-- > drivers/clk/qcom/videocc-sm8550.c | 4 ++-- > 5 files changed, 8 insertions(+), 8 deletions(-) -- With best wishes Dmitry