Re: [PATCH 4/5] drm/radeon: Don't register Thunderbolt eGPU with vga_switcheroo

2017-03-08 Thread Peter Wu
entation on these methods somewhere? The ACPI interface is documented in drivers/gpu/drm/amd/include/amd_acpi.h while drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c contains some glue for ACPI and the amdgpu driver (similar code exists for radeon). -- Kind regards, Peter Wu https://lekensteyn.nl ___ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx

[PATCH 2/2] drm/radeon: fix power state when port pm is unavailable

2016-11-22 Thread Peter Wu
lowered to 2013 (the first year where hybrid graphics platforms using power resources was introduced), but that seems more risky at this point and would not solve the pcie_port_pm=off issue. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98505 Signed-off-by: Peter Wu --- drivers/gpu/drm/radeon

[PATCH 1/2] drm/amdgpu: fix power state when port pm is unavailable

2016-11-22 Thread Peter Wu
-by: Peter Wu --- Hi, This patch is already three weeks old. One alternative idea was lowering BIOS date in PCI core, but as pcie_port_pm=force did not have the desired effect, I do not think that this would help though. I have also not contacted linux-pci or Mika about lowering the year due to the

Re: [PATCH 3/4] drm/radeon/atpx: check for ATIF dGPU wake for display events support

2016-11-22 Thread Peter Wu
On Wed, Sep 14, 2016 at 02:49:03PM -0400, Alex Deucher wrote: > Some ATPX laptops implement special circuitry to generate > display hotplug events via ACPI when the dGPU is powered off. > Check if this is supported. > > Signed-off-by: Alex Deucher This patch is missing a dgpu_req_power_for_displ

Re: [PATCH 1/2] drm/amdgpu: fix power state when port pm is unavailable

2016-11-23 Thread Peter Wu
On Wed, Nov 23, 2016 at 12:01:55PM -0500, Alex Deucher wrote: > On Tue, Nov 22, 2016 at 8:22 PM, Peter Wu wrote: > > When PCIe port PM is not enabled (system BIOS is pre-2015 or the > > pcie_port_pm=off parameter is set), legacy ATPX PM should still be > > marked as support

Re: [PATCH] drm/radeon: fix power state when port pm is unavailable (v2)

2016-11-23 Thread Peter Wu
On Wed, Nov 23, 2016 at 12:43:33PM -0500, Alex Deucher wrote: > From: Peter Wu > > When PCIe port PM is not enabled (system BIOS is pre-2015 or the > pcie_port_pm=off parameter is set), legacy ATPX PM should still be > marked as supported. Otherwise the GPU can fail to power on

Re: [PATCH 1/2] drm/amdgpu: fix power state when port pm is unavailable

2016-11-26 Thread Peter Wu
, 23 Nov 2016 at 17:16 Deucher, Alexander > wrote: > > > > -----Original Message- > > > From: Peter Wu [mailto:pe...@lekensteyn.nl] > > > Sent: Wednesday, November 23, 2016 12:13 PM > > > To: Alex Deucher > > > Cc: amd-gfx list; Deucher, Alexande

Re: [PATCH 1/2] drm/amdgpu: fix power state when port pm is unavailable

2016-11-26 Thread Peter Wu
ssages fly straight off the screen, the journal isn't kept > > and the wifi driver also complains, will see if I can get a slow motion > > capture of the errors and screen shot them > > > > Regards > > > > Mike > > > > On Sat, 26 Nov 2016 at 10:20 Pete

Re: [PATCH 1/2] drm/amdgpu: fix power state when port pm is unavailable

2016-11-26 Thread Peter Wu
ain > > On Sat, 26 Nov 2016 at 11:39 Peter Wu wrote: > > > Hi Mike, > > > > To grab console output, you could also try to blacklist amdgpu at > > startup and load it later. > > > > Can you provide your acpidump (and lspci -nn, especially if you do not &

Re: [PATCH 1/2] drm/amdgpu: fix power state when port pm is unavailable

2016-11-28 Thread Peter Wu
On Mon, Nov 28, 2016 at 05:28:00PM -0500, Alex Deucher wrote: > On Mon, Nov 28, 2016 at 12:48 AM, Mike Lothian wrote: > > The attached patch allows my machine to boot also > > > > Thanks > > > > Mike > > > > On Sat, 26 Nov 2016 at 14:14

ATPX changes in drm-next-4.8 and D3cold handling

2016-07-21 Thread Peter Wu
ists.freedesktop.org/archives/dri-devel/2016-July/112759.html -- Kind regards, Peter Wu https://lekensteyn.nl ___ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Re: [PATCH 2/2] drm/radeon: init atpx at switcheroo register time

2016-07-28 Thread Peter Wu
On Wed, Jul 27, 2016 at 04:10:45PM -0400, Alex Deucher wrote: > If we do it at enable time, it's too late for the feature > checks. > > bug: https://bugzilla.kernel.org/show_bug.cgi?id=115321 > Signed-off-by: Alex Deucher > Cc: Peter Wu > --- > drivers/gpu/drm/rad

Re: ATPX changes in drm-next-4.8 and D3cold handling

2016-07-28 Thread Peter Wu
On Thu, Jul 28, 2016 at 05:40:31PM +0200, Lukas Wunner wrote: > On Thu, Jul 28, 2016 at 03:33:25PM +, Deucher, Alexander wrote: > > > From: Peter Wu [mailto:pe...@lekensteyn.nl] > > > Sent: Thursday, July 21, 2016 6:43 AM > > > In case you missed it, Dave'

Re: ATPX changes in drm-next-4.8 and D3cold handling

2016-07-29 Thread Peter Wu
On Fri, Jul 29, 2016 at 03:45:50PM +, Deucher, Alexander wrote: > > -Original Message- > > From: Peter Wu [mailto:pe...@lekensteyn.nl] > > Sent: Thursday, July 28, 2016 8:00 PM > > To: Lukas Wunner > > Cc: Deucher, Alexander; dri-de...@lists.freedesktop.o