[Intel-gfx] [PATCH 2/4] drm/i915: split out i915_switcheroo.[ch] from i915_drv.c

2019-10-02 Thread Jani Nikula
Split out code related to vga switcheroo register/unregister and state handling from i915_drv.c into new i915_switcheroo.[ch] files. It's a bit difficult to draw the line how much to move to the new file from i915_drv.c, but it seemed to me keeping i915_suspend_switcheroo() and i915_resume_switche

Re: [Intel-gfx] [PATCH 2/4] drm/i915: split out i915_switcheroo.[ch] from i915_drv.c

2019-10-02 Thread Ville Syrjälä
On Wed, Oct 02, 2019 at 04:17:58PM +0300, Jani Nikula wrote: > Split out code related to vga switcheroo register/unregister and state > handling from i915_drv.c into new i915_switcheroo.[ch] files. > > It's a bit difficult to draw the line how much to move to the new file > from i915_drv.c, but it