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=-3.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 4468FC433DB for ; Wed, 10 Feb 2021 19:35:50 +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 F39F964D87 for ; Wed, 10 Feb 2021 19:35:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F39F964D87 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=bugzilla.kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 07A4C6E34B; Wed, 10 Feb 2021 19:35:49 +0000 (UTC) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4B41B6E34B for ; Wed, 10 Feb 2021 19:35:48 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPS id E8B1164E74 for ; Wed, 10 Feb 2021 19:35:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612985747; bh=ko9VlYAKB1Dj3uJmwAIgUeLsb6npo4A2lrQrratNKTM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=LvkgeWTqezfUjCy9b6JWuz8cfvkdOCe7CfTbX9n1cT5C6FInFB3WzR2tUoRa6wB8s BznRNX9vZ/0tESmIZn7QhMUrWqCR/8x298wn/vcUoRHAIcgY6132G2aFJLy3QabXlC Mu5q1N0FJuLQJyJV2zdSQuXZKqQ1oq7C7vjDIssAuYz1cS48RtBprNRb1C83kCnsXp ljDtpNDRt7eQwnhl/0SI0KeEfAkReBd0dAe/iYsYGznuyR9BjDBaKb+vstnFWp9Rlq fEzWSEkHixHDixXY+CpWa0OGwkulXLgpKQtdQKy4BHoCrlLmA5lo3mWXVM/mC8A/Tq EGXQqnM5DpdsA== From: bugzilla-daemon@bugzilla.kernel.org To: dri-devel@lists.freedesktop.org Subject: [Bug 211649] "drm/amd/display: reuse current context instead of recreating one" cause hdmi hotplug blackscreen on amdgpu Date: Wed, 10 Feb 2021 19:35:47 +0000 X-Bugzilla-Reason: None X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: AssignedTo drivers_video-dri@kernel-bugs.osdl.org X-Bugzilla-Product: Drivers X-Bugzilla-Component: Video(DRI - non Intel) X-Bugzilla-Version: 2.5 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: youling257@gmail.com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: drivers_video-dri@kernel-bugs.osdl.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugzilla.kernel.org/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" https://bugzilla.kernel.org/show_bug.cgi?id=211649 --- Comment #8 from youling257@gmail.com --- (In reply to Nicholas Kazlauskas from comment #7) > That makes more sense then, that's the behavior I'd expect on CrOS/Android. > > Also explains why we haven't seen this on X/Wayland based compositors like > GNOME on Ubuntu. > > One more log I'd like captured here, the trace log. Please record a log from > before the black screen occurs until after. > > I've included a snippet below that shows how to capture this log: > > #!/bin/bash > > set +x > OUTPUT_DIR=$(pwd) > > mount -o remount,rw / > echo 4 > /sys/module/drm/parameters/debug > echo 65536 > /sys/kernel/debug/tracing/buffer_size_kb > > cd /sys/kernel/debug/tracing/ > echo amdgpu_dm* > set_ftrace_filter > echo function > current_tracer > echo 1 > events/amdgpu_dm/enable > echo 1 > tracing_on > echo > trace > echo "Capturing a trace...\n" > read -n 1 > cat trace > $OUTPUT_DIR/trace.txt > echo "Saved trace to ${OUTPUT_DIR}/trace.txt" > dmesg > $OUTPUT_DIR/dmesg.txt > echo "Saved dmesg to ${OUTPUT_DIR}/dmesg.txt" run the script,only echo Capturing a trace...\n failed output trace.txt and dmesg.txt. -- You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel