All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Christian König" <ckoenig.leichtzumerken@gmail.com>
To: dri-devel@lists.freedesktop.org
Subject: [PATCH 7/8] drm/cirrus: remove ttm_pool_* wrappers
Date: Thu, 22 Feb 2018 12:15:39 +0100	[thread overview]
Message-ID: <20180222111540.43479-7-christian.koenig@amd.com> (raw)
In-Reply-To: <20180222111540.43479-1-christian.koenig@amd.com>

TTM calls the default implementation now.

Signed-off-by: Christian König <christian.koenig@amd.com>
---
 drivers/gpu/drm/cirrus/cirrus_ttm.c | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/drivers/gpu/drm/cirrus/cirrus_ttm.c b/drivers/gpu/drm/cirrus/cirrus_ttm.c
index a8e31ea07382..33798c76a64b 100644
--- a/drivers/gpu/drm/cirrus/cirrus_ttm.c
+++ b/drivers/gpu/drm/cirrus/cirrus_ttm.c
@@ -216,21 +216,8 @@ static struct ttm_tt *cirrus_ttm_tt_create(struct ttm_bo_device *bdev,
 	return tt;
 }
 
-static int cirrus_ttm_tt_populate(struct ttm_tt *ttm,
-		struct ttm_operation_ctx *ctx)
-{
-	return ttm_pool_populate(ttm, ctx);
-}
-
-static void cirrus_ttm_tt_unpopulate(struct ttm_tt *ttm)
-{
-	ttm_pool_unpopulate(ttm);
-}
-
 struct ttm_bo_driver cirrus_bo_driver = {
 	.ttm_tt_create = cirrus_ttm_tt_create,
-	.ttm_tt_populate = cirrus_ttm_tt_populate,
-	.ttm_tt_unpopulate = cirrus_ttm_tt_unpopulate,
 	.init_mem_type = cirrus_bo_init_mem_type,
 	.eviction_valuable = ttm_bo_eviction_valuable,
 	.evict_flags = cirrus_bo_evict_flags,
-- 
2.14.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2018-02-22 11:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-22 11:15 [PATCH 1/8] drm/ttm: add default implementations for ttm_tt_(un)populate Christian König
2018-02-22 11:15 ` [PATCH 2/8] drm/virtio: remove ttm_pool_* wrappers Christian König
2018-02-22 11:15 ` [PATCH 3/8] drm/mgag200: " Christian König
2018-02-22 11:15 ` [PATCH 4/8] drm/hisilicon: " Christian König
2018-02-22 11:15 ` [PATCH 5/8] drm/ast: " Christian König
2018-02-22 11:15 ` [PATCH 6/8] drm/qxl: " Christian König
2018-02-22 11:15 ` Christian König [this message]
2018-02-22 11:15 ` [PATCH 8/8] drm/bochs: remove the default ttm_tt_populate callbacks Christian König
2018-02-23  3:27   ` He, Roger
2018-02-22 15:55 ` [PATCH 1/8] drm/ttm: add default implementations for ttm_tt_(un)populate Michel Dänzer
2018-02-23  7:39   ` Christian König
2018-02-23 10:04     ` Michel Dänzer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180222111540.43479-7-christian.koenig@amd.com \
    --to=ckoenig.leichtzumerken@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.