]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit113557d5184e6e7360cd379a86020df23aacd694
tree0f977e443ccfbfb2b2270005777112e8477920dc
parent54556350899cd5f74f66c0d966975e376987b951
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