diff options
author | Michał Winiarski <[email protected]> | 2017-09-28 20:39:01 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2017-09-29 12:46:08 +0100 |
commit | 097a94815fb61ba4f184b3efd8f4e158116956d0 (patch) | |
tree | e194a7ec04eaf8f2146eb39da3499f4e1171c6ea /lib/mpi/mpiutil.c | |
parent | 7d1ea609f67a7d17c287ffdc008c79e0e91bc581 (diff) |
drm/i915/execlists: Cache the last priolist lookup
Avoid the repeated rbtree lookup for each request as we unwind them by
tracking the last priolist.
v2: Fix up my unhelpful suggestion of using default_priolist.
Signed-off-by: Michał Winiarski <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions