Quoting Stuart Summers (2019-08-07 21:55:55)
> User applications might need to verify hardware configuration
> of the MOCS entries. To facilitate this debug, add a new debugfs
> entry to allow a dump of the MOCS state to verify expected values
> are set by i915.

User applications + debugfs? It's not an avenue for ABI.

If you really want to provide the settings back to userspace, look at
something like an i915_query or sysfs.

Or if you just mean igt, then add a Testcase:

If you just need to validate that we are setting and restoring them,
selftests.

If you need them for debugging errors, add them to the error state.
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to