Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1351804

RE: Linux 4.4.4 [regression]

From "Deucher, Alexander" <Alexander.Deucher@amd.com>
Newsgroups linux.kernel
Subject RE: Linux 4.4.4 [regression]
Date 2016-03-07 18:10 +0100
Message-ID <ra6Po-5Ig-5@gated-at.bofh.it> (permalink)
References (2 earlier) <r9ouZ-18t-1@gated-at.bofh.it> <r9GLg-5vs-5@gated-at.bofh.it> <r9S01-4oH-1@gated-at.bofh.it> <ra4ky-3XX-5@gated-at.bofh.it> <ra6cG-5dM-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

> -----Original Message-----
> From: linus971@gmail.com [mailto:linus971@gmail.com] On Behalf Of Linus
> Torvalds
> Sent: Monday, March 07, 2016 11:21 AM
> To: Jörg-Volker Peetz; Dave Airlie; DRI mailing list
> Cc: Greg KH; Linux Kernel Mailing List; Andrew Morton; stable; lwn@lwn.net;
> Jiri Slaby; Deucher, Alexander
> Subject: Re: Linux 4.4.4 [regression]
> 
> On Mon, Mar 7, 2016 at 6:20 AM, Jörg-Volker Peetz <jvpeetz@web.de>
> wrote:
> >
> > This same problem with X does happen in 4.5-rc7. And removing the line
> > introduced by patch b36e52c44ce6728824546d8b5f05b844cede96f1 makes
> X go again on
> > my laptop.
> 
> Ok, so that's dbb17a21c131eca94eb31136eee9a7fe5aff00d9 in mainline.
> 
> Dave, Alex: that commit makes Jörg-Volker's HP Pavilion dv7 with
> hybrid graphics (AMD HD 4200 - AMD 5400) unable to run X. No
> suspend/resume in sight, just starting X hangs.
> 
> I'd guess it's the "radeon_switcheroo_set_state()" craziness (based on
> that hybrid graphics thing), but we need to do something since this is
> a regression.
> 
> Just revert for now? Or do you have other suggestions for Jörg-Volker to
> test?

Can you attach your dmesg output?

> 
> Maybe that call to drm_helper_hpd_irq_event() should be purely in the
> real resume path?
> 
> Or maybe there is something that the switcheroo code does that just
> interacts badly with the code in drm_helper_hpd_irq_event()? Deadlock
> on mode_config.mutex or something?
> 
> I suspect we just need to revert, but if somebody who knows the code
> sees some obvious fix, holler quickly, please.

Yes, It's probably something related to switcheroo.  Does the attached patch help?

Alex

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Linux 4.4.4 [regression] Greg KH <gregkh@linuxfoundation.org> - 2016-03-05 18:50 +0100
  Re: Linux 4.4.4 [regression] Jörg-Volker Peetz <jvpeetz@web.de> - 2016-03-06 14:20 +0100
    Re: Linux 4.4.4 [regression] Greg KH <gregkh@linuxfoundation.org> - 2016-03-07 02:20 +0100
      Re: Linux 4.4.4 [regression] Jörg-Volker Peetz <jvpeetz@web.de> - 2016-03-07 15:30 +0100
        Re: Linux 4.4.4 [regression] Linus Torvalds <torvalds@linux-foundation.org> - 2016-03-07 17:30 +0100
          RE: Linux 4.4.4 [regression] "Deucher, Alexander" <Alexander.Deucher@amd.com> - 2016-03-07 18:10 +0100
            RE: Linux 4.4.4 [regression] "Deucher, Alexander" <Alexander.Deucher@amd.com> - 2016-03-07 19:10 +0100

csiph-web