Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp326670pxh; Wed, 10 Nov 2021 02:25:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJxGb8xdswnxeUyXRlwoBOspYCZ4fi9A/RhLz63mqXFoZysHppq9ljituNGhaE9XnHu4ihUh X-Received: by 2002:a05:6e02:1c0e:: with SMTP id l14mr10355881ilh.8.1636539930694; Wed, 10 Nov 2021 02:25:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636539930; cv=none; d=google.com; s=arc-20160816; b=Fq4Zi6iR5Y12udWzP5bwoMzIvON/JLp7/l+9G6zCd2fWUynOSmCWYg6NT3IWQFCH7m mvATbms2l8N8BChLWfsVUsZpmoNXhNxhU+34AdoE57NzFoVr0ZQ6v0dW67pRATho/bC3 LSnDJm4T8bO8bZNrC2K/Whon/Jb8QVrt2Q8MrdHq11PI1b+KdMWrINQ58Xb0XcrzFMaz IhKWdXf1Z0nW96nARc7AGsfAOXA4KG57PNLDpa3pq6vTP1uOVDaVYgrVTl9AImwv5Y+Q pfeEPYVA8/gpWWVT8TqU/q6oaYf9ILj4SrkoAQ8fC1DTkGswmnDsIO/x/RPtHt31ghjJ r/7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=CS6tB0CFMRSSVDLkGaxJUioYSAid/Y68BJq7+QYz2s4=; b=OUEIknNil5zf92tKP94CWWgSEE0aM2QLvFXXCX2SMGt2xGwJKR5gYN7LsvZj3d0h4p jijwxiUwxIW7r8rjC/1lKEnotfJUUyykTTWr5OWd5ocN9vD9whAVOtuq2C9rVt40b7T+ +KipbQMs7Jv3jTBpWMefW1Ab3UDH3w+UkEnnqu8NscnounmtQiAAjU9j76gpfjqiHKdF +pO6Z7Sfu52tMaQTvh4RWbJ5SDNL7TWkpW0epMvh1whEyf1jxicWej/Mz8Rn0/1cASzd ggH1O1lgG1zsTcdMe2Oby+3Pb87HBX2Da/l2FgCgdk5x8ssW0ymwwrq3UOpABCmqijN1 G2QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=aPLuUzA6; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e74si4706830iof.52.2021.11.10.02.25.16; Wed, 10 Nov 2021 02:25:30 -0800 (PST) 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 (test mode) header.i=@ideasonboard.com header.s=mail header.b=aPLuUzA6; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231151AbhKJKZN (ORCPT + 99 others); Wed, 10 Nov 2021 05:25:13 -0500 Received: from perceval.ideasonboard.com ([213.167.242.64]:49418 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231126AbhKJKZN (ORCPT ); Wed, 10 Nov 2021 05:25:13 -0500 Received: from [192.168.1.111] (91-158-153-130.elisa-laajakaista.fi [91.158.153.130]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 92509D8B; Wed, 10 Nov 2021 11:22:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1636539742; bh=Kb2mqQcYSIR30c1c/QCzqZNgi4OO/yDrYs6SnhNUIuQ=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=aPLuUzA685pqCn694mGfTKHYBiuVhIufJVoMO2GulmQVv36CE3Ox+BK4MACzJ+hDp 8oKRyKHUh5zgtOZOi+SmyS85U7loN3CDuB7b85TZSQgdx7YQjWP0lX8HRyKEE8Npcg 2Z+4dZxUZ3O9UinQJ7cGN0hnmawutZyeFLSpw6Y0= Subject: Re: [PATCH] drm/omap: increase DSS5 max tv pclk to 192MHz To: Neil Armstrong Cc: linux-omap@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, khilman@baylibre.com, Tomi Valkeinen References: <20211012133939.2145462-1-narmstrong@baylibre.com> From: Tomi Valkeinen Message-ID: Date: Wed, 10 Nov 2021 12:22:18 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/11/2021 15:33, Neil Armstrong wrote: > Hi Tomi, > > On 12/10/2021 15:39, Neil Armstrong wrote: >> From: Tomi Valkeinen >> >> DSS5's maximum tv pclk rate (i.e. HDMI) is set to 186MHz, which comes >> from the TRM (DPLL_HDMI_CLK1 frequency must be lower than 186 MHz). To >> support DRA76's wide screen HDMI feature, we need to increase this >> maximum rate. >> >> Testing shows that the PLL seems to work fine even with ~240MHz clocks, >> and even the HDMI output at that clock is stable enough for monitors to >> show a picture. This holds true for all DRA7 and AM5 SoCs (and probably >> also for OMAP5). >> >> However, the highest we can go without big refactoring to the clocking >> code is 192MHz, as that is the DSS func clock we get from the PRCM. So, >> increase the max HDMI pixel clock to 192MHz for now, to allow some more >> 2k+ modes to work. >> >> This patch never had a clear confirmation from HW people, but this >> change stayed on production trees for multiple years without any report >> on an eventual breakage. >> >> Signed-off-by: Tomi Valkeinen >> Signed-off-by: Neil Armstrong >> --- >> drivers/gpu/drm/omapdrm/dss/dispc.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> Tomi, >> >> I slighly changed the commit message to point the fact this patch has been >> used in production fort years without any sign of breakage. >> >> Neil >> >> diff --git a/drivers/gpu/drm/omapdrm/dss/dispc.c b/drivers/gpu/drm/omapdrm/dss/dispc.c >> index 5619420cc2cc..3c4a4991e45a 100644 >> --- a/drivers/gpu/drm/omapdrm/dss/dispc.c >> +++ b/drivers/gpu/drm/omapdrm/dss/dispc.c >> @@ -4458,7 +4458,7 @@ static const struct dispc_features omap54xx_dispc_feats = { >> .mgr_width_max = 4096, >> .mgr_height_max = 4096, >> .max_lcd_pclk = 170000000, >> - .max_tv_pclk = 186000000, >> + .max_tv_pclk = 192000000, >> .max_downscale = 4, >> .max_line_width = 2048, >> .min_pcd = 1, >> >> base-commit: e4e737bb5c170df6135a127739a9e6148ee3da82 >> > > Gentle ping, Thanks, I'll apply this to drm-misc-next. Tomi