From patchwork Wed Jul 25 20:34:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Paul X-Patchwork-Id: 10544643 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 497BC9093 for ; Wed, 25 Jul 2018 20:35:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 392512AB3D for ; Wed, 25 Jul 2018 20:35:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2D5522AB4D; Wed, 25 Jul 2018 20:35:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CA7272AB3D for ; Wed, 25 Jul 2018 20:35:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730357AbeGYVsv (ORCPT ); Wed, 25 Jul 2018 17:48:51 -0400 Received: from mail-yb0-f193.google.com ([209.85.213.193]:37691 "EHLO mail-yb0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730305AbeGYVsv (ORCPT ); Wed, 25 Jul 2018 17:48:51 -0400 Received: by mail-yb0-f193.google.com with SMTP id r3-v6so3512867ybo.4 for ; Wed, 25 Jul 2018 13:35:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id; bh=6ZTac85IUMF64cfhKWN5Z291977FjMugrxItjI79ay0=; b=KDnrBmaLCJZ/VOY1SNDDiT4jf81d5XMBfUk5dXtjPrMPkbbGgDLeAaJSW6VBWW9Q2o 5AMif2AZEq9imvCtDPCp25lIqiRrw5LzIBWKU1ZxXbdDbc7HtpWQqzhjL+MZZF0kwt7E D4YFPh/pTgVp+WGQ9PHzmhlOKQpMgWj5kacvg= 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; bh=6ZTac85IUMF64cfhKWN5Z291977FjMugrxItjI79ay0=; b=EnUjtcEsd5rJcpp5Z/nAcSS2WQm+RlDo05sdjea/x0q4M2/BArOzVN8yZ98jE1Vm/1 919aYgYti3sIHiMla7V5LTf+JsnQbKpFS2WuceCDaBWeGZdd3e6/GKmTlPhdMIX7MRAb N6gXeUwLkskJ2RgkNYelc5yN9WNgHNvNz2bbs9v2sKSkAr4yH9r4SQaJCltTMkoOd3P2 1i62Fr3Qjysg+gsReIzeqVnsV6K5MI/BISpH7bv8LCxQe420pYDloPCx8TAF2t7r111E 8J1GrviyY6wpNA8lN6N97DQOixUfO29IjFmaCCgbuMtXsaJSxca36mJ4HH10XC2PtGNQ Y+nA== X-Gm-Message-State: AOUpUlF3bcS1fpUVlYnwJUIs5p8jmuSpPhQvUE2/DAiTI+7j5d68hWXK zbcVbnhLcPeaIMQXua4N3YfW8W1sLZY= X-Google-Smtp-Source: AAOMgpe6GufHfU7lcap6leuefB82lkDIrIKgbXrYnnaFW+iQd+8QcX011pKE/nu0h7DJpCvidh6MXw== X-Received: by 2002:a25:1b42:: with SMTP id b63-v6mr12279823ybb.385.1532550931388; Wed, 25 Jul 2018 13:35:31 -0700 (PDT) Received: from rosewood.cam.corp.google.com ([2620:0:1013:11:ad55:b1db:adfe:3b9f]) by smtp.gmail.com with ESMTPSA id f137-v6sm14692568ywb.52.2018.07.25.13.35.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Jul 2018 13:35:30 -0700 (PDT) From: Sean Paul Cc: Sean Paul , Rob Clark , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org Subject: [PATCH 1/3] drm/msm: dpu: Use 'vsync' instead of 'vsync_clk' in cmdmode encoder Date: Wed, 25 Jul 2018 16:34:43 -0400 Message-Id: <20180725203529.164928-1-seanpaul@chromium.org> X-Mailer: git-send-email 2.18.0.233.g985f88cf7e-goog To: unlisted-recipients:; (no To-header on input) Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Should work with the legacy handling in of, but we shouldn't rely on that. Signed-off-by: Sean Paul --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c index 035a5fbe1435..e6d02c6947b4 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c @@ -424,7 +424,7 @@ static void dpu_encoder_phys_cmd_tearcheck_config( * vsync_count is ratio of MDP VSYNC clock frequency to LCD panel * frequency divided by the no. of rows (lines) in the LCDpanel. */ - vsync_hz = dpu_kms_get_clk_rate(dpu_kms, "vsync_clk"); + vsync_hz = dpu_kms_get_clk_rate(dpu_kms, "vsync"); if (vsync_hz <= 0) { DPU_DEBUG_CMDENC(cmd_enc, "invalid - vsync_hz %u\n", vsync_hz);