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


Groups > linux.kernel > #1358050

Re: [PATCH 1/2] vga_switcheroo: add power support for windows 10 machines.

From Mika Westerberg <mika.westerberg@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] vga_switcheroo: add power support for windows 10 machines.
Date 2016-03-15 15:00 +0100
Message-ID <rcXFT-2Ox-1@gated-at.bofh.it> (permalink)
References (2 earlier) <rbsXw-4QJ-13@gated-at.bofh.it> <rbvC1-70o-13@gated-at.bofh.it> <rcqgV-5LW-3@gated-at.bofh.it> <rcxip-1YG-3@gated-at.bofh.it> <rcXmy-2I4-5@gated-at.bofh.it>
Organization Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo

Show all headers | View raw


On Tue, Mar 15, 2016 at 02:39:58PM +0100, Lukas Wunner wrote:
> Hi Mika,
> 
> On Mon, Mar 14, 2016 at 11:43:35AM +0200, Mika Westerberg wrote:
> > On Mon, Mar 14, 2016 at 12:19:14PM +1000, Dave Airlie wrote:
> > > On 11 March 2016 at 23:45, Rafael J. Wysocki <rjw@rjwysocki.net> wrote:
> > > > On Friday, March 11, 2016 12:58:15 PM Mika Westerberg wrote:
> > > >> On Thu, Mar 10, 2016 at 09:57:09PM +0100, Rafael J. Wysocki wrote:
> > > >> > > It doesn't seem to do any runtime PM,
> > > >> > > I do wonder if pcieport should be doing it's own runtime PM handling,
> > > >> > > but that is a
> > > >> > > larger task than I'm thinking to tackle here.
> > > >> >
> > > >> > PCIe ports don't do PM - yet.  Mika has posted a series of patches to implement
> > > >> > that, however, that are waiting for comments now:
> > > >> >
> > > >> > https://patchwork.kernel.org/patch/8453311/
> > > >> > https://patchwork.kernel.org/patch/8453381/
> > > >> > https://patchwork.kernel.org/patch/8453391/
> > > >> > https://patchwork.kernel.org/patch/8453411/
> > > >> > https://patchwork.kernel.org/patch/8453371/
> > > >> > https://patchwork.kernel.org/patch/8453351/
> 
> If a pciehp port is runtime suspended and pciehp_poll_mode is enabled,
> the poll timer needs to be disabled and later reenabled on runtime resume.

If we disable the timer then we can't detect when a new device is
connected to the port.

I think in this case it might be better not to enable runtime PM for the
port at all.

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


Thread

[PATCH 1/2] vga_switcheroo: add power support for windows 10 machines. Dave Airlie <airlied@gmail.com> - 2016-03-09 07:20 +0100
  Re: [PATCH 1/2] vga_switcheroo: add power support for windows 10 machines. "Rafael J. Wysocki" <rafael@kernel.org> - 2016-03-09 14:20 +0100
    Re: [PATCH 1/2] vga_switcheroo: add power support for windows 10 machines. Dave Airlie <airlied@gmail.com> - 2016-03-09 23:00 +0100
      Re: [PATCH 1/2] vga_switcheroo: add power support for windows 10 machines. "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-03-10 22:00 +0100
        Re: [PATCH 1/2] vga_switcheroo: add power support for windows 10  machines. Mika Westerberg <mika.westerberg@linux.intel.com> - 2016-03-11 12:00 +0100
          Re: [PATCH 1/2] vga_switcheroo: add power support for windows 10 machines. "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-03-11 14:50 +0100
            Re: [PATCH 1/2] vga_switcheroo: add power support for windows 10 machines. Dave Airlie <airlied@gmail.com> - 2016-03-14 03:20 +0100
              Re: [PATCH 1/2] vga_switcheroo: add power support for windows 10 machines. Dave Airlie <airlied@gmail.com> - 2016-03-14 10:50 +0100
                Re: [PATCH 1/2] vga_switcheroo: add power support for windows 10  machines. Daniel Vetter <daniel@ffwll.ch> - 2016-03-14 11:10 +0100
                Re: [PATCH 1/2] vga_switcheroo: add power support for windows 10  machines. Mika Westerberg <mika.westerberg@linux.intel.com> - 2016-03-14 11:30 +0100
                Re: [PATCH 1/2] vga_switcheroo: add power support for windows 10 machines. "Rafael J. Wysocki" <rafael@kernel.org> - 2016-03-14 14:00 +0100
                Re: [PATCH 1/2] vga_switcheroo: add power support for windows 10  machines. Mika Westerberg <mika.westerberg@linux.intel.com> - 2016-03-14 15:40 +0100
              Re: [PATCH 1/2] vga_switcheroo: add power support for windows 10  machines. Mika Westerberg <mika.westerberg@linux.intel.com> - 2016-03-14 10:50 +0100
                Re: [PATCH 1/2] vga_switcheroo: add power support for windows 10  machines. Lukas Wunner <lukas@wunner.de> - 2016-03-15 14:40 +0100
                Re: [PATCH 1/2] vga_switcheroo: add power support for windows 10  machines. Mika Westerberg <mika.westerberg@linux.intel.com> - 2016-03-15 15:00 +0100
              Re: [PATCH 1/2] vga_switcheroo: add power support for windows 10 machines. Alex Deucher <alexdeucher@gmail.com> - 2016-03-14 15:40 +0100
  Re: [PATCH 1/2] vga_switcheroo: add power support for windows 10  machines. Lukas Wunner <lukas@wunner.de> - 2016-03-09 15:40 +0100
    Re: [PATCH 1/2] vga_switcheroo: add power support for windows 10 machines. Alex Deucher <alexdeucher@gmail.com> - 2016-03-09 18:00 +0100
      Re: [PATCH 1/2] vga_switcheroo: add power support for windows 10  machines. Lukas Wunner <lukas@wunner.de> - 2016-03-09 21:20 +0100
        Re: [PATCH 1/2] vga_switcheroo: add power support for windows 10 machines. Alex Deucher <alexdeucher@gmail.com> - 2016-03-09 21:30 +0100
        Re: [PATCH 1/2] vga_switcheroo: add power support for windows 10 machines. Dave Airlie <airlied@gmail.com> - 2016-03-09 23:10 +0100
    Re: [PATCH 1/2] vga_switcheroo: add power support for windows 10 machines. Dave Airlie <airlied@gmail.com> - 2016-03-09 23:10 +0100

csiph-web