[Intel-gfx] [PATCH 3/3] drm/i915: Check that we do find forcewake domain on gen11+
Chris Wilson
chris at chris-wilson.co.uk
Fri Sep 13 15:25:49 UTC 2019
Quoting Mika Kuoppala (2019-09-13 15:16:52)
> By always requiring a valid forcewake domain, even
> FORCEWAKE_NONE, we can make assertions that accesses
> need to land on a valid domain and not go out of bounds.
So since we only look up restricted ranges in the fw_table, we could
just have a short selftest (intel_fw_table_check) to assert those ranges
are filled and we have no holes.
-Chris
More information about the Intel-gfx
mailing list