From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiada Wang Subject: DRM/KMS/FB: HDMI hotplug displays 1024x768 resolution instead of native mode Date: Thu, 20 Jun 2013 23:50:44 +0900 Message-ID: <51C316C4.702@mentor.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from relay1.mentorg.com (relay1.mentorg.com [192.94.38.131]) by gabe.freedesktop.org (Postfix) with ESMTP id 5A7D9E63AA for ; Thu, 20 Jun 2013 08:20:52 -0700 (PDT) Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1UpgC5-0005Ji-CZ from Jiada_Wang@mentor.com for dri-devel@lists.freedesktop.org; Thu, 20 Jun 2013 07:50:37 -0700 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org Hi, I am implementing HDMI hotplug feature for i.MX6 platform, the basic function has already been done and works But there is is an "issue", When bootup system without HDMI cable attached, fbdev is initialised with fbsize: 1024x768, after plug-in HDMI cable, I can see in debug log, display's valid video_mode has been read via DDC, but in drm_fb_helper_hotplug_event(), only size lower than fb_helper->fb->width/fb_helper->fb->height, will be accepted, So instead of the display's native mode, 1024x768 is displayed. Is it correct DRM/fbdev behaviour? or is it possible to resize fbdev, to show bigger resolution after new monitor is plugged-in? Thanks, Jiada