* [PATCH] drm/ttm: remove declaration of ttm_tt_cache_flush
@ 2014-05-02 9:49 ` Alexandre Courbot
0 siblings, 0 replies; 4+ messages in thread
From: Alexandre Courbot @ 2014-05-02 9:49 UTC (permalink / raw)
To: David Airlie; +Cc: dri-devel, linux-kernel, gnurou, Alexandre Courbot
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 coup
de grâce.
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
---
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 a282ecfd1fb2..db313d8510ea 100644
--- a/include/drm/ttm/ttm_bo_driver.h
+++ b/include/drm/ttm/ttm_bo_driver.h
@@ -654,18 +654,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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] drm/ttm: remove declaration of ttm_tt_cache_flush
@ 2014-05-02 9:49 ` Alexandre Courbot
0 siblings, 0 replies; 4+ messages in thread
From: Alexandre Courbot @ 2014-05-02 9:49 UTC (permalink / raw)
To: David Airlie; +Cc: gnurou, linux-kernel, dri-devel
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 coup
de grâce.
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
---
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 a282ecfd1fb2..db313d8510ea 100644
--- a/include/drm/ttm/ttm_bo_driver.h
+++ b/include/drm/ttm/ttm_bo_driver.h
@@ -654,18 +654,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@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] drm/ttm: remove declaration of ttm_tt_cache_flush
2014-05-02 9:49 ` Alexandre Courbot
@ 2014-05-02 11:35 ` Thierry Reding
-1 siblings, 0 replies; 4+ messages in thread
From: Thierry Reding @ 2014-05-02 11:35 UTC (permalink / raw)
To: Alexandre Courbot; +Cc: David Airlie, gnurou, linux-kernel, dri-devel
[-- Attachment #1: Type: text/plain, Size: 522 bytes --]
On Fri, May 02, 2014 at 06:49:22PM +0900, Alexandre Courbot 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 coup
> de grâce.
>
> Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
> ---
> include/drm/ttm/ttm_bo_driver.h | 12 ------------
> 1 file changed, 12 deletions(-)
Reviewed-by: Thierry Reding <treding@nvidia.com>
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] drm/ttm: remove declaration of ttm_tt_cache_flush
@ 2014-05-02 11:35 ` Thierry Reding
0 siblings, 0 replies; 4+ messages in thread
From: Thierry Reding @ 2014-05-02 11:35 UTC (permalink / raw)
To: Alexandre Courbot; +Cc: gnurou, linux-kernel, dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 522 bytes --]
On Fri, May 02, 2014 at 06:49:22PM +0900, Alexandre Courbot 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 coup
> de grâce.
>
> Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
> ---
> include/drm/ttm/ttm_bo_driver.h | 12 ------------
> 1 file changed, 12 deletions(-)
Reviewed-by: Thierry Reding <treding@nvidia.com>
[-- Attachment #1.2: Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-05-02 11:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-02 9:49 [PATCH] drm/ttm: remove declaration of ttm_tt_cache_flush Alexandre Courbot
2014-05-02 9:49 ` Alexandre Courbot
2014-05-02 11:35 ` Thierry Reding
2014-05-02 11:35 ` Thierry Reding
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.