Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4279219pxb; Thu, 14 Oct 2021 02:02:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyI1TN/dxek8PXK0iC15PB3abS1YcuJ5nty8MOq2G3Zu2Dw0ikwZmYOcu2mFz8OnnhFapo2 X-Received: by 2002:a17:902:d2cd:b0:13f:14dd:aeff with SMTP id n13-20020a170902d2cd00b0013f14ddaeffmr3963378plc.67.1634202133237; Thu, 14 Oct 2021 02:02:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634202133; cv=none; d=google.com; s=arc-20160816; b=Yo3iVWgZfQVoThxW2ZMBNk08neR6M4q9UOUnl9OqyyfPn9x7sj+tPUFjRklRv6vf86 mpL7SH0GlpwGEfV0u1X3sE/gsEvm5sHjKrh8Cu8cBG8W3EIIeCzK7xqW4nEFe64UNCJG LYdCjkdgjOVLXUJ6xamVSPDe2cPFEJJxmWtkItlRtX2k8U5FdBaRTAnNBlwGmaw3lDuU +w+aaD57k6AB01/e2wHkU0yRigU8kZilBomPSj7eSf35FJaRvur6WbD+2KG2DuA85mIn b+O4ChZ1a91jqKsu5NH+PiS6QEwSTSarmTafFsfwR/368IuRYDm6ZumQpH0XIvKKKNfi wQUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=uSz2rZqEKZN/XdUySfMH+peSlaVrF7M5smPXGUk4r04=; b=KpUd9Ovl/dudXgd3k5j6Nfs1aCTunhI0B2A/eNCrBJUOfeXRRLJQ2JkcLyykbwjT2A BSJeEXK0/Ic6xbHC+IAjCbtEIq6c7CGn+iZMq1K9IZDVuv/VPdWmcC35FSTRP+WjbPdl hkrJEZNmCAiSVYKCAwbRuq58D6Ulxvu/njZz+8GpuVZocikj4Yit3rJ8Db4IbFF72KwD 0E1dz5lIbmDYLR/mRf4hcmnm650VEPrLoUe3rSlC0Rbwxpph4GUox0MdVZcgNswtlam+ gPttytuo3tuFHva1acBO185xuxKRTqH2Y9JYkS+KV+NFaQXU7J/QRFsTL8aex+ZcqY11 0Fog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=py0fiiXq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u1si2906180pfl.167.2021.10.14.02.01.59; Thu, 14 Oct 2021 02:02:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=py0fiiXq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229985AbhJNJCs (ORCPT + 99 others); Thu, 14 Oct 2021 05:02:48 -0400 Received: from mail.skyhub.de ([5.9.137.197]:47480 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229984AbhJNJCr (ORCPT ); Thu, 14 Oct 2021 05:02:47 -0400 Received: from zn.tnic (p200300ec2f0c72004cd8e1678c0b16c3.dip0.t-ipconnect.de [IPv6:2003:ec:2f0c:7200:4cd8:e167:8c0b:16c3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 8BFA11EC051F; Thu, 14 Oct 2021 11:00:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1634202040; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=uSz2rZqEKZN/XdUySfMH+peSlaVrF7M5smPXGUk4r04=; b=py0fiiXqmN4jbKVkmkgXgCjskD/5/p9CDRsJlpMaz9oqtYXNXNUsNehQrYc48UOPDwzUEz jBdJHy8+T7bSJqN9Rab31QNGnNChHOiW2EPvJ11ToTdZxLRfc2eVRje4E/vjnc9FxuGyqs 43/6QqBPR8VM/LPLAs3OrDmgrv6u+5Q= Date: Thu, 14 Oct 2021 11:00:37 +0200 From: Borislav Petkov To: "Quan, Evan" Cc: Alex Deucher , amd-gfx list , LKML , "Deucher, Alexander" , "Pan, Xinhui" , "Chen, Guchun" Subject: Re: bf756fb833cb ("drm/amdgpu: add missing cleanups for Polaris12 UVD/VCE on suspend") Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 14, 2021 at 02:02:48AM +0000, Quan, Evan wrote: > [Quan, Evan] Yes, but not(apply them) at the same time. One by one as you did before. > - try the patch1 first Ok, first patch worked fine. > - undo the changes of patch1 and try patch2 Did that, worked fine too except after the first resume cycle, the video didn't continue playing. Then I restarted the video and did a couple more suspend cycles to see if it would not continue again. In the subsequent tries it would resume fine and the video would continue playing too. So I'm going to chalk that single case of halted video with the second patch to a resume glitch or so. Btw, I don't have pm-suspend on that box but I did suspend to RAM assuming this is what you wanted, which is done as root with two commands: # echo "suspend" > /sys/power/disk # echo "mem" > /sys/power/state If you want me to do more extensive testing, just shoot. HTH. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette