From: Shirish S Subject: [PATCH] Enable probing of non-rb modes Date: Wed, 08 Jan 2014 09:55:50 +0530 Message-ID: <1389155151-15952-1-git-send-email-s.shirish@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by gabe.freedesktop.org (Postfix) with ESMTP id ABBDFFAD1B for ; Tue, 7 Jan 2014 20:23:48 -0800 (PST) Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MZ2004TPEVM80B0@mailout1.samsung.com> for dri-devel@lists.freedesktop.org; Wed, 08 Jan 2014 13:23:46 +0900 (KST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: dri-devel@lists.freedesktop.org, airlied@redhat.com, ajax@redhat.com Cc: daniel.vetter@ffwll.ch, shirish@chromium.org, Shirish S List-Id: dri-devel@lists.freedesktop.org With the current implementation of collecting edid modes, in case rb mode exists for a non rb mode of same resolution and vrefresh, the non-rb mode is never fed to display controller to be probed, as a result we lose on using the non-rb mode, if the display controller does not support rb mode but supports non-rb. For instance in case of 1680x1050@60Hz: with monitor whose EDID supports RB, if connected to display controller does not support 1680x1050@60Hz RB but it supports 1680x1050@60Hz, with the current implementation the non-rb mode 1680x1050@60Hz is not listed in connectors probed modes and hence on running xrandr is not listed. V2: made drm_mode_std static Shirish S (1): drm: edid: enable probing and listing of non rb modes drivers/gpu/drm/drm_edid.c | 39 ++++++++++++++++++--------------------- 1 file changed, 18 insertions(+), 21 deletions(-) -- 1.7.9.5