[Intel-gfx] [PATCH 2/6] drm/i915: Add EXPORT_SYMBOL()s needed for sharing VDC code

Jesse Barnes jbarnes at virtuousgeek.org
Thu May 14 22:35:08 CEST 2009


On Wed, 13 May 2009 15:02:58 +0100
Richard Purdie <rpurdie at linux.intel.com> wrote:
> Index: git/drivers/gpu/drm/i915/i915_suspend.c
> ===================================================================
> --- git.orig/drivers/gpu/drm/i915/i915_suspend.c	2009-05-13
> 10:51:08.000000000 +0100 +++
> git/drivers/gpu/drm/i915/i915_suspend.c	2009-05-13
> 12:19:48.000000000 +0100 @@ -368,6 +368,7 @@ 
>  	return 0;
>  }
> +EXPORT_SYMBOL(i915_save_state);
>  
>  int i915_restore_state(struct drm_device *dev)
>  {
> @@ -538,4 +539,5 @@
>  
>  	return 0;
>  }
> +EXPORT_SYMBOL(i915_restore_state);

These are the only ones that don't really fit.  I think we'll want to
create separate VDC save/restore functions and make the i915 code call
that (in addition to doing other, i915-specific stuff like save/restore
of fences).

Though with a more KMSish mode config save/restore even that probably
wouldn't be necessary.

-- 
Jesse Barnes, Intel Open Source Technology Center



More information about the Intel-gfx mailing list