diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-01-15 15:25:09 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2020-02-10 15:45:43 +0300 |
commit | 1b5af53781654706e1a4ee479274f8a3e3f74c01 (patch) | |
tree | df5830355b46e32177c3106a75cd5db28934fdd6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1fdea0cb0dba0d42ffcfb619b349c1a2afa2492e (diff) | |
download | linux-1b5af53781654706e1a4ee479274f8a3e3f74c01.tar.xz |
drm/i915/gt: Use the BIT when checking the flags, not the index
In converting over to using set_bit()/test_bit(), when manually
inspecting the rq->fence.flags, we need to use BIT().
Fixes: e1c31fb5dde3 ("drm/i915: Merge i915_request.flags with i915_request.fence.flags")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200115122509.2673075-1-chris@chris-wilson.co.uk
(cherry picked from commit 72ff2b8d5f2dcb09bfa37b902c23311eec426496)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions