Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp258864rdb; Thu, 8 Feb 2024 05:23:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IEBk+QhpwxycaEYpQJEpGHaY2LXQCdvwK/SsSmhzLGYKmp65lDECIgJtDGMkRahHmVnsqGS X-Received: by 2002:a05:6808:1510:b0:3bf:f3c2:475f with SMTP id u16-20020a056808151000b003bff3c2475fmr2103968oiw.46.1707398580279; Thu, 08 Feb 2024 05:23:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707398580; cv=pass; d=google.com; s=arc-20160816; b=ryh79N8k3x3hmpLSkzMHvHkA2WFtotFyPeFbql2IY+Y24ekJSEcabXcWEzzzF3fziW bjJUSh56Yne0qI4+SNGXByV0NnhdkLeUjKdDV/UOA6xoFVNz3QsWxGJ61O8exkQZVDNf ZsC72VxNCfLWRIdNQiWDmi3AaL/fkPRsg7C0KpTmNXqmft0wmGC/tF+xDs1powxxqoN0 2kDUiwdvYOYNbW6PbjyzQr9aO+tutDUW/HSpx+yJc1sPAIi7ie25Yty01s/CfWIPKj/r nSaOisdNrg0Mz/OXP0sH4znqtYyWvd/nZeBo4D/QJyOif7XJ3OxaAZIZ2EDL+abqXf7r BoCg== 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=D8Dp3BKeiZZKDAqJdXYO0Ke5gALNhbM/RCCF/9rM4yU=; fh=0H5fBF33Ak99T1YwGNrputeHogpBkwu2lfU6kkwPDmU=; b=yZLGpVdxBrzQlMGBh9vIlLR2HD5g9Zw8HV05sahPdg2jxNaeUC5Hk0vYSiXE5hJRyr KsWYN/NnRAT24/WtVMRb11z8y9A2n/Q30gUuQalgeY1uYlluq82JflwtPhJ+Xu3qcw68 235qQJwfUh4hrwUpjKJ3Ysw/UO2FQfsdGeiZTl8ZzfcdjuDHPEMmAaKyYs86JGBz+Nfp lT/n1BEQouywsIFRh5qNImdgUtCHMBYt+ZMmyFzsPvbBaE7IIzbTBNEwjOulHOUy2UCq G0zRLPhShKk++cziDqF+ZWC0vEerSRxAX2HgZS3xwb+GTORi5aAjgIN8M2wqpU8yJGi1 jYfg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZqE0hvwG; 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-58140-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58140-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com X-Forwarded-Encrypted: i=2; AJvYcCWSMx8CcYTHi+2KUwnaNM9coWtudv08p2nVFRNKUQkBVQ4q0Rmcf3iGLBIflInvxX+mhna/tycxyfSX9Jmr/9nfJ+aiRmFa7c+/PXd3yg== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id a24-20020a637f18000000b005dc3614f97csi3628973pgd.571.2024.02.08.05.23.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 05:23:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58140-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZqE0hvwG; 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-58140-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58140-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 A6CA928D439 for ; Thu, 8 Feb 2024 13:21:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1BE3A7E783; Thu, 8 Feb 2024 13:16:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ZqE0hvwG" Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) (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 EBF797D410 for ; Thu, 8 Feb 2024 13:15:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707398161; cv=none; b=t+i1xOrNim6Z1TyHCTzMr3sJ85V7Nh765M0ErOkphFwvDmKUdP9wJXqgstDAtm66CC6LsSsfSe0QBSX/E/Lg2OMS/8IRrmoiADOB91ze7F6P9UKAoFhl3C5NjKZXriDHVLNrxy6woXJ9h2RqyGGk9E+gvjrkhRIFX4JPLZRIIiE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707398161; c=relaxed/simple; bh=JYAXOHhijzGveTgLECFMxWt2hP1TLJVns/dJDsdVzn4=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=rb4AC5w2qJhYNCZ1HmRLfEzF4d7jGZlR67uaI9592iH85qPNamToO5s12VRhnozPhpZis9ZYT6hwbDHv98igIEtzl1z41ocbCCS5+N8+2czCqNHu1BAVmJeFYeA403EwzP5pbNpTIAfKa9YNFLlKFDgvM/rwjoVE9maILyAEr7k= 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=ZqE0hvwG; arc=none smtp.client-ip=209.85.215.179 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-pg1-f179.google.com with SMTP id 41be03b00d2f7-5cddc5455aeso1302627a12.1 for ; Thu, 08 Feb 2024 05:15:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707398159; x=1708002959; 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=D8Dp3BKeiZZKDAqJdXYO0Ke5gALNhbM/RCCF/9rM4yU=; b=ZqE0hvwGedeTUAog3feEeY1ZxJ4BlHJrsA4Qto3fDpjVSdq46VHr58S9EifnAaLLEG QfyZKhPhlC86wBzDeqNwF1ht5+tDRpoLZ4BXVoYqVCfZncyXya0Ei4ctInW/bed1s5k5 CTcXzTfzs0b4RxAvyes8Akoo6abPdHlcqANVQv6PQdDH7qBo0Y3Y27Sv9RRl7FJlvpeN t+oOk5IgTEaKjusZdb5t18wLiNcAacOtw3ubxKgZY5q20/s4IG2UpXokvmTdaHitjzsq SrWFJkH6jcm+2o/jNtthwoN86u4bOekL7+IdS2oGtu9FRYGB/p3aommI2YmsZsHOPZPH CtQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707398159; x=1708002959; 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=D8Dp3BKeiZZKDAqJdXYO0Ke5gALNhbM/RCCF/9rM4yU=; b=DM5A1xWvCCMQedQsBJ+Yqvr2FmnKz7khtUewDj04ivd7UURWLzCVnOb2/3EyFDFlYt za3wRUCNUDqxZOwRQ+lbDJnDvgvnaRVTbzB9k4eUbsVKQE44w3JS82lAbVG/dlrOhi7x pSs/m2ivh/IR59gHg+vo3OB3o2pO4h8/phm2kTXAkMc5MGa0+QjdwD0ctO/pJ7uts3/M fkNukVVV/jH7cf058vjh8MHAxOdFUO95GYwMyO0d+aEFzmyhuRY7MhxnbMzftP40R75y Of3tww7RecKCvya6Xrv80fMvPsWn2SEIl2Z5bfUw9URidLGucSAyD3GVFKhPWBaqsVp6 ZBGg== X-Gm-Message-State: AOJu0YzsUC3BPlAmFrstnPrUoJQMQzA839cAG+ojKFkVFKr5nIeeymP7 RThThz45ordIl3mcvg567RviEy10VJEA2KnsmE2dv0MzE6kalaBrfbAUDMc9DV+jpiCGC5zI5U4 vH9B0+AZv7OyScgaPkPCUwu4FdpY= X-Received: by 2002:a17:90a:e2c2:b0:296:f9e9:5d45 with SMTP id fr2-20020a17090ae2c200b00296f9e95d45mr1709115pjb.32.1707398158977; Thu, 08 Feb 2024 05:15:58 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231212033259.189718-1-aford173@gmail.com> <20231212033259.189718-2-aford173@gmail.com> In-Reply-To: From: Adam Ford Date: Thu, 8 Feb 2024 07:15:47 -0600 Message-ID: Subject: Re: [PATCH 2/2] drm/bridge: samsung-dsim: Fix porch calcalcuation rounding To: Frieder Schrempf Cc: dri-devel@lists.freedesktop.org, aford@beaconembedded.com, Inki Dae , Jagan Teki , Marek Szyprowski , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Michael Tretter , Marco Felsch , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Jan 29, 2024 at 2:17=E2=80=AFAM Frieder Schrempf wrote: > > On 25.01.24 19:44, Adam Ford wrote: > > On Mon, Dec 11, 2023 at 9:33=E2=80=AFPM Adam Ford = wrote: > >> > >> When using video sync pulses, the HFP, HBP, and HSA are divided betwee= n > >> the available lanes if there is more than one lane. For certain > >> timings and lane configurations, the HFP may not be evenly divisible. > >> If the HFP is rounded down, it ends up being too small which can cause > >> some monitors to not sync properly. In these instances, adjust htotal > >> and hsync to round the HFP up, and recalculate the htotal. > >> > >> Tested-by: Frieder Schrempf # Kontron BL= i.MX8MM with HDMI monitor > >> Signed-off-by: Adam Ford > > > > Gentle nudge on this one. Basically this fixes an issue with the 8MP, > > but it's still unknown why it doesn't work on 8MM or 8MN, but Frieder > > confirmed there are no regressions on 8MM or 8MN. > Inki, Is there something you need which is holding this back? It's been nearly two months since I posted the initial patch. Thank you, adam > I only tested two specific display setups on i.MX8MM. So of course I > can't confirm the absence of regressions in general. > > Anyway, I think this should be applied.