<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>That explains the merge conflict that surprised me :)</p>
<p><br>
</p>
<p>Thanks,</p>
<p>Andrey<br>
</p>
<br>
<div class="moz-cite-prefix">On 03/15/2018 12:18 PM, Deucher,
Alexander wrote:<br>
</div>
<blockquote type="cite"
cite="mid:BN6PR12MB1652922737FD3A6CBA7EA323F7D00@BN6PR12MB1652.namprd12.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size: 12pt; color:
rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif,
"EmojiFont", "Apple Color Emoji",
"Segoe UI Emoji", NotoColorEmoji, "Segoe UI
Symbol", "Android Emoji", EmojiSymbols;"
dir="ltr">
<p style="margin-top:0;margin-bottom:0">For the series:<br>
</p>
<p style="margin-top:0;margin-bottom:0">Reviewed-by: Alex
Deucher <a class="moz-txt-link-rfc2396E" href="mailto:alexander.deucher@amd.com"><alexander.deucher@amd.com></a><br>
</p>
I think Rex already applied the second one.<br>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
color="#000000" face="Calibri, sans-serif"><b>From:</b>
amd-gfx <a class="moz-txt-link-rfc2396E" href="mailto:amd-gfx-bounces@lists.freedesktop.org"><amd-gfx-bounces@lists.freedesktop.org></a> on
behalf of Andrey Grodzovsky
<a class="moz-txt-link-rfc2396E" href="mailto:andrey.grodzovsky@amd.com"><andrey.grodzovsky@amd.com></a><br>
<b>Sent:</b> Thursday, March 15, 2018 12:15 PM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:amd-gfx@lists.freedesktop.org">amd-gfx@lists.freedesktop.org</a>;
<a class="moz-txt-link-abbreviated" href="mailto:ckoenig.leichtzumerken@gmail.com">ckoenig.leichtzumerken@gmail.com</a>; Zhu, Rex<br>
<b>Cc:</b> Grodzovsky, Andrey<br>
<b>Subject:</b> [PATCH v2 1/2] drm/amdgpu: Improve
documentation of bo_ptr in amdgpu_bo_create_kernel</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span
style="font-size:11pt;">
<div class="PlainText">and amdgpu_bo_create_reserved.<br>
<br>
Signed-off-by: Andrey Grodzovsky
<a class="moz-txt-link-rfc2396E" href="mailto:andrey.grodzovsky@amd.com"><andrey.grodzovsky@amd.com></a><br>
---<br>
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 8
++++++--<br>
1 file changed, 6 insertions(+), 2 deletions(-)<br>
<br>
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c<br>
index 48e0115..ac1fa33 100644<br>
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c<br>
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c<br>
@@ -171,13 +171,15 @@ void
amdgpu_ttm_placement_from_domain(struct amdgpu_bo
*abo, u32 domain)<br>
* @size: size for the new BO<br>
* @align: alignment for the new BO<br>
* @domain: where to place it<br>
- * @bo_ptr: resulting BO<br>
+ * @bo_ptr: used to initialize BOs in structures<br>
* @gpu_addr: GPU addr of the pinned BO<br>
* @cpu_addr: optional CPU address mapping<br>
*<br>
* Allocates and pins a BO for kernel internal use,
and returns it still<br>
* reserved.<br>
*<br>
+ * Note: For bo_ptr new BO is only created if bo_ptr
points to NULL.<br>
+ *<br>
* Returns 0 on success, negative error code
otherwise.<br>
*/<br>
int amdgpu_bo_create_reserved(struct amdgpu_device
*adev,<br>
@@ -240,12 +242,14 @@ int
amdgpu_bo_create_reserved(struct amdgpu_device *adev,<br>
* @size: size for the new BO<br>
* @align: alignment for the new BO<br>
* @domain: where to place it<br>
- * @bo_ptr: resulting BO<br>
+ * @bo_ptr: used to initialize BOs in structures<br>
* @gpu_addr: GPU addr of the pinned BO<br>
* @cpu_addr: optional CPU address mapping<br>
*<br>
* Allocates and pins a BO for kernel internal use.<br>
*<br>
+ * Note: For bo_ptr new BO is only created if bo_ptr
points to NULL.<br>
+ *<br>
* Returns 0 on success, negative error code
otherwise.<br>
*/<br>
int amdgpu_bo_create_kernel(struct amdgpu_device
*adev,<br>
-- <br>
2.7.4<br>
<br>
_______________________________________________<br>
amd-gfx mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:amd-gfx@lists.freedesktop.org">amd-gfx@lists.freedesktop.org</a><br>
<a
href="https://lists.freedesktop.org/mailman/listinfo/amd-gfx"
id="LPlnk582111" previewremoved="true"
moz-do-not-send="true">https://lists.freedesktop.org/mailman/listinfo/amd-gfx</a><br>
</div>
</span></font></div>
</div>
</div>
</blockquote>
<br>
</body>
</html>