[Bug 211649] "drm/amd/display: reuse current context instead of recreating one" cause hdmi hotplug blackscreen on amdgpu

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Wed Feb 10 19:35:47 UTC 2021


https://bugzilla.kernel.org/show_bug.cgi?id=211649

--- Comment #8 from youling257 at 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.


More information about the dri-devel mailing list