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: 10544645 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 74E5614E2 for ; Wed, 25 Jul 2018 20:35:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 646EA2AB3D for ; Wed, 25 Jul 2018 20:35:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 58A072AB4D; Wed, 25 Jul 2018 20:35:36 +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=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F345E2AB3D for ; Wed, 25 Jul 2018 20:35:35 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 566C889D42; Wed, 25 Jul 2018 20:35:33 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-yb0-x243.google.com (mail-yb0-x243.google.com [IPv6:2607:f8b0:4002:c09::243]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4EA4489D5C for ; Wed, 25 Jul 2018 20:35:32 +0000 (UTC) Received: by mail-yb0-x243.google.com with SMTP id s8-v6so3510257ybe.8 for ; Wed, 25 Jul 2018 13:35:32 -0700 (PDT) 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=qRxaa5fpwT8Kp/NJLPstUEKkj3aWsKnq5f7EViXTyXNm0RQWqAjWPlnFydXBpzgKXw NEMenL5APT1p7Wiz/sj2QPYwOpAa7zrYncLLQgx+0rWDtmfRrLByxXmlBO4LOnuA2zYq S2pFoiFDBpcnIuFnkVsOD8Yw8BXQJ6bsWHIYf+Bs9APOLeMnehVFBZpVuGACqbi7lEht q0vSFJgj8Z08zXg+PLRj58QMsnIu2bXH7uU+YPPanpSvpiND59F2iA+0UYQTpae8VHwG uWFFGnPw7+n6YtG9i21/1tYm+EV6olmCknoDIu/WHpHZisZodg25SUa2Z62nrgROO1I+ gTbw== X-Gm-Message-State: AOUpUlE3zoED0Bl1h4v3j3B0Sw+PX91CggySFQJoGw1seoU6HVcj75fS 9cZMFd2VbfPpSiDfiRxz+5+6lA== 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 To: 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 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, dri-devel@lists.freedesktop.org MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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);