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 2D504C433E0 for ; Wed, 10 Feb 2021 18:29:12 +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 C5ADE64DD4 for ; Wed, 10 Feb 2021 18:29:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C5ADE64DD4 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 262336ECC4; Wed, 10 Feb 2021 18:29:11 +0000 (UTC) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by gabe.freedesktop.org (Postfix) with ESMTPS id 65F4A6ECC4 for ; Wed, 10 Feb 2021 18:29:10 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPS id 21BF764E02 for ; Wed, 10 Feb 2021 18:29:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612981750; bh=L9fkoDuybExADXd4fujaf6j8LJBbl0xCm0Bog/5PaOo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=RAu9J8QpFmDfGsJ2CBGZHyVDVO3ZBO+YTrhWq2fXLJMTM7iLJZIb+CIaiQtb7TcBs zShuOmmYr3teGiIFLWJJccrSXxBvzCEiiuef2OgvoPll88M55bPFHqNX/J6/3ONr/v tuZ1La3CgbtMgu4/LBbYJ6u0/fTg3ODKj+zEyXrQCpYfNTryTE1COV0jdUV/BxTotF W6lJIj88R7O6TCcTVY5xY5cu9ayQ45w3vnaE6KH4wvKvHQ0wRDwagsZImBHpHokxZ0 GucPCfLAQbffL2uuTaIOm1vrOPVcwzpuM91Luwcm6Z6hrkHttD0wyR+TJn874APmfg bJPCOng1PQ+Iw== 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 18:29:09 +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: nicholas.kazlauskas@amd.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 #7 from Nicholas Kazlauskas (nicholas.kazlauskas@amd.com) --- 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" -- 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