Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp637933lqh; Fri, 31 May 2024 11:31:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVnhwy/uY/YdKc/0L/4GijGMhRvxXGdeGV3W0DkEgjdDkYaUxDGdAT0L0JXedsbHTFG/kCqZgryXxpCqPlwT73FhuSkUtQ9C0trjIaa1A== X-Google-Smtp-Source: AGHT+IFUi1F6Wkfhs4rUrvQh/13DTlNFIMjUvOEjYFY5Y32PF37eY0WgqXrROVU2m1OnYqf6Jzry X-Received: by 2002:a05:6a21:3d84:b0:1b2:6c12:876c with SMTP id adf61e73a8af0-1b26f244f34mr2863930637.44.1717180283164; Fri, 31 May 2024 11:31:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717180283; cv=pass; d=google.com; s=arc-20160816; b=SElGVtd2F5tbw6dvxi/a2rLNC0m5m8h6qf4j7tfw0yaLSMod9WKbgsnxBjNRvHUxG8 gyidz015QxBXYOIO+2UroVAz93FL8+MhoO3dwm5vYtLXl0gpNkwtiGUzkgSROFCqk6dC UxjbV0GVVWrqArtnUEkdWJ0KxiTg2apRz5uEG2jIxL3E/66aemqNCzrGDhwVCgBxnUl/ VrZonLPvxNq9Rr2L19/HW0LKNcuW5umOD/3G03RfDbDSKr5OM3Ddqq09kGNwRpd6QD/M bV3k7hEgMZAUfxZlJ5NT/cUCe6ZmBK1Lx5NXaDGyiGmK/Zurazhpj+fVqb2PQzVWb28t aBYQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=6doFFCcSTAte6ymfy+Igul1WrbfPbryjlzogNwwZ8rc=; fh=KmpT5mR3J2tPIPdlQKkqugA2I74jsD/fEVr4GGxij3I=; b=V8vgHX2L9lKespLSi0QT/U0WQ6ZZw58C3EbFLtkzBIKxedUhj3tRYHo290vyN78Puz YuMFwoBzkwx6B/4ztLVT2vBLmgabN3uAnwhBpOt37NjWDRP/9ML5VUqVSThnuwVT98Xb Sdh/1QdDxwno/QKqp/3bqpy2HuT3c/5L3C8V3biTa5sRJV6dknA7irlgcxs5vTl70eDW 7Ne+rrIpC068214zyhoSJyCyJIV1stZHJvbgiaIfW1i6lEZOFx846te0TMkH1H9wiSP1 1P/+tasADl+4rbKC/iaL3lxe+zC0Bb9j/B5SkilemGhI4EDszuNo3tMUrEyAdUQwmehi OKgw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=SoW73p0Q; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-197296-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197296-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-70242e64131si1937900b3a.386.2024.05.31.11.31.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 11:31:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-197296-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=SoW73p0Q; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-197296-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197296-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id B540C28A92A for ; Fri, 31 May 2024 18:21:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0B0FB17D347; Fri, 31 May 2024 18:20:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="SoW73p0Q" Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5877017CA03; Fri, 31 May 2024 18:20:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717179643; cv=none; b=GP1rltx+EHCJ+UQAQbKNZlWCOpffMDjxPjJLY2zHlpfn9IgzRXyb75UBJmY/ML7SNYaHUM2XrpOh0vwN+Lmd8sp0UYWXQBaLWXBnU4+BnsuznrzVHAMBPpVqTZYtZs9GOg9/4MSiZOFzALfNKAAHKuYm4D7igJFxtEWGWWgR4mw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717179643; c=relaxed/simple; bh=H6k9KopKfaFWOB0CAQg8qAB9APDD+0DUxxv1gA1s2AQ=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Hpwzk166asd6D1++d8PfaJmmO3YVkRclOYQUYz+JojkyDE2ghQBZMewUGIbw5v/KEhGQy+rgyzNwl4dXRzzE8fAMaQlPs10rOYlwOG4FjazF8oewRijDfCYUxkg5kb1d4X1e6WiPTS30j3hmSr2ZpLTjW5dBB5RDMlv60L5KysY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=SoW73p0Q; arc=none smtp.client-ip=209.85.214.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-1f47f07acd3so21190505ad.0; Fri, 31 May 2024 11:20:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717179641; x=1717784441; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=6doFFCcSTAte6ymfy+Igul1WrbfPbryjlzogNwwZ8rc=; b=SoW73p0Qjz5jLJzxWbjj6AO6GXjyN+TmkVgjfOdAsSAffsvSrws03n+qyK8ceiinfS tOigU80HGsH59BOlBGSol77xxenUoQg4l2zaYW8Uh5oTQfvLfVZPK5TXFx6TbjCdWQQF AVWAscWR50YCP2btJx+5R+rrrbRppl8Q14zRCtfPAG2V5Chq3v9Anw/bfugzzxYr/zzA tyhs2DL9/d9qxFDTBraIIaL9ttd0wiEQHr+jo0EGfvlxcZBKwo4+Kg4KEoikTe5djpic wlHVlA8sxVTH+TjZo5Nn3c7RXSPArhJbX3VzZkHxvJokjzZjSmvA6TUrz6/UaanTivBX nGSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717179641; x=1717784441; h=content-transfer-encoding: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=6doFFCcSTAte6ymfy+Igul1WrbfPbryjlzogNwwZ8rc=; b=GEBY9ESCjXgoqJENENbS+fzM+5RJRl7gy6ImKFCDHsFbQW8BPaxnvcd6JnjE2BxAwZ napq0V195NfFcwIMHK7/U3m3Yk4reNzr8Iq9RPb6tKcisA0gOaRhevhdOxFL4Y4nb52/ PDE0hhexf3OtxwlWzwBO1/pZ4P5g6/2SUFCorU6kk2i7cLBNg5ho/GnJ6DJ0t6hPzAoY b7CXXusd4LsSbZtARwkdyN+sJKwU/MqAdkUp17M1/i0Z8tUnOybM7vH9+WRjlu031ltE Zv8siSNk5+wDjDpgQni8Q4r7rAC0Lszwf8S7fMp5Iw0m9wAV/akjiq1lpQMk+w/Mc+Do h3lg== X-Forwarded-Encrypted: i=1; AJvYcCXxhhKpAY0WWlTsVlvWduNVH7jFbDuXZIB+EHoC8nCB6bSnt6zAhOJ+pD8Lc+1HggC7YlDpXqfc6e+9hPAeFs+Y2Pr/taGGqGIhRAhblvbgbv1X06g2W6+LYCe9BFa9OiOL7Vv98f1taqe411Nd X-Gm-Message-State: AOJu0Yy9BDFmFNmXHn58ocTCBaEuQ6mmLRAHGdByXAcA4aiDVTYlbugQ A/xDnhDgTt1Awl1Of02hMIl8d931/bwCZUpf8orujDjTFHOFjI+ZLPcAPxApyEL5/ENg5k5HlIp 1kwYko1azPzH8qs5fGCQRsI0IidI= X-Received: by 2002:a17:902:f7c5:b0:1f4:8363:a6fc with SMTP id d9443c01a7336-1f6370203aemr24549975ad.25.1717179641457; Fri, 31 May 2024 11:20:41 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240531093211.498880-1-colin.i.king@gmail.com> <833fac2c-91f9-4e9a-9b9e-da2db955a488@infradead.org> In-Reply-To: <833fac2c-91f9-4e9a-9b9e-da2db955a488@infradead.org> From: Alex Deucher Date: Fri, 31 May 2024 14:20:29 -0400 Message-ID: Subject: Re: [PATCH][next] drm/amd/display: Fix a handful of spelling mistakes To: Randy Dunlap Cc: Colin Ian King , Harry Wentland , Leo Li , Rodrigo Siqueira , Alex Deucher , =?UTF-8?Q?Christian_K=C3=B6nig?= , Xinhui.Pan@amd.com, David Airlie , Daniel Vetter , Alex Hung , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Applied. Thanks! Alex On Fri, May 31, 2024 at 11:37=E2=80=AFAM Randy Dunlap wrote: > > > > On 5/31/24 2:32 AM, Colin Ian King wrote: > > There are a few spelling mistakes in dml2_printf messages. Fix them. > > > > Signed-off-by: Colin Ian King > > > Reviewed-by: Randy Dunlap > > Thanks. > > > --- > > .../dc/dml2/dml21/src/dml2_core/dml2_core_dcn4_calcs.c | 6 +++--- > > .../display/dc/dml2/dml21/src/dml2_core/dml2_core_shared.c | 6 +++--- > > 2 files changed, 6 insertions(+), 6 deletions(-) > > > > diff --git a/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dm= l2_core_dcn4_calcs.c b/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_c= ore/dml2_core_dcn4_calcs.c > > index 8062144a5a6d..e7e6751f4477 100644 > > --- a/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core= _dcn4_calcs.c > > +++ b/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core= _dcn4_calcs.c > > @@ -5731,7 +5731,7 @@ static bool CalculatePrefetchSchedule(struct dml2= _core_internal_scratch *scratch > > dml2_printf("DML: Tvm: %fus - time to fetch vm\n", s->Tim= eForFetchingVM); > > dml2_printf("DML: Tr0: %fus - time to fetch first row of = data pagetables\n", s->TimeForFetchingRowInVBlank); > > dml2_printf("DML: Tsw: %fus =3D time to fetch enough pixe= l data and cursor data to feed the scalers init position and detile\n", (do= uble)s->LinesToRequestPrefetchPixelData * s->LineTime); > > - dml2_printf("DML: To: %fus - time for propogation from sc= aler to optc\n", (*p->DSTYAfterScaler + ((double)(*p->DSTXAfterScaler) / (d= ouble)p->myPipe->HTotal)) * s->LineTime); > > + dml2_printf("DML: To: %fus - time for propagation from sc= aler to optc\n", (*p->DSTYAfterScaler + ((double)(*p->DSTXAfterScaler) / (d= ouble)p->myPipe->HTotal)) * s->LineTime); > > dml2_printf("DML: Tvstartup - TSetup - Tcalc - TWait - Tp= re - To > 0\n"); > > dml2_printf("DML: Tslack(pre): %fus - time left over in s= chedule\n", p->VStartup * s->LineTime - s->TimeForFetchingVM - 2 * s->TimeF= orFetchingRowInVBlank - (*p->DSTYAfterScaler + ((double)(*p->DSTXAfterScale= r) / (double)p->myPipe->HTotal)) * s->LineTime - p->TWait - p->TCalc - *p->= TSetup); > > dml2_printf("DML: row_bytes =3D dpte_row_bytes (per_pipe)= =3D PixelPTEBytesPerRow =3D : %u\n", p->PixelPTEBytesPerRow); > > @@ -8268,7 +8268,7 @@ static bool dml_core_mode_support(struct dml2_cor= e_calcs_mode_support_ex *in_out > > dml2_printf("DML::%s: mode_lib->ms.DCFCLK =3D %f\n", __func__, mo= de_lib->ms.DCFCLK); > > dml2_printf("DML::%s: mode_lib->ms.FabricClock =3D %f\n", __func_= _, mode_lib->ms.FabricClock); > > dml2_printf("DML::%s: mode_lib->ms.uclk_freq_mhz =3D %f\n", __fun= c__, mode_lib->ms.uclk_freq_mhz); > > - dml2_printf("DML::%s: urgent latency tolarance =3D %f\n", __func_= _, ((mode_lib->ip.rob_buffer_size_kbytes - mode_lib->ip.pixel_chunk_size_kb= ytes) * 1024 / (mode_lib->ms.DCFCLK * mode_lib->soc.return_bus_width_bytes)= )); > > + dml2_printf("DML::%s: urgent latency tolerance =3D %f\n", __func_= _, ((mode_lib->ip.rob_buffer_size_kbytes - mode_lib->ip.pixel_chunk_size_kb= ytes) * 1024 / (mode_lib->ms.DCFCLK * mode_lib->soc.return_bus_width_bytes)= )); > > #endif > > > > mode_lib->ms.support.OutstandingRequestsSupport =3D true; > > @@ -11089,7 +11089,7 @@ static bool dml_core_mode_programming(struct dm= l2_core_calcs_mode_programming_ex > > if (display_cfg->plane_descriptors[k].imm= ediate_flip && mode_lib->mp.ImmediateFlipSupportedForPipe[k] =3D=3D false) = { > > mode_lib->mp.ImmediateFlipSupport= ed =3D false; > > #ifdef __DML_VBA_DEBUG__ > > - dml2_printf("DML::%s: Pipe %0d no= t supporing iflip!\n", __func__, k); > > + dml2_printf("DML::%s: Pipe %0d no= t supporting iflip!\n", __func__, k); > > #endif > > } > > } > > diff --git a/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dm= l2_core_shared.c b/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/= dml2_core_shared.c > > index f2e2250d28d3..6eb3fec87ec1 100644 > > --- a/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core= _shared.c > > +++ b/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core= _shared.c > > @@ -1988,7 +1988,7 @@ bool dml2_core_shared_mode_support(struct dml2_co= re_calcs_mode_support_ex *in_ou > > dml2_printf("DML::%s: mode_lib->ms.FabricClock =3D %f\n", __func_= _, mode_lib->ms.FabricClock); > > dml2_printf("DML::%s: mode_lib->ms.uclk_freq_mhz =3D %f\n", __fun= c__, mode_lib->ms.uclk_freq_mhz); > > dml2_printf("DML::%s: max_urgent_latency_us =3D %f\n", __func__, = mode_lib->ms.support.max_urgent_latency_us); > > - dml2_printf("DML::%s: urgent latency tolarance =3D %f\n", __func_= _, ((mode_lib->ip.rob_buffer_size_kbytes - mode_lib->ip.pixel_chunk_size_kb= ytes) * 1024 / (mode_lib->ms.DCFCLK * mode_lib->soc.return_bus_width_bytes)= )); > > + dml2_printf("DML::%s: urgent latency tolerance =3D %f\n", __func_= _, ((mode_lib->ip.rob_buffer_size_kbytes - mode_lib->ip.pixel_chunk_size_kb= ytes) * 1024 / (mode_lib->ms.DCFCLK * mode_lib->soc.return_bus_width_bytes)= )); > > #endif > > > > mode_lib->ms.support.OutstandingRequestsSupport =3D true; > > @@ -8131,7 +8131,7 @@ static bool CalculatePrefetchSchedule(struct dml2= _core_internal_scratch *scratch > > dml2_printf("DML: Tvm: %fus - time to fetch vm\n", s->Tim= eForFetchingVM); > > dml2_printf("DML: Tr0: %fus - time to fetch first row of = data pagetables\n", s->TimeForFetchingRowInVBlank); > > dml2_printf("DML: Tsw: %fus =3D time to fetch enough pixe= l data and cursor data to feed the scalers init position and detile\n", (do= uble)s->LinesToRequestPrefetchPixelData * s->LineTime); > > - dml2_printf("DML: To: %fus - time for propogation from sc= aler to optc\n", (*p->DSTYAfterScaler + ((double)(*p->DSTXAfterScaler) / (d= ouble)p->myPipe->HTotal)) * s->LineTime); > > + dml2_printf("DML: To: %fus - time for propagation from sc= aler to optc\n", (*p->DSTYAfterScaler + ((double)(*p->DSTXAfterScaler) / (d= ouble)p->myPipe->HTotal)) * s->LineTime); > > dml2_printf("DML: Tvstartup - TSetup - Tcalc - TWait - Tp= re - To > 0\n"); > > dml2_printf("DML: Tslack(pre): %fus - time left over in s= chedule\n", p->VStartup * s->LineTime - s->TimeForFetchingVM - 2 * s->TimeF= orFetchingRowInVBlank - (*p->DSTYAfterScaler + ((double)(*p->DSTXAfterScale= r) / (double)p->myPipe->HTotal)) * s->LineTime - p->TWait - p->TCalc - *p->= TSetup); > > dml2_printf("DML: row_bytes =3D dpte_row_bytes (per_pipe)= =3D PixelPTEBytesPerRow =3D : %u\n", p->PixelPTEBytesPerRow); > > @@ -10959,7 +10959,7 @@ bool dml2_core_shared_mode_programming(struct d= ml2_core_calcs_mode_programming_e > > if (display_cfg->plane_descriptors[k].imm= ediate_flip && mode_lib->mp.ImmediateFlipSupportedForPipe[k] =3D=3D false) = { > > mode_lib->mp.ImmediateFlipSupport= ed =3D false; > > #ifdef __DML_VBA_DEBUG__ > > - dml2_printf("DML::%s: Pipe %0d no= t supporing iflip!\n", __func__, k); > > + dml2_printf("DML::%s: Pipe %0d no= t supporting iflip!\n", __func__, k); > > #endif > > } > > } > > -- > #Randy > https://people.kernel.org/tglx/notes-about-netiquette > https://subspace.kernel.org/etiquette.html