[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANq1E4TCLg_aEFx8FQOFk4N4DpNEJoQKPR5L4hXKsXf30J7V2A@mail.gmail.com>
Date: Sun, 25 May 2014 14:05:17 +0200
From: David Herrmann <dh.herrmann@...il.com>
To: Alexandre Courbot <acourbot@...dia.com>,
Daniel Vetter <daniel.vetter@...ll.ch>
Cc: Dave Airlie <airlied@...il.com>,
Alexandre Courbot <gnurou@...il.com>,
linux-kernel <linux-kernel@...r.kernel.org>,
"dri-devel@...ts.freedesktop.org" <dri-devel@...ts.freedesktop.org>
Subject: Re: [PATCH RESEND] drm/ttm: remove declaration of ttm_tt_cache_flush
Hi
On Fri, May 23, 2014 at 5:58 AM, Alexandre Courbot <acourbot@...dia.com> wrote:
> ttm_tt_cache_flush's implementation was removed in 2009 by commit
> c9c97b8c, but its declaration has been hiding in ttm_bo_driver.h since
> then.
>
> It has been surviving in the dark for too long now ; give it the mercy
> blow.
>
> Signed-off-by: Alexandre Courbot <acourbot@...dia.com>
> Reviewed-by: Thierry Reding <treding@...dia.com>
Reviewed-by: David Herrmann <dh.herrmann@...il.com>
Thanks
David
> ---
> include/drm/ttm/ttm_bo_driver.h | 12 ------------
> 1 file changed, 12 deletions(-)
>
> diff --git a/include/drm/ttm/ttm_bo_driver.h b/include/drm/ttm/ttm_bo_driver.h
> index a5183da3ef92..e3f8c99a8a9d 100644
> --- a/include/drm/ttm/ttm_bo_driver.h
> +++ b/include/drm/ttm/ttm_bo_driver.h
> @@ -653,18 +653,6 @@ extern void ttm_tt_unbind(struct ttm_tt *ttm);
> extern int ttm_tt_swapin(struct ttm_tt *ttm);
>
> /**
> - * ttm_tt_cache_flush:
> - *
> - * @pages: An array of pointers to struct page:s to flush.
> - * @num_pages: Number of pages to flush.
> - *
> - * Flush the data of the indicated pages from the cpu caches.
> - * This is used when changing caching attributes of the pages from
> - * cache-coherent.
> - */
> -extern void ttm_tt_cache_flush(struct page *pages[], unsigned long num_pages);
> -
> -/**
> * ttm_tt_set_placement_caching:
> *
> * @ttm A struct ttm_tt the backing pages of which will change caching policy.
> --
> 1.9.2
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@...ts.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists