public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
* Build break due to 28ec711 "drm/agp: move AGP cleanup paths to drm_agpsupport.c"
@ 2013-08-08 18:00 Stephen Warren
  2013-08-08 18:13 ` David Herrmann
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Warren @ 2013-08-08 18:00 UTC (permalink / raw)
  To: David Herrmann
  Cc: dri-devel@lists•freedesktop.org, linux-next@vger•kernel.org,
	Dave Airlie

In next-20130808, building tegra_defconfig for ARM yields:

> drivers/built-in.o: In function `drm_lastclose':
> /home/swarren/shared/git_wa/kernel/kernel.git/drivers/gpu/drm/drm_drv.c:198: undefined reference to `drm_agp_clear'

That's because drm_agp_clear() is called unconditionally, yet is only
conditionally built into drm_agpsupport.c (#if __OS_HAS_AGP).

Should the call from drm_drv.c be conditional, or should there be a
dummy static inline replacement in include/drm/drmP.h for when AGP
support isn't available?

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-08-08 20:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-08 18:00 Build break due to 28ec711 "drm/agp: move AGP cleanup paths to drm_agpsupport.c" Stephen Warren
2013-08-08 18:13 ` David Herrmann
2013-08-08 19:21   ` Stephen Warren
2013-08-08 20:00     ` David Herrmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox