From patchwork Thu Mar 4 08:25:55 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhenyu Wang X-Patchwork-Id: 83559 Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o248gtSi007011 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 4 Mar 2010 08:43:30 GMT Received: from localhost ([127.0.0.1] helo=sfs-ml-3.v29.ch3.sourceforge.com) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1Nn6cK-0000qN-TX; Thu, 04 Mar 2010 08:41:12 +0000 Received: from sfi-mx-2.v28.ch3.sourceforge.com ([172.29.28.122] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1Nn6cJ-0000q9-Eo for dri-devel@lists.sourceforge.net; Thu, 04 Mar 2010 08:41:11 +0000 X-ACL-Warn: Received: from mga10.intel.com ([192.55.52.92] helo=fmsmga102.fm.intel.com) by sfi-mx-2.v28.ch3.sourceforge.com with esmtp (Exim 4.69) id 1Nn6cH-0002HW-Em for dri-devel@lists.sourceforge.net; Thu, 04 Mar 2010 08:41:11 +0000 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 04 Mar 2010 00:26:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.49,580,1262592000"; d="scan'208";a="545964752" Received: from ubuntu-hp.sh.intel.com (HELO localhost.localdomain) ([10.239.36.152]) by fmsmga002.fm.intel.com with ESMTP; 04 Mar 2010 00:27:58 -0800 From: Zhenyu Wang To: dri-devel@lists.sourceforge.net Subject: [PATCH] drm: Remove the EDID blob stored in the EDID property when it is disconnected Date: Thu, 4 Mar 2010 16:25:55 +0800 Message-Id: <1267691155-9213-1-git-send-email-zhenyuw@linux.intel.com> X-Mailer: git-send-email 1.6.3.3 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. _SUMMARY_ X-Headers-End: 1Nn6cH-0002HW-Em X-BeenThere: dri-devel@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.sourceforge.net X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Thu, 04 Mar 2010 08:43:31 +0000 (UTC) diff --git a/drivers/gpu/drm/drm_crtc_helper.c b/drivers/gpu/drm/drm_crtc_helper.c index f2aaf39..51103aa 100644 --- a/drivers/gpu/drm/drm_crtc_helper.c +++ b/drivers/gpu/drm/drm_crtc_helper.c @@ -104,6 +104,7 @@ int drm_helper_probe_single_connector_modes(struct drm_connector *connector, if (connector->status == connector_status_disconnected) { DRM_DEBUG_KMS("%s is disconnected\n", drm_get_connector_name(connector)); + drm_mode_connector_update_edid_property(connector, NULL); goto prune; }