Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2918605ybh; Mon, 16 Mar 2020 12:12:29 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvPm0Em1toR0ldm8Mpw0JtFTOaYr+MsupNHVGEpYODf7t2PvvNLoIysaaNzrD7OJ64UIQta X-Received: by 2002:a9d:19ca:: with SMTP id k68mr639814otk.232.1584385949691; Mon, 16 Mar 2020 12:12:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584385949; cv=none; d=google.com; s=arc-20160816; b=MjnQbmzAlsenlZTI3vDw+ctRKuHrmD0YGe+20edtHBZTqhDM742cxB7MvCnwII8xvi rA1X/eQOPdE9U1cDDnYtEzhEhCMegn2aJk5YTplwqbzcMaonD2G1r6aIGoeec4dCtjui 3pUNkNzzGDZZdy1TwF6+XwdZ8sQXCDHZ6suQbcAER+zPzUzpVpWEUwVjgl9WnTxrfUju IRQjhXio/ntgGL9LVxPCLPS2dhb/nPN+zdrlnbmi9/Vn1aZpzxIcNb62InEWSH11WxuA 7CcSu4aMelXFHDDLa/5JnNP6AgyRe8o24ja5lEuZJD2/X5eZOEkFXVbKEN/mnXcNoWP7 6PkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:mail-followup-to:message-id:subject:cc:to :from:date:dkim-signature; bh=OfIxmhk4MH+oBVqVCyQOE3L2ciMw4B0126Z9PVFz+xk=; b=YpYG//vOfAjWgeY8Zrq27wkkRQBHulqUsfD8wKum0nCfa1KxnU543joiROV9bZTkxq 1RSj3k5Bw5XsCEuwvoJNflEB9BbM9Y01S2lzfSGfDk+IZZc3XmKVRs9+EHUqVQSZ/8If XUokQyfHUwPP4roD61ryHKXFgo61QXaRVg8/oYB1C1Ls5w8miAmEa7+A04ZJau3fR8Lg 2xEei7dJdNtQ4ubrwwgJduHE8G197yd6LVbp+QSagOyWEpDs3cmXG/9ZQVcFVm2AvTj2 C3NoQyq53NazPsrnxfdZZk0qCi5S+ui3fSw8pb3yW66UWUwrrm+Hghsidfg95FUc9MD6 aGYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=tUMLz8BV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=megous.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c19si468646ots.118.2020.03.16.12.12.09; Mon, 16 Mar 2020 12:12:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=tUMLz8BV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=megous.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732406AbgCPTLY (ORCPT + 99 others); Mon, 16 Mar 2020 15:11:24 -0400 Received: from vps.xff.cz ([195.181.215.36]:42666 "EHLO vps.xff.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732298AbgCPTLY (ORCPT ); Mon, 16 Mar 2020 15:11:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1584385882; bh=FW1eAGDaOwZotXT5BTvXsi+IhkF86WgYclyjbaMj8x0=; h=Date:From:To:Cc:Subject:References:X-My-GPG-KeyId:From; b=tUMLz8BV7T0c827DnXQtea8vx0HkcPUk4ToUSZaHMUkDk+9csPNi+kqJ8KJVU2vjg 5mxCNIApW9dNDx1t6jX13OOLMFgskXtNRfdIW7qMODyiG26wqc/yvtGDBkv7AlsSQA eUYRwhujgrnht7UefJkn1OgNsJQ8aJw8PnwwT1h0= Date: Mon, 16 Mar 2020 20:11:22 +0100 From: =?utf-8?Q?Ond=C5=99ej?= Jirman To: Icenowy Zheng Cc: Thierry Reding , Sam Ravnborg , Rob Herring , Maxime Ripard , Chen-Yu Tsai , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com Subject: Re: [PATCH v2 3/5] drm: panel: add Xingbangda XBD599 panel Message-ID: <20200316191122.yeb5l22ldtt73vx5@core.my.home> Mail-Followup-To: =?utf-8?Q?Ond=C5=99ej?= Jirman , Icenowy Zheng , Thierry Reding , Sam Ravnborg , Rob Herring , Maxime Ripard , Chen-Yu Tsai , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com References: <20200316133503.144650-1-icenowy@aosc.io> <20200316133503.144650-4-icenowy@aosc.io> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200316133503.144650-4-icenowy@aosc.io> X-My-GPG-KeyId: EBFBDDE11FB918D44D1F56C1F9F0A873BE9777ED Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Icenowy, On Mon, Mar 16, 2020 at 09:35:01PM +0800, Icenowy Zheng wrote: > Xingbangda XBD599 is a 5.99" 720x1440 MIPI-DSI IPS LCD panel made by > Xingbangda, which is used on PinePhone final assembled phones. > > [snip] > > +static const struct drm_display_mode xbd599_default_mode = { > + .hdisplay = 720, > + .hsync_start = 720 + 40, > + .hsync_end = 720 + 40 + 40, > + .htotal = 720 + 40 + 40 + 40, > + .vdisplay = 1440, > + .vsync_start = 1440 + 18, > + .vsync_end = 1440 + 18 + 10, > + .vtotal = 1440 + 18 + 10 + 17, > + .vrefresh = 60, Does the display actually run for you at 60fps? I measured 36.63 FPS with a DRM app that just does DRM_IOCTL_MODE_ATOMIC update after each DRM_EVENT_FLIP_COMPLETE event. thank you and regards, o. > + .clock = 69000, > + .flags = DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC, > + > + .width_mm = 68, > + .height_mm = 136, > + .type = DRM_MODE_TYPE_DRIVER | DRM_MODE_TYPE_PREFERRED, > +}; > +