From patchwork Mon Nov 8 12:13:17 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Wilson X-Patchwork-Id: 308182 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oA8CDaLf027215 for ; Mon, 8 Nov 2010 12:14:02 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CAA309E8EB for ; Mon, 8 Nov 2010 04:13:35 -0800 (PST) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTP id 043939E762 for ; Mon, 8 Nov 2010 04:13:20 -0800 (PST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 08 Nov 2010 04:13:20 -0800 Message-Id: <5b55a1$ijk39t@fmsmga002.fm.intel.com> X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.58,314,1286175600"; d="scan'208";a="624561469" Received: from unknown (HELO cwilso3-mobl.ger.corp.intel.com) ([10.255.16.108]) by fmsmga002.fm.intel.com with SMTP; 08 Nov 2010 04:13:18 -0800 Received: by cwilso3-mobl.ger.corp.intel.com (sSMTP sendmail emulation); Mon, 08 Nov 2010 12:13:17 +0000 Date: Mon, 08 Nov 2010 12:13:17 +0000 To: Jon Masters In-Reply-To: <1289215749.3916.401.camel@constitution.bos.jonmasters.org> References: <1289211512.3916.383.camel@constitution.bos.jonmasters.org> <1289213695.3916.396.camel@constitution.bos.jonmasters.org> <1289215364.3916.400.camel@constitution.bos.jonmasters.org> <1289215749.3916.401.camel@constitution.bos.jonmasters.org> From: Chris Wilson Cc: intel-gfx , Linux Kernel Mailing List Subject: Re: [Intel-gfx] [bisected] offset display bug in i915 X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Mon, 08 Nov 2010 12:14:02 +0000 (UTC) diff --git a/drivers/gpu/drm/i915/intel_lvds.c b/drivers/gpu/drm/i915/intel_lvds index f1a6499..17bcb7d 100644 --- a/drivers/gpu/drm/i915/intel_lvds.c +++ b/drivers/gpu/drm/i915/intel_lvds.c @@ -940,7 +940,10 @@ void intel_lvds_init(struct drm_device *dev) intel_lvds->edid = drm_get_edid(connector, &dev_priv->gmbus[pin].adapter); - if (!intel_lvds->edid) { + if (intel_lvds->edid) { + drm_mode_connector_update_edid_property(connector, + intel_lvds->edid); + } else { -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________