[PATCH 14/14] drm: kill agp indirection mess

2010-08-24 Thread Daniel Vetter
On Tue, Aug 24, 2010 at 11:05:04AM -0400, Kristian H?gsberg wrote: > > ?/** Wrapper around agp_unbind_memory() */ > > ?int drm_unbind_agp(DRM_AGP_MEM * handle) > > ?{ > > - ? ? ? return drm_agp_unbind_memory(handle); > > + ? ? ? return agp_unbind_memory(handle); > > ?} > > ?EXPORT_SYMBOL(drm_unbind

[PATCH 14/14] drm: kill agp indirection mess

2010-08-24 Thread Kristian Høgsberg
On Mon, Aug 23, 2010 at 4:53 PM, Daniel Vetter wrote: > There's no point in jumping through two indirections. So kill one > and call the kernels agp functions directly. > > Signed-off-by: Daniel Vetter > --- > ?drivers/gpu/drm/drm_agpsupport.c | ? 40 +++-- > ?driv

Re: [PATCH 14/14] drm: kill agp indirection mess

2010-08-24 Thread Daniel Vetter
On Tue, Aug 24, 2010 at 11:05:04AM -0400, Kristian Høgsberg wrote: > >  /** Wrapper around agp_unbind_memory() */ > >  int drm_unbind_agp(DRM_AGP_MEM * handle) > >  { > > -       return drm_agp_unbind_memory(handle); > > +       return agp_unbind_memory(handle); > >  } > >  EXPORT_SYMBOL(drm_unbind

Re: [PATCH 14/14] drm: kill agp indirection mess

2010-08-24 Thread Kristian Høgsberg
On Mon, Aug 23, 2010 at 4:53 PM, Daniel Vetter wrote: > There's no point in jumping through two indirections. So kill one > and call the kernels agp functions directly. > > Signed-off-by: Daniel Vetter > --- >  drivers/gpu/drm/drm_agpsupport.c |   40 +++-- >  drive

[PATCH 14/14] drm: kill agp indirection mess

2010-08-23 Thread Daniel Vetter
There's no point in jumping through two indirections. So kill one and call the kernels agp functions directly. Signed-off-by: Daniel Vetter --- drivers/gpu/drm/drm_agpsupport.c | 40 +++-- drivers/gpu/drm/drm_memory.c | 12 ++ include/drm/drmP.h

[PATCH 14/14] drm: kill agp indirection mess

2010-08-23 Thread Daniel Vetter
There's no point in jumping through two indirections. So kill one and call the kernels agp functions directly. Signed-off-by: Daniel Vetter --- drivers/gpu/drm/drm_agpsupport.c | 40 +++-- drivers/gpu/drm/drm_memory.c | 12 ++ include/drm/drmP.h