Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3431193pxj; Mon, 7 Jun 2021 10:23:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy6JhU520NhXUHNiZ95fwd6IVR2jS489k3ngs6KOzcmeb4qTCzKBVuWG7CFxz1HjmBHj6f9 X-Received: by 2002:a05:6402:44:: with SMTP id f4mr21303530edu.364.1623086626070; Mon, 07 Jun 2021 10:23:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623086626; cv=none; d=google.com; s=arc-20160816; b=UEJZPAlvgPsjZMpYTGZG1+kCRqWOmV1n9JzJapmxIURBMQtJv3INUCqc6KpVFec+Xk NeTv+ErTDQ3Z2/a/qIctWxQ/rh6IbbRKXPkrE3ibyn7larOVvZBmIxzUUuN0plR7xT1q m3NbA6wn5bT7ggdqPFinI5TnANKYwEJBswhzav6dfAiynMSdQNgDgG/gdEp36qXOs0vW AzlZh3vKyZGDBzEPB2rtAZqGaP7/IKCzZYdtINILzGhBjtW7DbJcfHCvJrJIBq07IhyP B1PLt0yhovVywFf6RAoRtdtpzuNR8bX814MNxSyRoowaWPDZNvimyY90e0eCCpUJ11IR 4K3g== 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=wIsZEzKuedmNrkE8sWmADzsVq5Ce7bsvNlcNsZxTnRY=; b=I96fcgAHN0c9U5ofz121z5JSapIHkHdE+CiH90bId3ZZqhltFFCkLKUG7XsrK9deMO MhzvzDDKmO7MJovaGdNcowuY0Rlx9aOaRCSlIe2xCxsA7MSSnfQb5d8zaCXFP+09jyZN tOryfuIAoz+wrLErkaNzul55Ek8PBa0J4oRwG2a1liN+vvZkoq/SL/Y44vit/o00/saG RfSfckKIZvIgZ0xusIYRWt3z+WP0nJ40K9RScwFsanGkK5MgugXmp2hi7beNLkfjO/Lu zw5IHlMP07O7JZf+3Oz3klxTDsq5uuBxAKJySOCX/xj+aB0yCmEbgY7xY7IaKrFjESrM stZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=g13yFXlu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kf11si12924229ejc.490.2021.06.07.10.23.23; Mon, 07 Jun 2021 10:23:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=g13yFXlu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230479AbhFGRXh (ORCPT + 99 others); Mon, 7 Jun 2021 13:23:37 -0400 Received: from mail-ot1-f50.google.com ([209.85.210.50]:42815 "EHLO mail-ot1-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230241AbhFGRXf (ORCPT ); Mon, 7 Jun 2021 13:23:35 -0400 Received: by mail-ot1-f50.google.com with SMTP id w23-20020a9d5a970000b02903d0ef989477so13066357oth.9; Mon, 07 Jun 2021 10:21:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wIsZEzKuedmNrkE8sWmADzsVq5Ce7bsvNlcNsZxTnRY=; b=g13yFXluOkzEJmOZQmZQEQXcaP5WqUhlO0+vdTKZ+lHxSMjjYXxAPEbAfNwkDboqTH qb1kOYOjC10Rb2yEMyYhFHgRGH5aqUBpJqrCgamlEp/drI181Kw1NC0eP/fbQaUGqgjf lhQ8uJNbtt3vMqD3kalgHbYJAztqVaWdAjhcwZHYRliQfsbFSc0aS426zQ9y/5lo9Z1a cHbJ/l3t/8ToWpcggpaX0kcdYI3JX8mUD09TUlFI4VsveMbMVQtazwsktniMjcPPIjXy mpaTh0FgX2P8TbVNDNi7o4rKHl2X3RFUUSKXmkWi3FtgMaVF018evvpg0idGYoIzmrcn nXAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wIsZEzKuedmNrkE8sWmADzsVq5Ce7bsvNlcNsZxTnRY=; b=P1lvlSDAFLh+xRxIcR8BnxLvYV4qQAvSj6Uz+J0IzdBneUQKc94hDExQWW5Ip5HkJt LIoXwucTU9QLGsqF4OQ5HF2MeIQOxHqEOK8cKpJdZSiwLHhXydcHvBL2LjIh5ps/c/VY XB1+WdXmUNwARkHnMbTJ4FqtjjmXYl7DfrF49LThk1LXKaEPmoN7vCTKEFIy1+qcK5Hh lRZIJtB6lncd4j8O/KRUonSS36/aD2slARzvU3fEg3mS4IjU23qorbO5QI8wpM9OupSl 9M9FsslzQCIj6ryVpNL0S8YN7uT+3MWRi0xqJcBa0ecFYH+VrUsfq3j+a5AED84+7dWi /QvA== X-Gm-Message-State: AOAM5323jiXtHFIioZvRp3RO9xerd5mjXaZvYkCrymCyxQfoDLc1XHGZ Ofkx5OxN0mVMcuZfmDgaNLN72ftgKQCx5V6oUuQ= X-Received: by 2002:a9d:6548:: with SMTP id q8mr14588598otl.311.1623086431533; Mon, 07 Jun 2021 10:20:31 -0700 (PDT) MIME-Version: 1.0 References: <20210607115615.83162-1-colin.king@canonical.com> In-Reply-To: <20210607115615.83162-1-colin.king@canonical.com> From: Alex Deucher Date: Mon, 7 Jun 2021 13:20:20 -0400 Message-ID: Subject: Re: [PATCH][next] drm/amd/display: Fix two spelling mistakes, clean wide lines To: Colin King Cc: Harry Wentland , Leo Li , Alex Deucher , =?UTF-8?Q?Christian_K=C3=B6nig?= , xinhui pan , David Airlie , Daniel Vetter , amd-gfx list , Maling list - DRI developers , kernel-janitors@vger.kernel.org, LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Applied. Thanks! Alex On Mon, Jun 7, 2021 at 7:58 AM Colin King wrote: > > From: Colin Ian King > > There are two spelling mistakes in dml_print messages, fix these and > clear up checkpatch warning on overly wide line length. > > Signed-off-by: Colin Ian King > --- > .../drm/amd/display/dc/dml/dcn31/display_mode_vba_31.c | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) > > diff --git a/drivers/gpu/drm/amd/display/dc/dml/dcn31/display_mode_vba_31.c b/drivers/gpu/drm/amd/display/dc/dml/dcn31/display_mode_vba_31.c > index c725160a095b..d655655baaba 100644 > --- a/drivers/gpu/drm/amd/display/dc/dml/dcn31/display_mode_vba_31.c > +++ b/drivers/gpu/drm/amd/display/dc/dml/dcn31/display_mode_vba_31.c > @@ -1494,10 +1494,11 @@ static bool CalculatePrefetchSchedule( > dml_print( > "DML: Tsw: %fus = time to fetch enough pixel data and cursor data to feed the scalers init position and detile\n", > (double) LinesToRequestPrefetchPixelData * LineTime); > - dml_print("DML: To: %fus - time for propogation from scaler to optc\n", (*DSTYAfterScaler + ((double) (*DSTXAfterScaler) / (double) myPipe->HTotal)) * LineTime); > + dml_print("DML: To: %fus - time for propagation from scaler to optc\n", > + (*DSTYAfterScaler + ((double) (*DSTXAfterScaler) / > + (double) myPipe->HTotal)) * LineTime); > dml_print("DML: Tvstartup - TSetup - Tcalc - Twait - Tpre - To > 0\n"); > - dml_print( > - "DML: Tslack(pre): %fus - time left over in schedule\n", > + dml_print("DML: Tslack(pre): %fus - time left over in schedule\n", > VStartup * LineTime - TimeForFetchingMetaPTE - 2 * TimeForFetchingRowInVBlank > - (*DSTYAfterScaler + ((double) (*DSTXAfterScaler) / (double) myPipe->HTotal)) * LineTime - TWait - TCalc - *TSetup); > dml_print("DML: row_bytes = dpte_row_bytes (per_pipe) = PixelPTEBytesPerRow = : %d\n", PixelPTEBytesPerRow); > @@ -3023,7 +3024,8 @@ static void DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerforman > for (k = 0; k < v->NumberOfActivePlanes; ++k) { > if (v->ImmediateFlipSupportedForPipe[k] == false) { > #ifdef __DML_VBA_DEBUG__ > - dml_print("DML::%s: Pipe %0d not supporing iflip\n", __func__, k); > + dml_print("DML::%s: Pipe %0d not supporting iflip\n", > + __func__, k); > #endif > v->ImmediateFlipSupported = false; > } > -- > 2.31.1 >