[PATCH] drm: provide agp dummies for CONFIG_AGP=n

2013-08-07 Thread Laurent Pinchart
Hi David, On Wednesday 07 August 2013 18:12:23 David Herrmann wrote: > On Wed, Aug 7, 2013 at 5:53 PM, Laurent Pinchart wrote: > > On Wednesday 07 August 2013 15:53:15 David Herrmann wrote: > >> We currently rely on gcc dead-code elimination so the drm_agp_* helpers > >> are not called if drm_core

[PATCH] drm: provide agp dummies for CONFIG_AGP=n

2013-08-07 Thread David Herrmann
Hi On Wed, Aug 7, 2013 at 5:53 PM, Laurent Pinchart wrote: > Hi David, > > On Wednesday 07 August 2013 15:53:15 David Herrmann wrote: >> We currently rely on gcc dead-code elimination so the drm_agp_* helpers >> are not called if drm_core_has_AGP() is false. That's ugly as hell so >> provide "sta

[PATCH] drm: provide agp dummies for CONFIG_AGP=n

2013-08-07 Thread Laurent Pinchart
Hi David, On Wednesday 07 August 2013 15:53:15 David Herrmann wrote: > We currently rely on gcc dead-code elimination so the drm_agp_* helpers > are not called if drm_core_has_AGP() is false. That's ugly as hell so > provide "static inline" dummies for the case that AGP is disabled. Please note t

[PATCH] drm: provide agp dummies for CONFIG_AGP=n

2013-08-07 Thread David Herrmann
We currently rely on gcc dead-code elimination so the drm_agp_* helpers are not called if drm_core_has_AGP() is false. That's ugly as hell so provide "static inline" dummies for the case that AGP is disabled. Fixes a build-regression introduced by: commit 28ec711cd427f8b61f73712a43b8100ba8ca933

Re: [PATCH] drm: provide agp dummies for CONFIG_AGP=n

2013-08-07 Thread Laurent Pinchart
Hi David, On Wednesday 07 August 2013 18:12:23 David Herrmann wrote: > On Wed, Aug 7, 2013 at 5:53 PM, Laurent Pinchart wrote: > > On Wednesday 07 August 2013 15:53:15 David Herrmann wrote: > >> We currently rely on gcc dead-code elimination so the drm_agp_* helpers > >> are not called if drm_core

Re: [PATCH] drm: provide agp dummies for CONFIG_AGP=n

2013-08-07 Thread David Herrmann
Hi On Wed, Aug 7, 2013 at 5:53 PM, Laurent Pinchart wrote: > Hi David, > > On Wednesday 07 August 2013 15:53:15 David Herrmann wrote: >> We currently rely on gcc dead-code elimination so the drm_agp_* helpers >> are not called if drm_core_has_AGP() is false. That's ugly as hell so >> provide "sta

Re: [PATCH] drm: provide agp dummies for CONFIG_AGP=n

2013-08-07 Thread Laurent Pinchart
Hi David, On Wednesday 07 August 2013 15:53:15 David Herrmann wrote: > We currently rely on gcc dead-code elimination so the drm_agp_* helpers > are not called if drm_core_has_AGP() is false. That's ugly as hell so > provide "static inline" dummies for the case that AGP is disabled. Please note t

[PATCH] drm: provide agp dummies for CONFIG_AGP=n

2013-08-07 Thread David Herrmann
We currently rely on gcc dead-code elimination so the drm_agp_* helpers are not called if drm_core_has_AGP() is false. That's ugly as hell so provide "static inline" dummies for the case that AGP is disabled. Fixes a build-regression introduced by: commit 28ec711cd427f8b61f73712a43b8100ba8ca933