All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 211033] New: [bisected][regression] amdgpu: *ERROR* Restoring old state failed with -12
Date: Mon, 04 Jan 2021 17:28:59 +0000	[thread overview]
Message-ID: <bug-211033-2300@https.bugzilla.kernel.org/> (raw)

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

            Bug ID: 211033
           Summary: [bisected][regression] amdgpu: *ERROR* Restoring old
                    state failed with -12
           Product: Drivers
           Version: 2.5
    Kernel Version: 5.10.4
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: drivers_video-dri@kernel-bugs.osdl.org
          Reporter: zaltys@inbox.ru
        Regression: No

I have AMD RX560 GPU which is connected to LG 27UD-88 display via ATEN CS782DP
displayPort KVM switch.

I can't reliably switch KVM port to the machine running Kernel 5.10.4 with
previously mentioned GPU. Screen is usually blank and display even goes to
standby after the first try, however sometimes (if I switch KVM ports quickly a
few times) it turns on, but with wrong resolution. dmesg complains with:

[drm:dm_restore_drm_connector_state] *ERROR* Restoring old state failed with
-12

for every failed port switch.

KVM switch is configured to "redetect display" - basically it emulates
replugging when port is switched. I have been using it for 4 years with the
same GPU and it worked correctly until Kernel 5.10.4

I did a bisect, and it showed the first bad commit was:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/gpu/drm/amd?h=linux-rolling-stable&id=ea64b21c6638d1ac3120fff89eb20c0e525a21d9

Reverting this commit fixed my issue (it works like pre 5.10.4)

-- 
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

             reply	other threads:[~2021-01-04 17:29 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-04 17:28 bugzilla-daemon [this message]
2021-01-04 17:30 ` [Bug 211033] [bisected][regression] amdgpu: *ERROR* Restoring old state failed with -12 bugzilla-daemon
2021-01-04 20:15 ` bugzilla-daemon
2021-01-04 22:23 ` bugzilla-daemon
2021-01-05 10:41 ` bugzilla-daemon
2021-01-05 12:19 ` bugzilla-daemon
2021-01-05 21:15 ` bugzilla-daemon
2021-01-06 17:20 ` bugzilla-daemon
2021-01-06 18:42 ` bugzilla-daemon
2021-01-06 23:48 ` bugzilla-daemon
2021-01-06 23:50 ` bugzilla-daemon
2021-01-11  0:39 ` bugzilla-daemon
2021-01-11 16:51 ` bugzilla-daemon
2021-01-11 16:54 ` bugzilla-daemon
2021-01-11 17:00 ` bugzilla-daemon
2021-01-27  0:10 ` bugzilla-daemon
2021-01-27  1:41 ` bugzilla-daemon
2021-02-04  4:49 ` bugzilla-daemon
2021-03-06 13:33 ` bugzilla-daemon
2021-03-08 21:48 ` bugzilla-daemon
2023-08-15 17:37 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-211033-2300@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.