From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.3 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4838BC11D13 for ; Thu, 20 Feb 2020 17:36:21 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1FA852467A for ; Thu, 20 Feb 2020 17:36:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="tgrdWxtd" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1FA852467A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=amd-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E2A6A6EDE7; Thu, 20 Feb 2020 17:36:20 +0000 (UTC) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4C6616EDE7; Thu, 20 Feb 2020 17:36:20 +0000 (UTC) Received: from localhost (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 43C992071E; Thu, 20 Feb 2020 17:36:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582220179; bh=jExt8zvCnhq4nFkDrelFYPJX4O9YBfHtIRXodwOMU3s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tgrdWxtdEFjf0cEtDH+b/WTPMQh/HuCjY2inNVVEdq3JhfiCB6pUjaEOmxrOIlP9I 9rj6vkB9GFOgFTuHtxmY0+Dvg0wdsBAKr/J0KNPnSFVcpp74eEU1v5DcwhoZlG7sEk 90oIMGs9Tt53R+FlMcAWz8kjBwWUUowcwfiBf170= Date: Thu, 20 Feb 2020 12:36:18 -0500 From: Sasha Levin To: Alex Deucher Subject: Re: [PATCH AUTOSEL 5.5 408/542] drm/amdgpu: add the lost mutex_init back Message-ID: <20200220173618.GI1734@sasha-vm> References: <20200214154854.6746-1-sashal@kernel.org> <20200214154854.6746-408-sashal@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-BeenThere: amd-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion list for AMD gfx List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Feifei Xu , xinhui pan , LKML , amd-gfx list , Maling list - DRI developers , Alex Deucher , "for 3.8" , Christian =?iso-8859-1?Q?K=F6nig?= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Errors-To: amd-gfx-bounces@lists.freedesktop.org Sender: "amd-gfx" On Fri, Feb 14, 2020 at 11:22:27AM -0500, Alex Deucher wrote: >On Fri, Feb 14, 2020 at 10:57 AM Sasha Levin wrote: >> >> From: "Pan, Xinhui" >> >> [ Upstream commit bd0522112332663e386df1b8642052463ea9b3b9 ] >> >> Initialize notifier_lock. >> >> Bug: https://gitlab.freedesktop.org/drm/amd/issues/1016 >> Reviewed-by: Feifei Xu >> Reviewed-by: Christian K=F6nig >> Signed-off-by: xinhui pan >> Signed-off-by: Alex Deucher >> Signed-off-by: Sasha Levin >> --- >> drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/dr= m/amd/amdgpu/amdgpu_device.c >> index 332b9c24a2cd0..a2f788ad7e1c6 100644 >> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c >> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c >> @@ -2797,6 +2797,7 @@ int amdgpu_device_init(struct amdgpu_device *adev, >> mutex_init(&adev->notifier_lock); >> mutex_init(&adev->virt.dpm_mutex); >> mutex_init(&adev->psp.mutex); >> + mutex_init(&adev->notifier_lock); >> > >This patch is not relevant here. The same mutex is already >initialized 3 lines above. Now dropped, thank you. -- = Thanks, Sasha _______________________________________________ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx