[Intel-gfx] [PATCH] drm/ttm: Remove TTM_HAS_AGP

Emil Velikov emil.l.velikov at gmail.com
Wed Mar 30 12:53:38 UTC 2016


On 30 March 2016 at 12:24, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
> It tries to do fancy things with excluding agp support if ttm is
> built-in, but agp isn't. Instead just express this depency like drm
> does and use CONFIG_AGP everywhere.
>
> Also use the neat Makefile magic to make the entire ttm_agp_backend
> file optional.
>
> v2: Use IS_ENABLED(CONFIG_AGP) as suggested by Ville
>
> v3: Review from Emil.
>
> v4: Actually get it right as spotted by 0-day.
>
Nice one. I didn't even spot the typo/thinko in v3 ;-)

> Cc: Emil Velikov <emil.l.velikov at gmail.com>
> Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
> Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>

-Emil


More information about the Intel-gfx mailing list