Bug 81940 - [BDW Bisected]eDP can't be lighted up after Xrandr rotate
Summary: [BDW Bisected]eDP can't be lighted up after Xrandr rotate
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: high major
Assignee: Rodrigo Vivi
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-31 05:05 UTC by liulei
Modified: 2017-10-06 14:36 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (93.60 KB, text/plain)
2014-07-31 05:05 UTC, liulei
no flags Details

Description liulei 2014-07-31 05:05:29 UTC
Created attachment 103716 [details]
dmesg

==System Environment==
--------------------------
Regression: Yes. Good commit: (-next-queued)d4ef41ce151988411dec8b089636d9ecbd1da559

Non-working platforms: Broadwell

==kernel==
--------------------------
-nightly: c95053d599112ec3b8c27a632e3c1544558891a4 (failed)
    drm-intel-nightly: 2014y-07m-30d-22h-36m-53s integration manifest
-queued: 5193109cd669c7990b043a7187548546c16f8af3 (failed)
    drm/i915: Align intel_dsi*.c files a bit
-fixes: f4be89cecea437aaddd7700d05c6bdb5678041f7 (works)
    drm/i915: Fix crash when failing to parse MIPI VBT

==Bug detailed description==
-----------------------------
start X, and do rotate. eDP panel can't be lighted up.
==Reproduce steps==
---------------------------- 
1. xinit &
2. xrandr --output eDP1 --rotate left

==Bisect results==
----------------------------
Bisect shows: b6d547791fd3ef4ccc89ad2556ab01045640aef7 is the first bad commit
commit b6d547791fd3ef4ccc89ad2556ab01045640aef7
Author:     Rodrigo Vivi <rodrigo.vivi@intel.com>
AuthorDate: Fri Jul 11 10:30:19 2014 -0700
Commit:     Daniel Vetter <daniel.vetter@ffwll.ch>
CommitDate: Wed Jul 23 07:05:21 2014 +0200

    drm/i915: Enable PSR by default.

    Panel Self Refresh is an eDP power saving feature specified by VESA's eDP v1.3,
    that allows some panel componets to shutdown while you still see static images on
    the screen. Besides being supported on the platform it must be supported by the
    eDP panel itself.

    Now that we have the propper frontbuffer tracking support and correct locks on place
    we can enabled this feature by default.
Comment 1 Paulo Zanoni 2014-08-01 15:57:00 UTC
I can't reproduce this under Unity. Which desktop environment are you using?
Comment 2 Yi Sun 2014-08-05 02:27:42 UTC
(In reply to comment #1)
> I can't reproduce this under Unity. Which desktop environment are you using?

Lei is on his vocation till next Monday.
I just tested it, only started X without any desktop env.

Actually I found, it needn't X to reproduce this issue:
setterm -blank force
setterm -blank poke

Then the screen is black but the back-light turns on. So it should be X or desktop non-related, I think.

I have tried it with latest drm-intel-nightly branch:
commit ddbc288690cd888dd6f5629ccba9a2691a70b7b0
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Thu Jul 31 10:07:44 2014 +0200

    drm-intel-nightly: 2014y-07m-31d-10h-07m-17s integration manifest
Comment 3 liulei 2014-08-15 02:35:36 UTC
"xrandr --output eDP1 --mode 800x600" Also can reproduce this issue.
Comment 4 liulei 2014-08-20 08:28:50 UTC
I tested latest -nightly (49ceddc7b3b0e3f7eb21b9fb4c9b840cff630047) kernel. eDP monitor is able to be  lighted up after xrandr rotate.
Comment 5 Jani Nikula 2014-08-20 09:44:08 UTC
The regressing commit has been reverted in nightly.
Comment 6 Elizabeth 2017-10-06 14:36:51 UTC
Closing old verified.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.