Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp663156yba; Sun, 31 Mar 2019 09:20:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqyrEGPIcaUFuWZIuDNJw/C1IlgZ1huIL4XIhlgHX92q056yAJgEqW3o2WJsjKjMbYipYj9p X-Received: by 2002:a63:61d7:: with SMTP id v206mr55624242pgb.349.1554049252464; Sun, 31 Mar 2019 09:20:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554049252; cv=none; d=google.com; s=arc-20160816; b=ikSKk15Sg3Q9aNurYmsM6V8x+5mUAjw1I+/MDIjjdPOZ3gjdKhihFNqAOT/rb8mm4y v/xTwFRk0FLGZ/AXUEzruSthbasOjoXD564E7gzmAo0Kt0rskBjC2vSGwxaJHqkhtq52 0RT1T7KkAUkLpIT/0wkYb0Z2bXYt3N3k3c+f0MMxXkiGRgpGC0e1TAV4tte1gUQRXLud dvjrof97Uc5mkpiFDP3R2NquRvEFqE9LwPsB8B8W5MoAZMbWjS4Wuw0UcYKd/1/eCx4e gHQclyowSfKKgN8pW6WysVbexGuwTFa3MZRL/QK0AO2cfLvkCms6vs4Lg3j8yaJ2yIag hR0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=LR4/O6Rot4pAngx3P0ymRtsVfcXm8EUQt9UiY7gd8lY=; b=tVIp6DTm8+WXKNTm449jVU3fr0TgkDKEP74fN5rvEGhwgVU7RVfzAk+jYM0ql1xM6N Dv454Y+bbDwDXnAjhE2zuz+FuIW0ZOQio09x95Azv0FAylwizFInHZoz/VBwgeVYi1wV Mmbb+ZWPzi9Byo6soBe5nmhRMwWmDR9w4DX0HenLtX2W1n1b3/R9nEbEZuKswwkiUBCF 28nQw0s8gJnhCAxh7KSDta4fNUq7Ji8ESHfUIlASXtNsEKQkRhy0hTuGyoGmU/v9y1cS TecHtSRQYgWLORQZYd/J4jp3NaBwqIK6/At5eEJBWg/b0/TDqWnE/n5aeDAI6D5SmYWh B/QQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y191si6645168pgd.218.2019.03.31.09.20.36; Sun, 31 Mar 2019 09:20:52 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731294AbfCaQTy convert rfc822-to-8bit (ORCPT + 99 others); Sun, 31 Mar 2019 12:19:54 -0400 Received: from gloria.sntech.de ([185.11.138.130]:51986 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731176AbfCaQTy (ORCPT ); Sun, 31 Mar 2019 12:19:54 -0400 Received: from p5b1271a2.dip0.t-ipconnect.de ([91.18.113.162] helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hAdBS-0000sn-8k; Sun, 31 Mar 2019 18:19:46 +0200 From: Heiko Stuebner To: Johan Jonker Cc: hjc@rock-chips.com, airlied@linux.ie, daniel@ffwll.ch, robh+dt@kernel.org, mark.rutland@arm.com, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 5/5] drm: rockchip: add fixed screen size DVI-D support for rk3066 hdmi Date: Sun, 31 Mar 2019 18:19:45 +0200 Message-ID: <4928946.oK5HkskicG@phil> In-Reply-To: <20190321001440.31057-6-jbx6244@gmail.com> References: <20190321001440.31057-1-jbx6244@gmail.com> <20190321001440.31057-6-jbx6244@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="iso-8859-1" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Johan, Am Donnerstag, 21. M?rz 2019, 01:14:40 CEST schrieb Johan Jonker: > Add fixed screen size DVI-D support > for rk3066 hdmi with an extra patch. > > Signed-off-by: Johan Jonker > +static const struct drm_display_mode edid_cea_modes[] = { > + /* 4 - 1280x720@60Hz 16:9 */ > + { DRM_MODE("1280x720", DRM_MODE_TYPE_DRIVER, 74250, 1280, 1390, > + 1430, 1650, 0, 720, 725, 730, 750, 0, > + DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC), > + .vrefresh = 60, .picture_aspect_ratio = HDMI_PICTURE_ASPECT_16_9, }, > +}; you already dropped this patch from v6, but just for completeness sake, I don't think there should be a static mode for dvi displays. Similar to hdmi, dvi also can use ddc to read the monitor edid and some sort of static mode might behave badly if for example a display with less than this 720p is connected. I think I remember reading in the Rockchip tree that they added that for the case reading the edid fails, but if that happens the reading should be fixed and not worked around a failure :-) Heiko