Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3257647imm; Fri, 10 Aug 2018 06:28:39 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwDg8v6v3BZhxwvgLoiAnbWsz+HzctRfGZnnSd8oULmgJaH2pLp/IpY5ZaRVQaqMVHN4XQt X-Received: by 2002:a62:778c:: with SMTP id s134-v6mr7101086pfc.189.1533907719234; Fri, 10 Aug 2018 06:28:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533907719; cv=none; d=google.com; s=arc-20160816; b=ej9SElDlgwmLXZ6irQG+Zh2cOr/NX8vOqV1eTEgL6VTerd++vsvOlMXDw6k9RGz/4D rqirPWzSzDgaa/t5q31sO5PM2ecLtBGS6bdQFxykOF1VmtyM24iqlb/lBqD0KJ+5iHt0 9/IzY9Pbb6zgc5hOBt+BpuvplW++VMzCJo/tm4CM81TG6+6Nc8xIp6vC1HcoUnkAORHp u0eh02W+vlv7hQVN1t+BSUd4y1yZ8CXMLMxPOT1ZRiX9FE32PhvKbny5in6SeOrWw2F0 pnX4oR/PAhEFnoIBo/0AYD22huPqu7tylLp0+qihF35Vmqpg4xkLgEpH3B3mKGwGRuy3 x3JA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :arc-authentication-results; bh=9tZWyw4gwyn7ZuWJ8j47dNfSHT33v0bFVzOsEfHdKIE=; b=bl3x0so2+1de/3hGLuEL18/pvq8nxWxTFuIlh8vTqvSYOIBDqR4Zpc0QWhW+GutaP6 997xhkVb1W1YERJXujZLpW9ax0ogtT2np+wyuobTzJqVzOrT4qG5UTdX7lcMRRneJ/iH KA37wX4gJ2nmx6z4ZEo77GErFogo2aYuO3Cxk1F7xxesdfsrIMiFIDCPFYhqdpMqpaSl q4dxD8nlmlN3Qt/5Spl7YACEisc0Y2btiU7L0HzE1G+pWUA/DI8Yzp1PVw2mi3sN+/1C dkt5JPEqDZ8QWFMH7xBzsAzVag0nzHdlAuzBco9445WEPn5z45BA1O675kMtZ0coYL2r RE/w== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b9-v6si7738090plb.313.2018.08.10.06.28.24; Fri, 10 Aug 2018 06:28:39 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728110AbeHJPcK (ORCPT + 99 others); Fri, 10 Aug 2018 11:32:10 -0400 Received: from mga03.intel.com ([134.134.136.65]:44930 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727543AbeHJPcK (ORCPT ); Fri, 10 Aug 2018 11:32:10 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Aug 2018 06:02:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,219,1531810800"; d="scan'208";a="79217257" Received: from irsmsx107.ger.corp.intel.com ([163.33.3.99]) by fmsmga004.fm.intel.com with ESMTP; 10 Aug 2018 06:02:17 -0700 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.54]) by IRSMSX107.ger.corp.intel.com ([169.254.10.116]) with mapi id 14.03.0319.002; Fri, 10 Aug 2018 14:02:16 +0100 From: "Lisovskiy, Stanislav" To: "Mun, Gwan-gyeong" , "jani.nikula@linux.intel.com" CC: "dri-devel@lists.freedesktop.org" , "intel-gfx@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" , "Vivi, Rodrigo" , "airlied@linux.ie" Subject: Re: [Intel-gfx] [v3] drm/i915: Add detection of changing of edid on between suspend and resume Thread-Topic: [Intel-gfx] [v3] drm/i915: Add detection of changing of edid on between suspend and resume Thread-Index: AQHUL9IVf6Y5qJIUuEqQJ2o2jGunTqS45E8A Date: Fri, 10 Aug 2018 13:02:15 +0000 Message-ID: <919efd746382923946f9f443909cec65590ffc37.camel@intel.com> References: <20180803163453.7760-1-gwan-gyeong.mun@intel.com> <20180809111330.5113-1-gwan-gyeong.mun@intel.com> In-Reply-To: <20180809111330.5113-1-gwan-gyeong.mun@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.237.72.193] Content-Type: text/plain; charset="utf-8" Content-ID: <043A71653A2E014F9BA78391B54AB612@intel.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVGh1LCAyMDE4LTA4LTA5IGF0IDE0OjEzICswMzAwLCBHd2FuLWd5ZW9uZyBNdW4gd3JvdGU6 DQo+IFRoZSBob3RwbHVnIGRldGVjdGlvbiByb3V0aW5lIG9mIGk5MTUgdXNlcw0KPiBkcm1faGVs cGVyX2hwZF9pcnFfZXZlbnQoKS4gVGhpcw0KPiBoZWxwZXIgY2FuIGRldGVjdCBjaGFuZ2luZyBv ZiBzdGF0dXMgb2YgY29ubmVjdG9yLCBidXQgaXQgY2FuIG5vdA0KPiBkZXRlY3QNCj4gY2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