Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp538160imu; Mon, 26 Nov 2018 14:38:26 -0800 (PST) X-Google-Smtp-Source: AFSGD/U34nSWBhC8aGkwGie7XNcopiZgQkVsSmMpMrtMGPkkhMfGuLz+NT549iarmNx+aC80Al1n X-Received: by 2002:a63:2586:: with SMTP id l128mr27120560pgl.104.1543271906394; Mon, 26 Nov 2018 14:38:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543271906; cv=none; d=google.com; s=arc-20160816; b=iH5mxHEeiORpxorNu0bMvwRjQ3yhCQysM1yDZ5zuHyYLz9/duqdTvbuDWW5Adrx1dE BRLD1E1sNk9zPDk1O+cZDvkDlXaFILd6/rZh9RmXkyOpRj90JscLCAmDjOnHDAzzG+xq Hsx7/nNAhJ+wOs7tq/fDYGUbswZhGNra5VtuUwYcrjKSSDQO0h7sR/tM9/Rp4x+eWDpt 0rQg/fsNpYds43F7bfUXbEsF2CyAH+qXaEbTurE0NTKmPQFZtl0cp1zkffI+m0YYgmNT UM43AD/r0/jU/f8lFLuo5ZfAm6zw21OaEt5s7Or4eD9z7t2hmcSz9SzG9Nz/dLWfJ3or BEsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:organization:references:in-reply-to:date:cc:to:from :subject:message-id; bh=qXxkPjsHIVgepAZ0xZ4OAkXymLVi1EmXXE216dj8PyA=; b=R8HK2Ohkoc8vQz2UhcuDxVPmQRoJthm/E5DAuSHMQ934DcbttefN5RF0IhisR/BE75 84tEqKe7YDQCBe1wIF/DPI53YLaQj8joTNA81/LIyFAXa1BqUCTuKqZLXg3yJ/liMG8D Y6hvvqw7jDXwzf6e3A0cjNpnrJjL8mk/9Wu5J+glN3MeUhY4ujMvizcNxFtTVE4eDokV iRPLE9oQ2sA5DJaDX5QZH7ZslAD2oq67YpukXLRoV4pwzrNmlii9wAstn/O0uu+hC+tv dHH47FKIvL2knIEY0XExHoqXKQP0or9JP4dMMhK46MfQ/3zquwgOwSeybN304w2ehj74 yuEg== 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f21si1532426pgv.111.2018.11.26.14.38.11; Mon, 26 Nov 2018 14:38:26 -0800 (PST) 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727087AbeK0Jb0 (ORCPT + 99 others); Tue, 27 Nov 2018 04:31:26 -0500 Received: from mail-qt1-f196.google.com ([209.85.160.196]:42267 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727426AbeK0Jb0 (ORCPT ); Tue, 27 Nov 2018 04:31:26 -0500 Received: by mail-qt1-f196.google.com with SMTP id d19so19610324qtq.9 for ; Mon, 26 Nov 2018 14:35:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:organization:user-agent:mime-version :content-transfer-encoding; bh=qXxkPjsHIVgepAZ0xZ4OAkXymLVi1EmXXE216dj8PyA=; b=q/EQ3seL8V9SESqlyr+rxV36LPwSKBx2HaHSVwWUTY/hP6XdV4YOEihtyv7SBf3zQC Mb98sjlQxhK9qiPdsmXNUHxeB2HyFSeMwY9mEHcSty+HjH3G/HnIeNjE8Niv1GAOzMdu JWW7YYvlXxyJfK+zWAAC7oLLiScX5QMVL31+RemDZPD6/Gzabaudg6lf+bskd6ZRSugB ah4En8ZE+ZsAyub6ytAP77iZu4puWqnvgqvs+8OBtouKmIFh1T3Dz2pN6R4j0WgZjLHZ /OnuJA/6bEjCILqCCxAZcuzBPKI3BMbFFg+ANApJU+/5P964UPrZC0Q35o+2UX5IBSbV lYKQ== X-Gm-Message-State: AA+aEWaHy+9SBuwrWcIVK1InZ5X0kGkbpkQK8V//O42VhqzDTSyLsq8F wv+RuuwHGjhmSSMnmeqS+u1n8Q== X-Received: by 2002:a0c:ba24:: with SMTP id w36mr28141323qvf.60.1543271746885; Mon, 26 Nov 2018 14:35:46 -0800 (PST) Received: from dhcp-10-20-1-11.bss.redhat.com ([144.121.20.162]) by smtp.gmail.com with ESMTPSA id v50sm1354675qtc.7.2018.11.26.14.35.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 26 Nov 2018 14:35:46 -0800 (PST) Message-ID: Subject: Re: [RESEND PATCH v2 1/2] drm/dp/mst: Reprobe EDID for MST ports on resume From: Lyude Paul To: "Li, Juston" , "dri-devel@lists.freedesktop.org" , "intel-gfx@lists.freedesktop.org" Cc: "Ciobanu, Nathan D" , "linux-kernel@vger.kernel.org" , "Taylor, Clinton A" , "jared_dominguez@dell.com" , "stable@vger.kernel.org" , "mario.limonciello@dell.com" , "cpaul@redhat.com" Date: Mon, 26 Nov 2018 17:35:43 -0500 In-Reply-To: References: <20181024021925.27026-1-juston.li@intel.com> <20181024021925.27026-2-juston.li@intel.com> Organization: Red Hat Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.2 (3.30.2-2.fc29) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2018-11-26 at 21:53 +0000, Li, Juston wrote: > Sorry for the late reply, email got caught in a bad filter =/ > > I haven't been looking into it lately but we are still interested in > getting this fixed so I can start looking into this again. > > In your last email you mentioned a sysfs hotplug could be the way to > go? I had thought so; but I did a little more investigation and it looks like I wasn't totally wrong when I first wrote this patch; we actually do need to destroy the previous topology when it's not actually there and prevent the driver from trying to set it up again. Something that apparently a simple sysfs hotplug won't do. I think what we might be able to do is instead of comparing against the connector's EDID, we should try repurposing drm_dp_mst_port->cached_edid so that it holds a copy of each mst connector's EDID instead of just logical MSTBs, then compare against those EDIDs instead of the ones we assigned to the drm_connector to avoid the lockdep issues that would occur from trying to grab dev->mode_config.mutex from the suspend/resume codepaths, and decide from where whether or not to tell the driver to cut off the topology. Feel free to poke me about this on irc btw, might be quicker to discuss it there > > Thanks > Juston > > On Thu, 2018-11-08 at 19:43 -0500, Lyude Paul wrote: > > Are you still looking into this at all? Even if it's not the right > > approach > > I'm still interested in seeing this get fixed as well/discussing what > > I said > > before > > > > On Wed, 2018-10-24 at 22:45 +0000, Li, Juston wrote: > > > On Wed, 2018-10-24 at 18:09 -0400, Lyude Paul wrote: > > > > Since there's going to be quite a number of changes I need to > > > > make to > > > > this I'm > > > > just going to make the changes myself! I'll make sure to Cc you > > > > with > > > > the > > > > respin > > > > > > Sounds good, thanks for picking it up! > > > > > > Juston > > > -- Cheers, Lyude Paul