<html>
<head>
<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>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p><br>
</p>
<meta content="text/html; charset=UTF-8">
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
Hi Christian,
<p><br>
</p>
<p>the CSA VA update should be correct, we pin it after it allocated per device during init stage, and we map it upon each process creates their vm page tables,
<br>
</p>
<p><br>
</p>
<p>since this CSA is pined, I assume there is no need to validate it prior to submission
<br>
</p>
<p><br>
</p>
<p>please correct me if I missed something <br>
</p>
<p><br>
</p>
<p>BR Monk<br>
</p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>发件人:</b> amd-gfx <amd-gfx-bounces@lists.freedesktop.org> 代表 Christian König <deathsimple@vodafone.de><br>
<b>发送时间:</b> 2016年12月19日 19:17:38<br>
<b>收件人:</b> Liu, Monk; amd-gfx@lists.freedesktop.org<br>
<b>主题:</b> Re: 转发: [PATCH 02/23] drm/amdgpu: add kiq into compiling</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Yeah, agree totally with Monk here.<br>
<br>
If you find that you need some KIQ helpers which are independent of the <br>
hardware generation you can put them into amdgpu_kiq.c.<br>
<br>
Monk, David or maybe even Michel and Nicolai could you guys take a <br>
closer look at the patches.<br>
<br>
I'm currently to busy with private issues, so I just briefly skimmed <br>
over them, but still found some issues.<br>
<br>
The VA update stuff seems incorrectly handled to me for example. You <br>
only update the page tables once and then assume that everything stays <br>
as it is.<br>
<br>
Regards,<br>
Christian.<br>
<br>
Am 19.12.2016 um 08:13 schrieb Liu, Monk:<br>
> Sorry, NAK for the KIQ implement patches.<br>
><br>
> KIQ is just another compute queue, and each generation of compute queue initialization is different, so there is no need of a amdgpu_kiq.c file to cover the function of kiq,<br>
><br>
> Kiq is good enough to be in each gfx_x_x.c file .e.g :<br>
> KIQ for VI is in gfx_v8_0.c<br>
> And KIQ for AI is in gfx_v9_0.c<br>
><br>
> Most important is that the "queue_init" routine of above two chips on KIQ is different (MQD descriptor as well as registers need programing ... ), please just align with the previous patch style in amd-sriov-4.6 for KIQ part<br>
><br>
> BR Monk<br>
><br>
> -----邮件原件-----<br>
> 发件人: Yu, Xiangliang<br>
> 发送时间: Sunday, December 18, 2016 9:47 AM<br>
> 收件人: dl.SRDC_SW_GPUVirtualization<br>
> 主题: FW: [PATCH 02/23] drm/amdgpu: add kiq into compiling<br>
><br>
><br>
><br>
> -----Original Message-----<br>
> From: Xiangliang Yu [<a href="mailto:Xiangliang.Yu@amd.com">mailto:Xiangliang.Yu@amd.com</a>]<br>
> Sent: Sunday, December 18, 2016 12:16 AM<br>
> To: amd-gfx@lists.freedesktop.org; dl.SRDC_SW_GPUVirtualization <dl.SRDC_SW_GPUVirtualization@amd.com><br>
> Cc: Yu, Xiangliang <Xiangliang.Yu@amd.com><br>
> Subject: [PATCH 02/23] drm/amdgpu: add kiq into compiling<br>
><br>
> Add support KIQ in Makefile to make it into module.<br>
><br>
> Signed-off-by: Xiangliang Yu <Xiangliang.Yu@amd.com><br>
> ---<br>
> drivers/gpu/drm/amd/amdgpu/Makefile | 2 +-<br>
> 1 file changed, 1 insertion(+), 1 deletion(-)<br>
><br>
> diff --git a/drivers/gpu/drm/amd/amdgpu/Makefile b/drivers/gpu/drm/amd/amdgpu/Makefile<br>
> index dd0b6db..635ff94 100644<br>
> --- a/drivers/gpu/drm/amd/amdgpu/Makefile<br>
> +++ b/drivers/gpu/drm/amd/amdgpu/Makefile<br>
> @@ -30,7 +30,7 @@ amdgpu-y += amdgpu_device.o amdgpu_kms.o \<br>
> atombios_encoders.o amdgpu_sa.o atombios_i2c.o \<br>
> amdgpu_prime.o amdgpu_vm.o amdgpu_ib.o amdgpu_pll.o \<br>
> amdgpu_ucode.o amdgpu_bo_list.o amdgpu_ctx.o amdgpu_sync.o \<br>
> - amdgpu_gtt_mgr.o amdgpu_vram_mgr.o<br>
> + amdgpu_gtt_mgr.o amdgpu_vram_mgr.o amdgpu_kiq.o<br>
> <br>
> # add asic specific block<br>
> amdgpu-$(CONFIG_DRM_AMDGPU_CIK)+= cik.o cik_ih.o kv_smc.o kv_dpm.o \<br>
<br>
<br>
_______________________________________________<br>
amd-gfx mailing list<br>
amd-gfx@lists.freedesktop.org<br>
<a href="https://lists.freedesktop.org/mailman/listinfo/amd-gfx">https://lists.freedesktop.org/mailman/listinfo/amd-gfx</a><br>
</div>
</span></font></div>
</body>
</html>