diff options
author | 2014-03-02 00:56:21 +0100 | |
---|---|---|
committer | 2014-03-03 10:57:19 +0100 | |
commit | c9b76548899cde2e729e3bca015d7e78ec5baad7 (patch) | |
tree | e7be2b702803f238bfa5e4406fa9ed8e70f9351f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/radeon: add buffers to the LRU list from smallest to largest (diff) | |
download | linux-dev-c9b76548899cde2e729e3bca015d7e78ec5baad7.tar.xz linux-dev-c9b76548899cde2e729e3bca015d7e78ec5baad7.zip |
drm/radeon: validate relocations in the order determined by userspace v3
Userspace should set the first 4 bits of drm_radeon_cs_reloc::flags to
a number from 0 to 15. The higher the number, the higher the priority,
which means a buffer with a higher number will be validated sooner.
The old behavior is preserved: Buffers used for write are prioritized over
read-only buffers if the userspace doesn't set the number.
v2: add buffers to buckets directly, then concatenate them
v3: use a stable sort
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions