kiq->eop_obj won't allowed to be freed until GFX finish, so we still better unmap this object as long as we don't need to access it via CPU
________________________________ 发件人: amd-gfx <amd-gfx-boun...@lists.freedesktop.org> 代表 zhoucm1 <david1.z...@amd.com> 发送时间: 2016年12月28日 10:31:52 收件人: Yu, Xiangliang; amd-gfx@lists.freedesktop.org 抄送: Liu, Monk 主题: Re: [V2 1/1] drm/amdgpu/gfx8: add support kernel interface queue(KIQ) On 2016年12月28日 10:27, Yu, Xiangliang wrote: > + > >+ amdgpu_bo_kunmap(kiq->eop_obj); > >+ I see it is in many places, which is don't need I think, amdgpu_bo_free_kernel will handle it if I'm correct. Regards, David zhou _______________________________________________ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx