Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp535387ybl; Thu, 12 Dec 2019 00:15:34 -0800 (PST) X-Google-Smtp-Source: APXvYqxQGhpM/JoBDgEGNA1d9e1JJabR9sIIEeg6kxqvXxC1Xo5QABRy6Egq4D6gPKwzBTb5sdRW X-Received: by 2002:a9d:39a5:: with SMTP id y34mr6365662otb.146.1576138534298; Thu, 12 Dec 2019 00:15:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576138534; cv=none; d=google.com; s=arc-20160816; b=XkDudL/tjTqF+uP1cQFddR3srcVG9pFNIAK+lXz1+YcMiPZJV/N4dtsl0ScZ2GyUVr mzDmoPKVj76tfIXA+TSw4+G/0FmqfuRAtxIe+Yljz/9Z6CQnDK74eHiTp6VyO5PIQAvH m4pyOt0HyBcE3cuXCnzruQszRnEQL2fi+rq95O6YNVdml36KKLIN7OY8tL3ubuRyvYGx udW4t43g8QBXWTOsSQY57ntXOFBW8VtqFQNGeo2sn18ARP8OqUB72T1fIwXXKD5s1DOq NxqI4XpLlLkMlYApmZUC8ddAprEwe5pSlgyNiW+/An4uX15Ky76W1i45FG5+YbviLcT3 eLSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :organization:in-reply-to:subject:cc:to:from; bh=22MMwPOgc7psnmYJ5Lsi8fJt3LyCaTbssqTHmx4GIwk=; b=fyVIGr2GMBJHHx7LZycgs2S1she/FQxRgiuyuQbiK2TYpJSr52VtLGR+Ddj2PxXizP PqBZ205F3/s5eCh4lxxs5FHcbR8PZmcEsrV3eoolOjJG1gdmQr8NkimSlx5/F4LaRf6s oko+ezhmBbxSM9cM/viLg8xKzbc24TNT6PbILnQDtiDYhGPjaA4FXzKQ4gqX+duZGcUM 3zt/WfwwqnlCWg1AV342KfzlkccZZtkzQRYNj2ENIf6y6qWw+KvJuluGH8SbMccf0dgR MwSk14GBs9tXSv8QAIpDrtTp57J9rX4abJQjSWlSQOfcwa9o/F1ITo5tQXS3CuRaHdrw jHow== 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 f3si2734564oia.264.2019.12.12.00.15.21; Thu, 12 Dec 2019 00:15:34 -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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728194AbfLLIOa (ORCPT + 99 others); Thu, 12 Dec 2019 03:14:30 -0500 Received: from mga11.intel.com ([192.55.52.93]:54992 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728157AbfLLIOa (ORCPT ); Thu, 12 Dec 2019 03:14:30 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Dec 2019 00:14:29 -0800 X-IronPort-AV: E=Sophos;i="5.69,305,1571727600"; d="scan'208";a="207991813" Received: from lenovo-x280.ger.corp.intel.com (HELO localhost) ([10.252.35.33]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Dec 2019 00:14:26 -0800 From: Jani Nikula To: Chuhong Yuan Cc: David Airlie , nouveau@lists.freedesktop.org, Chuhong Yuan , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Ben Skeggs Subject: Re: [PATCH] drm/dp_mst: add missed nv50_outp_release in nv50_msto_disable In-Reply-To: <20191206075321.18239-1-hslester96@gmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20191206075321.18239-1-hslester96@gmail.com> Date: Thu, 12 Dec 2019 10:14:25 +0200 Message-ID: <8736dq2c66.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 06 Dec 2019, Chuhong Yuan wrote: > nv50_msto_disable() does not call nv50_outp_release() to match > nv50_outp_acquire() like other disable(). > Add the missed call to fix it. The subject prefix "drm/dp_mst" implies drm core change, but this is about nouveau. Please fix. BR, Jani. > > Signed-off-by: Chuhong Yuan > --- > drivers/gpu/drm/nouveau/dispnv50/disp.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/nouveau/dispnv50/disp.c b/drivers/gpu/drm/nouveau/dispnv50/disp.c > index 549486f1d937..84e1417355cc 100644 > --- a/drivers/gpu/drm/nouveau/dispnv50/disp.c > +++ b/drivers/gpu/drm/nouveau/dispnv50/disp.c > @@ -862,8 +862,10 @@ nv50_msto_disable(struct drm_encoder *encoder) > > mstm->outp->update(mstm->outp, msto->head->base.index, NULL, 0, 0); > mstm->modified = true; > - if (!--mstm->links) > + if (!--mstm->links) { > mstm->disabled = true; > + nv50_outp_release(mstm->outp); > + } > msto->disabled = true; > } -- Jani Nikula, Intel Open Source Graphics Center