[Bug 110799] New: No Screen Updates on fbcon with PSR enabled on Thinkpad T450s (Broadwell), Linux 5.1.5

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 30 21:13:09 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=110799

            Bug ID: 110799
           Summary: No Screen Updates on fbcon with PSR enabled on
                    Thinkpad T450s (Broadwell), Linux 5.1.5
           Product: DRI
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/Intel
          Assignee: intel-gfx-bugs at lists.freedesktop.org
          Reporter: trohwer85 at gmail.com
        QA Contact: intel-gfx-bugs at lists.freedesktop.org
                CC: intel-gfx-bugs at lists.freedesktop.org

I enabled PSR on my Thinkpad T450s (Broadwell) with Linux 5.1.5. This works
fine under X, but I get no screen updates on the fbcon (typing etc. does show
no change on screen, only switching to/back X makes the stuff visible).
Without PSR, the fbcon works fine.

I investigated a bit and identified this code in drm/i915/intel_psr.c
(printk added by me) to exit PSR on fbcon dirty calls:

  /* By definition flush = invalidate + flush */
  if (frontbuffer_bits) {
    /*
     * Display WA #0884: all
     * This documented WA for bxt can be safely applied
     * broadly so we can force HW tracking to exit PSR
     * instead of disabling and re-enabling.
     * Workaround tells us to write 0 to CUR_SURFLIVE_A,
     * but it makes more sense write to the current active
     * pipe.
     */
    printk(KERN_DEBUG "WA\n");
    I915_WRITE(CURSURFLIVE(dev_priv->psr.pipe), 0);
  }

The code is called for fbcon changes, but as stated, it does not seem to have
the effect of exiting PSR on my hardware.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20190530/5bee8f5e/attachment.html>


More information about the intel-gfx-bugs mailing list