From patchwork Fri Jun 27 22:14:50 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kepplinger X-Patchwork-Id: 24557 Received: from mail.tu-berlin.de ([130.149.7.33]) by www.linuxtv.org with esmtp (Exim 4.72) (envelope-from ) id 1X0eQr-0002yF-HN; Sat, 28 Jun 2014 00:15:45 +0200 X-tubIT-Incoming-IP: 209.132.180.67 Received: from vger.kernel.org ([209.132.180.67]) by mail.tu-berlin.de (exim-4.72/mailfrontend-8) with esmtp id 1X0eQp-0007Kn-jK; Sat, 28 Jun 2014 00:15:45 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752623AbaF0WP2 (ORCPT + 1 other); Fri, 27 Jun 2014 18:15:28 -0400 Received: from mx02.posteo.de ([89.146.194.165]:34559 "EHLO posteo.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752415AbaF0WP0 (ORCPT ); Fri, 27 Jun 2014 18:15:26 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.posteo.de (Postfix) with ESMTP id 3F99C258D24D; Sat, 28 Jun 2014 00:15:24 +0200 (CEST) X-Virus-Scanned: amavisd-new at posteo.de Received: from posteo.de ([10.125.125.178]) by localhost (amavis1.posteo.de [10.125.125.165]) (amavisd-new, port 10026) with ESMTP id xhqXus2aqMxn; Sat, 28 Jun 2014 00:15:22 +0200 (CEST) Received: from mail.posteo.de (localhost [127.0.0.1]) by mail.posteo.de (Postfix) with ESMTPSA id B69332C010C; Sat, 28 Jun 2014 00:15:21 +0200 (CEST) Message-ID: <53ADECDA.60600@posteo.de> Date: Sat, 28 Jun 2014 00:14:50 +0200 From: Martin Kepplinger User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Icedove/24.6.0 MIME-Version: 1.0 To: Zhang Rui CC: "rjw@rjwysocki.net" , "lenb@kernel.org" , "linux-acpi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , linux-media@vger.kernel.org Subject: Re: [BUG] rc1 and rc2: Laptop unusable: on boot, screen black instead of native resolution References: <53A6E72A.9090000@posteo.de> <744357E9AAD1214791ACBA4B0B90926301379B97@SHSMSX101.ccr.corp.intel.com> <53A81BF7.3030207@posteo.de> <1403529246.4686.6.camel@rzhang1-toshiba> <53A83DC7.1010606@posteo.de> <1403882067.16305.124.camel@rzhang1-toshiba> <53ADB359.4010401@posteo.de> <53ADCB24.9030206@posteo.de> In-Reply-To: <53ADCB24.9030206@posteo.de> X-Enigmail-Version: 1.6 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-PMX-Version: 6.0.0.2142326, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2014.6.27.220619 X-PMX-Spam: Gauge=IIIIIIIII, Probability=9%, Report=' MULTIPLE_RCPTS 0.1, HTML_00_01 0.05, HTML_00_10 0.05, MSGID_ADDED_BY_MTA 0.05, BODY_SIZE_4000_4999 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, URI_ENDS_IN_HTML 0, __ANY_URI 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __FORWARDED_MSG 0, __HAS_FROM 0, __HAS_MSGID 0, __HAS_X_MAILING_LIST 0, __INT_PROD_COMP 0, __IN_REP_TO 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __MOZILLA_MSGID 0, __MOZILLA_USER_AGENT 0, __MULTIPLE_RCPTS_CC_X2 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __SUBJ_ALPHA_NEGATE 0, __TO_MALFORMED_2 0, __URI_NO_WWW 0, __URI_NS , __USER_AGENT 0' Am 2014-06-27 21:51, schrieb Martin Kepplinger: > Am 2014-06-27 20:09, schrieb Martin Kepplinger: >> Am 2014-06-27 17:14, schrieb Zhang Rui: >>> On Mon, 2014-06-23 at 16:46 +0200, Martin Kepplinger wrote: >>>> Am 2014-06-23 15:14, schrieb Zhang Rui: >>>>> On Mon, 2014-06-23 at 14:22 +0200, Martin Kepplinger wrote: >>>>>> Am 2014-06-23 03:10, schrieb Zhang, Rui: >>>>>>> >>>>>>> >>>>>>>> -----Original Message----- >>>>>>>> From: Martin Kepplinger [mailto:martink@posteo.de] >>>>>>>> Sent: Sunday, June 22, 2014 10:25 PM >>>>>>>> To: Zhang, Rui >>>>>>>> Cc: rjw@rjwysocki.net; lenb@kernel.org; linux-acpi@vger.kernel.org; >>>>>>>> linux-kernel@vger.kernel.org >>>>>>>> Subject: [BUG] rc1 and rc2: Laptop unusable: on boot,screen black >>>>>>>> instead of native resolution >>>>>>>> Importance: High >>>>>>>> >>>>>>>> Since 3.16-rc1 my laptop's just goes black while booting, instead of >>>>>>>> switching to native screen resolution and showing me the starting >>>>>>>> system there. It's an Acer TravelMate B113 with i915 driver and >>>>>>>> acer_wmi. It stays black and is unusable. >>>>>>>> >>>>> This looks like a duplicate of >>>>> https://bugzilla.kernel.org/show_bug.cgi?id=78601 >>>>> >>>>> thanks, >>>>> rui >>>> I'm not sure about that. I have no problem with v3.15 and the screen >>>> goes black way before a display manager is started. It's right after the >>>> kernel loaded and usually the screen is set to native resolution. >>>> >>>> Bisect told me aaeb2554337217dfa4eac2fcc90da7be540b9a73 as the first bad >>>> one. Although, checking that out and running it, works good. not sure if >>>> that makes sense. >>>> >>> could you please check if the comment in >>> https://bugzilla.kernel.org/show_bug.cgi?id=78601#c5 solves your problem >>> or not? >>> >>> thanks, >>> rui >> >> thanks for checking. This does not change anything though. I tested the >> following on top of v3.16-rc2 and linus's tree as of today, almost -rc3. >> >> --- >> drivers/gpu/drm/i915/intel_fbdev.c | 1 - >> 1 file changed, 1 deletion(-) >> >> diff --git a/drivers/gpu/drm/i915/intel_fbdev.c >> b/drivers/gpu/drm/i915/intel_fbdev.c >> index 088fe93..1e2f9ae 100644 >> --- a/drivers/gpu/drm/i915/intel_fbdev.c >> +++ b/drivers/gpu/drm/i915/intel_fbdev.c >> @@ -453,7 +453,6 @@ out: >> } >> >> static struct drm_fb_helper_funcs intel_fb_helper_funcs = { >> - .initial_config = intel_fb_initial_config, >> .gamma_set = intel_crtc_fb_gamma_set, >> .gamma_get = intel_crtc_fb_gamma_get, >> .fb_probe = intelfb_create, >> > > I also tested the following patch from > http://lists.freedesktop.org/archives/intel-gfx/2014-June/047981.html > now, with no results. No change in my case :( > > diff --git a/drivers/gpu/drm/i915/intel_display.c > b/drivers/gpu/drm/i915/intel_display.c > index efd3cf5..5aee08e 100644 > --- a/drivers/gpu/drm/i915/intel_display.c > +++ b/drivers/gpu/drm/i915/intel_display.c > @@ -11087,6 +11087,22 @@ const char *intel_output_name(int output) > return names[output]; > } > > +static bool intel_crt_present(struct drm_device *dev) > +{ > + struct drm_i915_private *dev_priv = dev->dev_private; > + > + if (IS_ULT(dev)) > + return false; > + > + if (IS_CHERRYVIEW(dev)) > + return false; > + > + if (IS_VALLEYVIEW(dev) && !dev_priv->vbt.int_crt_support) > + return false; > + > + return true; > +} > + > static void intel_setup_outputs(struct drm_device *dev) > { > struct drm_i915_private *dev_priv = dev->dev_private; > @@ -11095,7 +11111,7 @@ static void intel_setup_outputs(struct > drm_device *dev) > > intel_lvds_init(dev); > > - if (!IS_ULT(dev) && !IS_CHERRYVIEW(dev) && > dev_priv->vbt.int_crt_support) > + if (intel_crt_present(dev)) > intel_crt_init(dev); > > if (HAS_DDI(dev)) { > I'm on i686 and also the following from https://bugzilla.redhat.com/show_bug.cgi?id=1110968#c16 does not help :( this is bad. --- arch/x86/kernel/signal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) put_user_ex(restorer, &frame->pretcode); --- a/arch/x86/kernel/signal.c +++ a/arch/x86/kernel/signal.c @@ -363,7 +363,7 @@ static int __setup_rt_frame(int sig, struct ksignal *ksig, /* Set up to return from userspace. */ restorer = current->mm->context.vdso + - selected_vdso32->sym___kernel_sigreturn; + selected_vdso32->sym___kernel_rt_sigreturn; if (ksig->ka.sa.sa_flags & SA_RESTORER) restorer = ksig->ka.sa.sa_restorer;