performance hot issues in amdgpu_cs_ib_vm_chunk
Submitted by baopeng
Assigned to Default DRI bug account
Link to original bug (#110481)
Description
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)<br>
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.