<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>yeah, I'll take a deep look, we are not in hurry to submit those SRIOV patches, for the VA update part (if you mean CSA mappings) I'll pay attention on it, thanks
<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 face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>发件人:</b> Alex Deucher <alexdeucher@gmail.com><br>
<b>发送时间:</b> 2016年12月20日 7:38:10<br>
<b>收件人:</b> Christian König<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">On Mon, Dec 19, 2016 at 6:17 AM, Christian König<br>
<deathsimple@vodafone.de> wrote:<br>
> 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 closer<br>
> look at the patches.<br>
><br>
> I'm currently to busy with private issues, so I just briefly skimmed over<br>
> them, but still found some issues.<br>
><br>
> The VA update stuff seems incorrectly handled to me for example. You only<br>
> update the page tables once and then assume that everything stays as it is.<br>
><br>
<br>
I agree with all of Christian and Monk's comments. Please see my<br>
comments on the patches.<br>
<br>
Alex<br>
<br>
> Regards,<br>
> Christian.<br>
><br>
><br>
> Am 19.12.2016 um 08:13 schrieb Liu, Monk:<br>
>><br>
>> Sorry, NAK for the KIQ implement patches.<br>
>><br>
>> KIQ is just another compute queue, and each generation of compute queue<br>
>> initialization is different, so there is no need of a amdgpu_kiq.c file to<br>
>> 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<br>
>> is different (MQD descriptor as well as registers need programing ... ),<br>
>> please just align with the previous patch style in amd-sriov-4.6 for KIQ<br>
>> 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<br>
>> <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<br>
>> 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>
>> # 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>
> _______________________________________________<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>
</body>
</html>