Re: 回复: 回复: 回复: 回复: [PATCH 2/4] drm/amdgpu: UVD avoid memory allocation during IB test

2021-09-10 Thread Christian König
, Xinhui; amd-gfx@lists.freedesktop.org 抄送: Deucher, Alexander 主题: Re: 回复: 回复: [PATCH 2/4] drm/amdgpu: UVD avoid memory allocation during IB test *sigh* yeah, you are probably right. Wouldn't be to simple if this would be easy, doesn't it? In this case you can also skip taking the reserv

Re: 回复: 回复: 回复: [PATCH 2/4] drm/amdgpu: UVD avoid memory allocation during IB test

2021-09-10 Thread Christian König
, Alexander 主题: Re: 回复: 回复: [PATCH 2/4] drm/amdgpu: UVD avoid memory allocation during IB test *sigh* yeah, you are probably right. Wouldn't be to simple if this would be easy, doesn't it? In this case you can also skip taking the reservation lock for the pre-allocated BO, since th

Re: 回复: 回复: [PATCH 2/4] drm/amdgpu: UVD avoid memory allocation during IB test

2021-09-10 Thread Christian König
*sigh* yeah, you are probably right. Wouldn't be to simple if this would be easy, doesn't it? In this case you can also skip taking the reservation lock for the pre-allocated BO, since there should absolutely be only one user at a time. Christian. Am 10.09.21 um 11:42 schrieb Pan, Xinhui: [

回复: 回复: 回复: 回复: [PATCH 2/4] drm/amdgpu: UVD avoid memory allocation during IB test

2021-09-10 Thread Pan, Xinhui
. 发件人: Koenig, Christian 发送时间: 2021年9月10日 19:10 收件人: Pan, Xinhui; amd-gfx@lists.freedesktop.org 抄送: Deucher, Alexander 主题: Re: 回复: 回复: 回复: [PATCH 2/4] drm/amdgpu: UVD avoid memory allocation during IB test Yeah, but that IB test should use the indirect submission through the scheduler

回复: 回复: 回复: [PATCH 2/4] drm/amdgpu: UVD avoid memory allocation during IB test

2021-09-10 Thread Pan, Xinhui
@lists.freedesktop.org 抄送: Deucher, Alexander 主题: Re: 回复: 回复: [PATCH 2/4] drm/amdgpu: UVD avoid memory allocation during IB test *sigh* yeah, you are probably right. Wouldn't be to simple if this would be easy, doesn't it? In this case you can also skip taking the reservation lock for the pre-al

回复: 回复: [PATCH 2/4] drm/amdgpu: UVD avoid memory allocation during IB test

2021-09-10 Thread Pan, Xinhui
[AMD Official Use Only] oh, god. uvd free handler submit delayed msg which depends on scheduler with reservation lock hold. This is not allowed as commit c8e42d57859d "drm/amdgpu: implement more ib pools (v2)" says Any jobs which schedule IBs without dependence on gpu scheduler should use DIREC