From patchwork Fri Aug 24 09:24:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Rosin X-Patchwork-Id: 10576541 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 CE2DC174A for ; Mon, 27 Aug 2018 07:37:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B683D29825 for ; Mon, 27 Aug 2018 07:37:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AABE12983F; Mon, 27 Aug 2018 07:37:40 +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=BAD_ENC_HEADER,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 7245829825 for ; Mon, 27 Aug 2018 07:37:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 136A36E231; Mon, 27 Aug 2018 07:36:06 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30096.outbound.protection.outlook.com [40.107.3.96]) by gabe.freedesktop.org (Postfix) with ESMTPS id D93026E65E for ; Fri, 24 Aug 2018 09:25:13 +0000 (UTC) Received: from orc.pedanet (85.226.244.23) by HE1PR0201MB2458.eurprd02.prod.outlook.com (2603:10a6:3:81::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1059.22; Fri, 24 Aug 2018 09:25:10 +0000 From: Peter Rosin To: linux-kernel@vger.kernel.org Subject: [PATCH v2 0/2] drm/atmel-hlcdc: revise selection of pixel-clock frequency divider Date: Fri, 24 Aug 2018 11:24:56 +0200 Message-Id: <20180824092458.13165-1-peda@axentia.se> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 X-Originating-IP: [85.226.244.23] X-ClientProxiedBy: VI1PR0701CA0045.eurprd07.prod.outlook.com (2603:10a6:800:90::31) To HE1PR0201MB2458.eurprd02.prod.outlook.com (2603:10a6:3:81::23) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4df1790b-ea3c-41a3-0d0a-08d609a37dba X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(7021125)(8989137)(4534165)(7022125)(4603075)(4627221)(201702281549075)(8990107)(7048125)(7024125)(7027125)(7028125)(7023125)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:HE1PR0201MB2458; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0201MB2458; 3:ZaisQhPFj3Ah9D92h7es+gYV3iACuBPqENPLCN7f6KN8/XIs275al3vVrrzShHIqDQp0X/gW/fkhHB4g8NQtZ+2JqMqMDm/Nps5jY5IiaXEBkklu3BEEmtRteevnShVuSrhVnkRMjfAaqaY65kvZ+wQD+6oll+KK2gucdCmZ816bmEZwvdmA9SdTujB8BQUqmh7c+UaQw7mP8VUti+DwECW2WNR2iG3WG3gg+m4w9FyW1+FJJ4CydN+SENiNDSOj; 25:XyKFHJr5L9eYoy7IkLSXF6g5d/1+Ne+v4Nh2wnyMPtzVpX+rs1G5Kig+M/fGN9ggxea3rpqbskMrsAs3L3YQ34Y09qoPv0gwuGEf4+/wJOObaOq5miuywqXd2EnqJdNU3NY3Oz+c/cLtPyYqgMWIbwf4gO3HGWkxijLMIrItIbWqVV/FEGTN8XWcsgDU8HaU3pjsTpVgpCq7zGuotnoO+XCTw4nYEdsEAet/npgqO44X/aZvcgAX2proxd4PIHxB+jJy5jAsWS7TxcqgYzkK7YIJtKtGCyk/ecojW48zV4T8NZwzFqAORPuggE9RtTQ8bFiDQHGsCvhCk7cSUm6Krw==; 31:7JJM5VWlbexnuZ82/MGgANIDpdD6iG1aU6vjgO/wXobPEBBr2RJ4IA5iVuof46anwHX+qnPUAlrRXmit5FMqsvqS/pA3akvitTDpuOYpwPN/R1EJobOqPx3rPsEduSG2jvs0wI3jVsonBG8Ko1sj7D5xVZTPtd/wc73D25qefAjKXeqYxhsupTEPFLZBWoEuwzwn1WApr97VSJFDF//hpzXxyFiPJG9mawHUBFtttk4= X-MS-TrafficTypeDiagnostic: HE1PR0201MB2458: X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(217544274631240); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(8121501046)(5005006)(823301075)(3231311)(944501410)(52105095)(93006095)(93001095)(3002001)(10201501046)(149027)(150027)(6041310)(20161123560045)(2016111802025)(20161123564045)(20161123562045)(20161123558120)(6043046)(201708071742011)(7699016); SRVR:HE1PR0201MB2458; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0201MB2458; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0201MB2458; 4:i/pbngqNg7ajheHAtpiLc9xrWCwa3biowjgK25Q9yblNshiIm+U39VxEmbhXj1saczuizsNTnfAv/Rnsu5WTYqp2B835CEZpiiaM9wB/8ChMkBdLTZdPuCIU8GwaEFcD+cz4ipogn6mr6zzNeeon3o8CQc8J+x/2yA8L1ZPD33NzmdUlYQeHngy+T5E5yqz858WX/l2BAIQQiijJ65y1Xu51iSkrCfTCyk7nrI81Uh+AnNDpkrnLxd+CG217bKCONzdqVJ1xV7bZTMtZVJlF9iYv28uqRPDSLTEJhjkyJqebPUJlrvJ+xIOTqyl3AmYe X-Forefront-PRVS: 07749F8C42 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(376002)(39830400003)(396003)(136003)(366004)(346002)(189003)(199004)(386003)(16526019)(186003)(1076002)(316002)(956004)(2616005)(25786009)(52116002)(476003)(51416003)(36756003)(26005)(6346003)(6506007)(6916009)(6666003)(8936002)(4326008)(50226002)(54906003)(16586007)(68736007)(3846002)(2361001)(6116002)(6306002)(5660300001)(86362001)(6512007)(6486002)(105586002)(53936002)(106356001)(48376002)(74482002)(2351001)(966005)(50466002)(81166006)(7736002)(47776003)(66066001)(8676002)(2906002)(81156014)(478600001)(486006)(97736004)(305945005)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR0201MB2458; H:orc.pedanet; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: axentia.se does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0201MB2458; 23:u19J4ij+fF2NUEN3Q1SGPF8RZESgr+5HGJQfC5V?= 7E5CGgWBi3rAgDxp3pFj3fOGwbpLm5X9i6VzEaMs1s65fsth6UPOwsQe79477fI9asRrGoR7KYnFuzDQdAftytBKRxETU8MtDfP2GxTw8EnAMEmc9ie5+5rrVdtUVWc6fG796w2IfILRpg2SYeEZfdg4udrRz6RHJIZKM2jtkx/UtZTPDyoVCdoFYXAcoOB5ln6ESfnOWkRSvMSY10xZpWVmQZHw5Z3jgsQoWgnjEPdgympu6+Fg8vwRQZliUD7cLJzA+tsZm8z032nvVzhG3gl4PXU5C8CoUYsvMAT3UkobyR215B928m8rXDSxeWe1wI3etI+P2rjUtM0rcBhLR/LKWD/ss+bg7lCMmIj9e7K5ZI0s8m6S1WPHwfWrudAVMr9VXe6bIxTMyC5xPKJaUkZ5j47t2LI7qS+zRFB6fDYfwGKNuUAd25IzdhNsxi6wA+ZPcVDXPhOKHVQfZ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OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Aug 2018 09:25:10.5221 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4df1790b-ea3c-41a3-0d0a-08d609a37dba X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4ee68585-03e1-4785-942a-df9c1871a234 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0201MB2458 X-Mailman-Approved-At: Mon, 27 Aug 2018 07:34:44 +0000 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: Alexandre Belloni , David Airlie , Nicolas Ferre , dri-devel@lists.freedesktop.org, Boris Brezillon , Peter Rosin , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Hi! Some background can be found here: https://lists.freedesktop.org/archives/dri-devel/2018-August/187182.html The "10 times" discriminator in patch 2/2 can certainly be discussed... Cheers, Peter Changes since v1 https://lkml.org/lkml/2018/8/24/187 - added {} to an if body for symmetry - reformatted comments a little bit - spelling/grammar fixes Peter Rosin (2): drm/atmel-hlcdc: prefer a higher rate clock as pixel-clock base drm/atmel-hlcdc: allow selecting a higher pixel-clock than requested drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 30 ++++++++++++++++++++------ 1 file changed, 23 insertions(+), 7 deletions(-)