From patchwork Fri Jan 26 10:22:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AceLan Kao X-Patchwork-Id: 1891234 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TLv003xnFz23fD for ; Fri, 26 Jan 2024 21:22:40 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1rTJM2-0007jv-7i; Fri, 26 Jan 2024 10:22:34 +0000 Received: from mail-oo1-f41.google.com ([209.85.161.41]) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1rTJLx-0007it-I9 for kernel-team@lists.ubuntu.com; Fri, 26 Jan 2024 10:22:29 +0000 Received: by mail-oo1-f41.google.com with SMTP id 006d021491bc7-5986cb7bb61so148031eaf.2 for ; Fri, 26 Jan 2024 02:22:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706264548; x=1706869348; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=TSbXXhUE0JFI4883uy09bnH5IN5L12dEqX7WiZptea4=; b=d8IEbfggIzbkhXTMKYn5QUJJVY6v1iTOAkOOYGvzgnqsbHAJ+qkbxGGOCvhev9hsHL gRh8NT7rRWSINu8ooWvTVJQB4eNApTnWswfaagEaReXnWZjE6iFEICtkUBCoPkMoFx2z CS4C4tmuNWsyFSlh4oGCgePU+146FyCzfof4+Mt5Vrg741yIutPaRq4BYTk0nI3iEdT4 nTlZZ3YK2o5r4LLb/baHWLstSJmpKK7LPtiCCn1ZgnUcmcv/OMDvcXVgQJKZnEpLOqK8 aEsRBX3R9Z5qz7KGWarU1JBCrFl2Pu8n3NghoJXCtv5ECyelMwhhpf7T3lNPC7pgiD0H Afxg== X-Gm-Message-State: AOJu0Yz8PIUfSEM3pa5NliZHlESrKSz6ib79JKBKHlQzsyj8UO5n0YcP LOx4sVTHflBUZMH98CB6RjKO3z330WVceVCIDDewnZxxTY9ymD5DQV7MXBkkQo0= X-Google-Smtp-Source: AGHT+IHB3B2hoGb8rrasSC7Ilz01eAtfsy5sTq+izb0POGE8aAz2RYiVb+yg+pWPKGUWOLhgqsjCSA== X-Received: by 2002:a05:6870:2892:b0:214:2c3f:4427 with SMTP id gy18-20020a056870289200b002142c3f4427mr1148818oab.11.1706264547644; Fri, 26 Jan 2024 02:22:27 -0800 (PST) Received: from localhost (220-135-95-34.hinet-ip.hinet.net. [220.135.95.34]) by smtp.gmail.com with ESMTPSA id h6-20020a635746000000b005d7994a08dcsm821820pgm.36.2024.01.26.02.22.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 02:22:27 -0800 (PST) From: AceLan Kao To: kernel-team@lists.ubuntu.com Subject: [PATCH 0/1][SRU][M] black screen when wake up from s3 with AMD W7600 gfx Date: Fri, 26 Jan 2024 18:22:24 +0800 Message-Id: <20240126102225.151471-1-acelan.kao@canonical.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Received-SPF: pass client-ip=209.85.161.41; envelope-from=acelan@gmail.com; helo=mail-oo1-f41.google.com X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: "Chia-Lin Kao (AceLan)" BugLink: https://bugs.launchpad.net/bugs/2051341 [Impact] The display is blank when resumed from s3 with AMD W7600 DGFx and Dell E2422H monitor [Fix] Mario points out the commit in 6.7 may help 3b401e30c249 drm/ttm: Reorder sys manager cleanup step [Test] 1. Build W7600 dGFx + Monitor: E2422H Config and FIDA Ubunutu22.04 OS. 2. Boot OS, put SUT to suspend. 3. Wake up the System from suspend. 4. Right away reboot the system from Ubuntu OS. 5. Put SUT to suspend and wake up the system. 6. After wake up Suspend, SUT should not be black screen. 7. Repetition Step 2~6 30 cycles [Where problems could occur] Handling the system memory manager after the workqueue is destroyed prevents from the pointer beeing used after free. Should be pretty safe to include it. Karolina Stolarek (1): drm/ttm: Reorder sys manager cleanup step drivers/gpu/drm/ttm/ttm_device.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) Acked-by: Thibault Ferrante Acked-by: Tim Gardner