From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com ([66.111.4.28]:44063 "EHLO out4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726621AbeK2W0J (ORCPT ); Thu, 29 Nov 2018 17:26:09 -0500 Date: Thu, 29 Nov 2018 12:21:04 +0100 From: Greg KH To: Stanislav Lisovskiy Cc: dri-devel@lists.freedesktop.org, martin.peres@intel.com, ville.syrjala@intel.com, chris@chris-wilson.co.uk, stable@vger.kernel.org, intel-gfx@lists.freedesktop.org, daniel@ffwll.ch, lyude@redhat.com Subject: Re: [PATCH v3] Return only active connectors for get_resources ioctl Message-ID: <20181129112104.GA8983@kroah.com> References: <20181129110921.5832-1-stanislav.lisovskiy@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181129110921.5832-1-stanislav.lisovskiy@intel.com> Sender: stable-owner@vger.kernel.org List-ID: On Thu, Nov 29, 2018 at 01:09:21PM +0200, Stanislav Lisovskiy wrote: > Currently kernel might allocate different connector ids > for the same outputs in case of DP MST, which seems to > confuse userspace. There are can be different connector > ids in the list, which could be assigned to the same > output, while being in different states. > This results in issues, like external displays staying > blank after quick unplugging and plugging back(bug #106250). > Returning only active DP connectors fixes the issue. > > v2: Removed caps from the title > > v3: Refactored initial condition to look more compact. > Thanks to Chris Wilson for giving a hint. > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106250 > Signed-off-by: Stanislav Lisovskiy > --- > drivers/gpu/drm/drm_mode_config.c | 6 ++++++ > 1 file changed, 6 insertions(+) This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read: https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html for how to do this properly.