Skip to contentSkip to conversation

staging: vboxvideo adapt to new TTM interface

PATCH In review Roger He 3 participants 5 messages Dec 28, 2017 – Jan 2, 2018 Staging

lore
Share & tools
lore

Roger He

author
#0 lore raw

PATCH 1/1 staging: vboxvideo adapt to new TTM interface

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.

---
 drivers/staging/vboxvideo/vbox_ttm.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/staging/vboxvideo/vbox_ttm.c +3 -2
index 231c89e..55f14c9 100644
@@ -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)
Signature · 6 lines
2.7.4

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Reviewed-by on v1 1/1
#1 lore raw
Quoted 17 lines · Roger He

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.

---
  drivers/staging/vboxvideo/vbox_ttm.c | 5 +++--
  1 file changed, 3 insertions(+), 2 deletions(-)
drivers/staging/vboxvideo/vbox_ttm.c +0 -0
index 231c89e..55f14c9 100644
@@ -213,9 +213,10 @@ static struct ttm_tt *vbox_ttm_tt_create(struct ttm_bo_device *bdev,
  	return tt;
  }

drivers/staging/vboxvideo/vbox_ttm.c static struct ttm_tt *vbox_ttm_tt_create(struct ttm_bo_device *bdev, · line 222

Quoted 10 lines
drivers/staging/vboxvideo/vbox_ttm.c +3 -2
 
-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)

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

author Reviewed-by Chunming Zhou
#2 lore raw

Seems I have no permission to push the patch into amd-staging-drm-next. Needs Whitelisted.

http://git.amd.com:8080/#/c/124051/1
anyone can help?

Thanks
Roger(Hongbo.He)
-----Original Message-----
From: Zhou, David(ChunMing)
Sent: Thursday, December 28, 2017 12:24 PM
To: He, Roger <[email protected]>; [email protected]
Cc: [email protected]; [email protected]; Koenig, Christian <[email protected]>; Zhou, David(ChunMing) <[email protected]>
Subject: Re: [PATCH] staging: vboxvideo adapt to new TTM interface

Quoted 17 lines · Roger He

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.

---
  drivers/staging/vboxvideo/vbox_ttm.c | 5 +++--
  1 file changed, 3 insertions(+), 2 deletions(-)
drivers/staging/vboxvideo/vbox_ttm.c +0 -0
index 231c89e..55f14c9 100644
@@ -213,9 +213,10 @@ static struct ttm_tt *vbox_ttm_tt_create(struct ttm_bo_device *bdev,
  	return tt;
  }

drivers/staging/vboxvideo/vbox_ttm.c static struct ttm_tt *vbox_ttm_tt_create(struct ttm_bo_device *bdev, · line 222

Quoted 10 lines
drivers/staging/vboxvideo/vbox_ttm.c +3 -2
 
-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)

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

author Reviewed-by Chunming Zhou
#3 lore raw

+Alex

Do you know who can help about it?

Thanks
Roger(Hongbo.He)

-----Original Message-----
From: dri-devel [mailto:[email protected]] On Behalf Of He, Roger
Sent: Thursday, December 28, 2017 6:21 PM
To: [email protected]; Bridgman, John <[email protected]>; Gregory, Robert <[email protected]>; Khan, Tahir <[email protected]>; Shamim, Zafar <[email protected]>
Cc: [email protected]; Koenig, Christian <[email protected]>; [email protected]
Subject: RE: [PATCH] staging: vboxvideo adapt to new TTM interface

Seems I have no permission to push the patch into amd-staging-drm-next. Needs Whitelisted.

http://git.amd.com:8080/#/c/124051/1
anyone can help?

Thanks
Roger(Hongbo.He)
-----Original Message-----
From: Zhou, David(ChunMing)
Sent: Thursday, December 28, 2017 12:24 PM
To: He, Roger <[email protected]>; [email protected]
Cc: [email protected]; [email protected]; Koenig, Christian <[email protected]>; Zhou, David(ChunMing) <[email protected]>
Subject: Re: [PATCH] staging: vboxvideo adapt to new TTM interface

Quoted 17 lines · Roger He

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.

---
  drivers/staging/vboxvideo/vbox_ttm.c | 5 +++--
  1 file changed, 3 insertions(+), 2 deletions(-)
drivers/staging/vboxvideo/vbox_ttm.c +0 -0
index 231c89e..55f14c9 100644
@@ -213,9 +213,10 @@ static struct ttm_tt *vbox_ttm_tt_create(struct ttm_bo_device *bdev,
  	return tt;
  }

drivers/staging/vboxvideo/vbox_ttm.c static struct ttm_tt *vbox_ttm_tt_create(struct ttm_bo_device *bdev, · line 222

Quoted 10 lines
drivers/staging/vboxvideo/vbox_ttm.c +3 -2
 
-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)

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

Hi Roger,

you already pinged the right persons, just be a bit more patience about it.

They are probably just on vacation.

Regards,
Christian.

PS: Happy new year!

Am 02.01.2018 um 03:15 schrieb He, Roger:

Quoted 60 lines

+Alex

Do you know who can help about it?

Thanks
Roger(Hongbo.He)

-----Original Message-----
From: dri-devel [mailto:[email protected]] On Behalf Of He, Roger
Sent: Thursday, December 28, 2017 6:21 PM
To: [email protected]; Bridgman, John <[email protected]>; Gregory, Robert <[email protected]>; Khan, Tahir <[email protected]>; Shamim, Zafar <[email protected]>
Cc: [email protected]; Koenig, Christian <[email protected]>; [email protected]
Subject: RE: [PATCH] staging: vboxvideo adapt to new TTM interface

Seems I have no permission to push the patch into amd-staging-drm-next. Needs Whitelisted.

http://git.amd.com:8080/#/c/124051/1
anyone can help?

Thanks
Roger(Hongbo.He)
-----Original Message-----
From: Zhou, David(ChunMing)
Sent: Thursday, December 28, 2017 12:24 PM
To: He, Roger <[email protected]>; [email protected]
Cc: [email protected]; [email protected]; Koenig, Christian <[email protected]>; Zhou, David(ChunMing) <[email protected]>
Subject: Re: [PATCH] staging: vboxvideo adapt to new TTM interface

Quoted 26 lines · Roger He

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.

---
   drivers/staging/vboxvideo/vbox_ttm.c | 5 +++--
   1 file changed, 3 insertions(+), 2 deletions(-)
drivers/staging/vboxvideo/vbox_ttm.c +3 -2
index 231c89e..55f14c9 100644
@@ -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);
   }
 
Quoted 5 lines

drivers/staging/vboxvideo/vbox_ttm.c static struct ttm_tt *vbox_ttm_tt_create(struct ttm_bo_device *bdev, · line 222

Quoted 1 line
drivers/staging/vboxvideo/vbox_ttm.c +0 -0
   static void vbox_ttm_tt_unpopulate(struct ttm_tt *ttm)

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel