drm/i915/gtt: Mark ALL_ENGINES as dirty on ppGTT modification
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 5 Mar 2019 18:03:31 +0000 (18:03 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 5 Mar 2019 18:20:05 +0000 (18:20 +0000)
commitfb251a72d630950fb1a6f4cccff99bffe5aece8b
tree0f977e443ccfbfb2b2270005777112e8477920dc
parent8a68d464366efb5b294fa11ccf23b51306cc2695
drm/i915/gtt: Mark ALL_ENGINES as dirty on ppGTT modification

Small simplification to set all bits in the dirty mask rather than
lookup the exact mask of populated engines. The bits for the engines
that do not exist are unused and so can safely set and then ignored.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.auld@intel.com>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190305180332.30900-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_gtt.c