Bug ID | 110481 |
---|---|
Summary | performance hot issues in amdgpu_cs_ib_vm_chunk |
Product | DRI |
Version | DRI git |
Hardware | Other |
OS | All |
Status | NEW |
Severity | normal |
Priority | medium |
Component | DRM/AMDgpu |
Assignee | dri-devel@lists.freedesktop.org |
Reporter | baopeng88_com@163.com |
We have encountered performance hot issues in vce module. Cpu occupancy rate has been in the alloc_vmap_area function. We found that calling the alloc_vmap_area function mainly occurs in the amdgpu_cs_ib_vm_chunk function. So we removed the main loop judgment logic of amdgpu_cs_ib_vm_chunk. as follows . - if (p->ring->funcs->parse_cs || p->ring->funcs->patch_cs_in_place) { + if (0) If we don't delete, vce will be very slow. Is this the fundamental way to solve the problem? Or there are other ways to solve the problem? 3q very much.