diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-06-05 12:41:07 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-06-05 17:16:07 +0300 |
commit | 83d317adfb4b27ec589b59548cf52e3b63a39fc9 (patch) | |
tree | 5ff266b086d8f1c7dea845f1532511c53ac8e98a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 744799850ef1cb053457a8a7652165e895ea26a0 (diff) | |
download | linux-83d317adfb4b27ec589b59548cf52e3b63a39fc9.tar.xz |
drm/i915/vma: Move the bind_count vs pin_count assertion to a helper
To spare ourselves a long line later, refactor the repeated check of
bind_count vs pin_count to a helper.
v2: Fix up the commentary!
Suggested-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Matthew Auld <matthew.william.auld@gmail.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180605094107.31367-1-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions