Bug 71862

Summary: [HSW ULT Regression Bisected]HDMI monitor resolution mode setting incorrect when system boot up
Product: DRI Reporter: Qingshuai Tian <qingshuai.tian>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED NOTABUG QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: unspecified   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg of HDMI resolution modeset
none
Image of the monitor with incorrect mode setting none

Description Qingshuai Tian 2013-11-21 07:28:01 UTC
Created attachment 89564 [details]
dmesg of HDMI resolution modeset

Environment:
------------------------
Kernel: (drm-intel-next-queued)f671d117bc0338b67b0a7485882d332fe6c4b570
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Sat Nov 16 16:02:04 2013 +0100

    drm/i915: remove intel_uncore_clear_errors
Description:
------------------------
Machin Info: Lenovo idealpad u330p
When the computer boot up with a HDMI monitor, the resolution mode setting of the HDMI will be  incorrect. It cannot fullfill the whole screen. I took a picture to make it clear, and you can check it in the attachment.
This is a regression and I biscted it.

Bisect shows:
9f08ef59a6f71249de8b4e8a26c27075b9e99f9c is the first bad commit
commit 9f08ef59a6f71249de8b4e8a26c27075b9e99f9c
Author: Paulo Zanoni <paulo.r.zanoni@intel.com>
Date:   Thu Oct 31 12:44:21 2013 -0200

    drm/i915: use the correct register when turning VDD off

    That explains why I was seeing 2 consecutive "Turning eDP VDD off"
    messages.
Regression introduced by:
        commit bf13e81b904a37d94d83dd6c3b53a147719a3ead
        Author: Jani Nikula <jani.nikula@intel.com>
        Date:   Fri Sep 6 07:40:05 2013 +0300
            drm/i915: add support for per-pipe power sequencing on vlv

    Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
    Reviewed-by: Jani Nikula <jani.nikula@intel.com>
    Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

Reproduce steps:
----------------
1.Plugged in HDMI monitor
2.Boot up the computer
Comment 1 Qingshuai Tian 2013-11-21 07:32:47 UTC
Created attachment 89565 [details]
Image of the monitor with incorrect mode setting
Comment 2 Daniel Vetter 2013-11-21 08:38:56 UTC
This is intentional - fbcon always goes for the full resolution, but only fills it to the maximum resolution of the smallest screen. The patch you've mentioned fixes eDP and now we limit fbcon to 1366x768. In X you can still use the full resolution of the HDMI monitor.
Comment 3 Elizabeth 2017-10-06 14:42:01 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.