Re: [PATCH 1/2] drm/amdgpu: Fix a bug on flag table_freed

2021-05-31 Thread Christian König
Am 31.05.21 um 16:30 schrieb Eric Huang: On 2021-05-31 10:08 a.m., Christian König wrote: Am 30.05.21 um 20:29 schrieb Eric Huang: On 2021-05-30 12:54 p.m., Christian König wrote: Am 30.05.21 um 00:51 schrieb Eric Huang: table_freed will be always true when mapping a memory with size b

Re: [PATCH 1/2] drm/amdgpu: Fix a bug on flag table_freed

2021-05-31 Thread Eric Huang
On 2021-05-31 10:08 a.m., Christian König wrote: Am 30.05.21 um 20:29 schrieb Eric Huang: On 2021-05-30 12:54 p.m., Christian König wrote: Am 30.05.21 um 00:51 schrieb Eric Huang: table_freed will be always true when mapping a memory with size bigger than 2MB. The problem is page table's

Re: [PATCH 1/2] drm/amdgpu: Fix a bug on flag table_freed

2021-05-31 Thread Christian König
Am 30.05.21 um 20:29 schrieb Eric Huang: On 2021-05-30 12:54 p.m., Christian König wrote: Am 30.05.21 um 00:51 schrieb Eric Huang: table_freed will be always true when mapping a memory with size bigger than 2MB. The problem is page table's entries are always existed, but existing mapping d

Re: [PATCH 1/2] drm/amdgpu: Fix a bug on flag table_freed

2021-05-30 Thread Eric Huang
On 2021-05-30 12:54 p.m., Christian König wrote: Am 30.05.21 um 00:51 schrieb Eric Huang: table_freed will be always true when mapping a memory with size bigger than 2MB. The problem is page table's entries are always existed, but existing mapping depends on page talbe's bo, so using a check

Re: [PATCH 1/2] drm/amdgpu: Fix a bug on flag table_freed

2021-05-30 Thread Christian König
Am 30.05.21 um 00:51 schrieb Eric Huang: table_freed will be always true when mapping a memory with size bigger than 2MB. The problem is page table's entries are always existed, but existing mapping depends on page talbe's bo, so using a check of page table's bo existed will resolve the issue.

[PATCH 1/2] drm/amdgpu: Fix a bug on flag table_freed

2021-05-29 Thread Eric Huang
table_freed will be always true when mapping a memory with size bigger than 2MB. The problem is page table's entries are always existed, but existing mapping depends on page talbe's bo, so using a check of page table's bo existed will resolve the issue. Signed-off-by: Eric Huang --- drivers/gpu/