Currently drm-buddy does not have full knowledge of continuous memory.
Lets consider scenario below.
order 1:L R
order 0: LL LR RL RR
for order 1 allocation, it can offer L or R or LR+RL.
For now, we only implement L or R case for continuous memory allocation.
So
Am 26.11.22 um 06:25 schrieb Luben Tuikov:
Fix minmax compilation error by using the correct constant and correct integer
suffix.
Cc: James Zhu
Cc: Felix Kuehling
Fixes: 58170a7a002ad6 ("drm/amdgpu: fix stall on CPU when allocate large system
memory")
Signed-off-by: Luben Tuikov
Blocks are not guarnteed to be in ascending order.
Signed-off-by: xinhui pan
---
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c | 21
1 file changed, 8 insertions(+), 13 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
Currently drm-buddy does not have full knowledge of continuous memory.
Lets consider scenario below.
order 1:L R
order 0: LL LR RL RR
for order 1 allocation, it can offer L or R or LR+RL.
For now, we only implement L or R case for continuous memory allocation.
So
On 11/25/2022 8:05 AM, Wang, Yang(Kevin) wrote:
[AMD Official Use Only - General]
-邮件原件-
发件人: Paneer Selvam, Arunpravin
发送时间: 2022年11月24日 22:57
收件人: Christian König ; Wang, Yang(Kevin)
; Koenig, Christian ;
amd-gfx@lists.freedesktop.org
抄送: Deucher, Alexander ; Zhang, Hawking