Received: by 10.213.65.68 with SMTP id h4csp2373002imn; Thu, 5 Apr 2018 13:53:00 -0700 (PDT) X-Google-Smtp-Source: AIpwx48LYQJUgifh4W4jOeEkFJ2XFHGf25sSlEVOwtkll0IB9oFhdRwaYpfTsSxjd1/Z6rWU9YK9 X-Received: by 2002:a17:902:2cc1:: with SMTP id n59-v6mr24838904plb.198.1522961579988; Thu, 05 Apr 2018 13:52:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522961579; cv=none; d=google.com; s=arc-20160816; b=Ht+WB5TfU7jm/pTJZgaQcHD0GmvXufw+qwdQOsYvawlB9YIb3qyYUYjHoi28rYbgHq KiURnmnUOaGLhn4rZT0uPs1DeDyXSdyuoLyahMOqG5/0RLQxWzl4ZDcjQShVlVZ3hwQz MppSZn0eLe1W/zX13X1LPogF9PW5B2YQYe81MFknHS9maigevm10w9tJAm9TVF/tudJC AYK52V+FmZGFDX2mZ23FkgHnHFwsLU22JALlScR9AMtlSem+rNPJYAevwsXF3I1Nh/WS DWa2QCYW78D9ywY2+hVstb5j2QfNCyLJhzhWVvKF1opuJ/k8jhp3fsVjv1dYGcl06Hf7 YRfg== 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=xkh9WbKy06JfqGdqfYLsAGUHI7snYQIoa9SNKhAZza8=; b=GW+eO38aw4rTQmGU0NzoDBZZrZWNStrkLc8ky6T4Q7p8O4xYAt3sQtyiw6hInBHLbq Wj7HJRFAjS6FKol+R6ZEOYPpYwdSTWbnywgxpjTiqCUHDk1iu3F3E9AN89zMswKYJX3A 0xSvv3nD35v86c3DgkYrNnxw/f5l4IF6VqgYC8Ct6kqN4QvLCEq81vQqeMJpFKsWhKvo 9kjG+kDEZOyvDZo6H4r6vZGT14d5wCCvxUd9L0boX6Z6MUG4TYHiSfwGFuLQEtQavaTX 9cqWg6suKMOrGWIcYeRn0uYiF1q8CL8U/hL+UfvjqBLMLSMVc7YVo34nYTLr5Ja9X2+D J/iA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w22-v6si6308965plq.115.2018.04.05.13.52.43; Thu, 05 Apr 2018 13:52:59 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751483AbeDEUvX (ORCPT + 99 others); Thu, 5 Apr 2018 16:51:23 -0400 Received: from mga09.intel.com ([134.134.136.24]:31072 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751155AbeDEUvV (ORCPT ); Thu, 5 Apr 2018 16:51:21 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Apr 2018 13:51:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,412,1517904000"; d="scan'208";a="214275950" Received: from orsmsx107.amr.corp.intel.com ([10.22.240.5]) by orsmga005.jf.intel.com with ESMTP; 05 Apr 2018 13:51:21 -0700 Received: from orsmsx108.amr.corp.intel.com ([169.254.2.241]) by ORSMSX107.amr.corp.intel.com ([169.254.1.11]) with mapi id 14.03.0319.002; Thu, 5 Apr 2018 13:51:20 -0700 From: "Pandiyan, Dhinakaran" To: "lyude@redhat.com" CC: "linux-kernel@vger.kernel.org" , "intel-gfx@lists.freedesktop.org" , "ville.syrjala@linux.intel.com" , "stable@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , "airlied@linux.ie" , "joonas.lahtinen@linux.intel.com" , "labbott@redhat.com" , "jani.nikula@linux.intel.com" , "Vivi, Rodrigo" Subject: Re: [PATCH v2] drm/i915/dp: Send DPCD ON for MST before phy_up Thread-Topic: [PATCH v2] drm/i915/dp: Send DPCD ON for MST before phy_up Thread-Index: AQHTzR2+J4wyIPMXgE+y3+d6rvHWe6PzIZcA Date: Thu, 5 Apr 2018 20:51:20 +0000 Message-ID: <1522962936.2418.21.camel@dk-H97M-D3H> References: <20180405203601.23242-1-lyude@redhat.com> In-Reply-To: <20180405203601.23242-1-lyude@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.54.75.17] Content-Type: text/plain; charset="utf-8" Content-ID: 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 DQoNCg0KT24gVGh1LCAyMDE4LTA0LTA1IGF0IDE2OjM2IC0wNDAwLCBMeXVkZSBQYXVsIHdyb3Rl Og0KPiBXaGVuIGRvaW5nIGEgbW9kZXNldCB3aGVyZSB0aGUgc2luayBpcyB0cmFuc2l0aW9uaW5n IGZyb20gRDMgdG8gRDAgLCBpdA0KPiB3b3VsZCBzb21ldGltZXMgYmUgcG9zc2libGUgZm9yIHRo ZSBpbml0aWFsIHBvd2VyX3VwX3BoeSgpIHRvIHN0YXJ0DQo+IHRpbWluZyBvdXQuIFRoaXMgd291 bGQgb25seSBiZSBvYnNlcnZlZCBpbiB0aGUgbGFzdCBhY3Rpb24gYmVmb3JlIHRoZQ0KPiBzaW5r IHdlbnQgaW50byBEMyBtb2RlIHdhcyBp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