diff options
author | Chunming Zhou | 2018-02-08 00:35:26 -0600 |
---|---|---|
committer | Chunming Zhou | 2018-02-08 00:35:47 -0600 |
commit | d07be74a4afe9d22f987aca7e8e84cccaa210248 (patch) | |
tree | 612e5d23c3eed5d07d63bcedf2d16337e552f38f /amdgpu/amdgpu_internal.h | |
parent | bde3b9b689407eadd1cb0d9348a0fd7906c880e2 (diff) | |
download | external-libdrm-d07be74a4afe9d22f987aca7e8e84cccaa210248.tar.gz external-libdrm-d07be74a4afe9d22f987aca7e8e84cccaa210248.tar.xz external-libdrm-d07be74a4afe9d22f987aca7e8e84cccaa210248.zip |
amdgpu: fix inefficient vamgr algorithm
issue: UMD allocates top 4GB, but don't do anything, just reserve top 4GB space,
but the performance of VP13 drops from 162fps to 99fps.
root cause:
our va hole list of vamgr is too long by time going.
fix:
reusing old hole as much as possible can make the list shortest.
result:
performance recovers as non-list path, next patch will remove non-list code path.
Signed-off-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'amdgpu/amdgpu_internal.h')
0 files changed, 0 insertions, 0 deletions