diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-01-15 12:25:09 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-01-15 14:01:58 +0000 |
commit | 72ff2b8d5f2dcb09bfa37b902c23311eec426496 (patch) | |
tree | fe64c72cde6f57021207aa1035bc16aeb52cb2e4 /drivers/gpu/drm/i915/intel_gvt.c | |
parent | a267ab8dec061c5a379a75a4c4f8206c63d87db9 (diff) |
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
Diffstat (limited to 'drivers/gpu/drm/i915/intel_gvt.c')
0 files changed, 0 insertions, 0 deletions