dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Roger He <Hongbo.He@amd.com>
To: dri-devel@lists.freedesktop.org
Cc: hdegoede@redhat.com, Roger He <Hongbo.He@amd.com>,
	Christian.Koenig@amd.com, gregkh@linuxfoundation.org
Subject: [PATCH] staging: vboxvideo adapt to new TTM interface
Date: Thu, 28 Dec 2017 11:35:54 +0800	[thread overview]
Message-ID: <1514432154-9833-1-git-send-email-Hongbo.He@amd.com> (raw)

Fixes interface change done in the following commit:
eb86c98 drm/ttm: use an operation ctx for ttm_tt_populate in ttm_bo_driver

i missed this driver because it is in staging dir.

Signed-off-by: Roger He <Hongbo.He@amd.com>
---
 drivers/staging/vboxvideo/vbox_ttm.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/vboxvideo/vbox_ttm.c b/drivers/staging/vboxvideo/vbox_ttm.c
index 231c89e..55f14c9 100644
--- a/drivers/staging/vboxvideo/vbox_ttm.c
+++ b/drivers/staging/vboxvideo/vbox_ttm.c
@@ -213,9 +213,10 @@ static struct ttm_tt *vbox_ttm_tt_create(struct ttm_bo_device *bdev,
 	return tt;
 }
 
-static int vbox_ttm_tt_populate(struct ttm_tt *ttm)
+static int vbox_ttm_tt_populate(struct ttm_tt *ttm,
+				struct ttm_operation_ctx *ctx)
 {
-	return ttm_pool_populate(ttm);
+	return ttm_pool_populate(ttm, ctx);
 }
 
 static void vbox_ttm_tt_unpopulate(struct ttm_tt *ttm)
-- 
2.7.4

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

             reply	other threads:[~2017-12-28  3:36 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-28  3:35 Roger He [this message]
2017-12-28  4:23 ` [PATCH] staging: vboxvideo adapt to new TTM interface Chunming Zhou
2017-12-28 10:21   ` He, Roger
2018-01-02  2:15     ` He, Roger
2018-01-02  9:31       ` Christian König
  -- strict thread matches above, loose matches on Subject: below --
2017-11-24 10:32 [PATCH] staging: vboxvideo: " Christian König
2017-11-24 10:37 ` Greg KH
2017-11-24 12:53   ` Christian König
2017-11-24 13:05     ` Greg KH
2017-11-27 22:23 ` Alex Deucher
2017-11-24 10:29 Christian König
2017-11-24 10:31 ` Greg KH
2017-11-24 10:35   ` Christian König
2017-11-23 16:14 Christian König
2017-11-23 16:35 ` Hans de Goede

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=1514432154-9833-1-git-send-email-Hongbo.He@amd.com \
    --to=hongbo.he@amd.com \
    --cc=Christian.Koenig@amd.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=hdegoede@redhat.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox