<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - performance hot issues in amdgpu_cs_ib_vm_chunk"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=110481">110481</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>performance hot issues in amdgpu_cs_ib_vm_chunk
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>DRI git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/AMDgpu
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>baopeng88_com@163.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>