Re: [PATCHv2] drm/amdgpu: register a vga_switcheroo client for MacBooks with apple-gmux

2023-02-16 Thread Orlando Chamberlain
On Thu, 16 Feb 2023 09:52:57 -0500 Alex Deucher wrote: > On Thu, Feb 16, 2023 at 8:45 AM Orlando Chamberlain > wrote: > > > > Commit 3840c5bcc245 ("drm/amdgpu: disentangle runtime pm and > > vga_switcheroo") made amdgpu only register a vga_switcheroo client > > for GPU's with PX, however AMD

[PATCHv2] drm/amdgpu: register a vga_switcheroo client for MacBooks with apple-gmux

2023-02-16 Thread Orlando Chamberlain
Commit 3840c5bcc245 ("drm/amdgpu: disentangle runtime pm and vga_switcheroo") made amdgpu only register a vga_switcheroo client for GPU's with PX, however AMD GPUs in dual gpu Apple Macbooks do need to register, but don't have PX. Instead of AMD's PX, they use apple-gmux. Use apple_gmux_detect()

Re: [PATCHv2] drm/amdgpu: register a vga_switcheroo client for MacBooks with apple-gmux

2023-02-16 Thread Alex Deucher
On Thu, Feb 16, 2023 at 8:45 AM Orlando Chamberlain wrote: > > Commit 3840c5bcc245 ("drm/amdgpu: disentangle runtime pm and > vga_switcheroo") made amdgpu only register a vga_switcheroo client for > GPU's with PX, however AMD GPUs in dual gpu Apple Macbooks do need to > register, but don't have