[Intel-gfx] drm/i915: Fix module initialisation.

Daniel Vetter daniel at ffwll.ch
Wed Aug 26 01:12:08 PDT 2015


On Wed, Aug 26, 2015 at 09:57:45AM +0200, Maarten Lankhorst wrote:
> Op 26-08-15 om 09:51 schreef Daniel Vetter:
> > On Mon, Aug 17, 2015 at 12:00:38PM +0200, Maarten Lankhorst wrote:
> >>  	.load = i915_driver_load,
> >>  	.unload = i915_driver_unload,
> >>  	.open = i915_driver_open,
> >> @@ -1655,10 +1655,6 @@ static struct drm_driver driver = {
> >>  	.postclose = i915_driver_postclose,
> >>  	.set_busid = drm_pci_set_busid,
> >>  
> >> -	/* Used in place of i915_pm_ops for non-DRIVER_MODESET */
> >> -	.suspend = i915_suspend_legacy,
> >> -	.resume = i915_resume_legacy,
> > Can't we nuke the functions themselves now too?
> >
> vga switcheroo uses them.

Oh, missed that. In that case maybe rename it to _switcheroo or something?
That should probably have been done in fc49b3da0e1f2, yay for not renaming
functions when they're meaning changes ...
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the Intel-gfx mailing list