intel/isl: Add a debug option to override modifer list
Developers can limit supported modifers to a single modifier provided in INTEL_MODIFIER_OVERRIDE environment variable for debug purposes. For example, setting it makes Vulkan CTS only run modifier tests against the specified modifier instead of all modifiers in production code. Signed-off-by: Jianxun Zhang <jianxun.zhang@intel.com> Reviewed-by: Nanley Chery <nanley.g.chery@intel.com> Acked-by: Rohan Garg <rohan.garg@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25651>
This commit is contained in:
parent
8f8cde4c60
commit
3b885926e9
2 changed files with 16 additions and 0 deletions
|
|
@ -703,6 +703,14 @@ Intel driver environment variables
|
|||
|
||||
``INTEL_MEASURE=cpu {workload}``
|
||||
|
||||
.. envvar:: INTEL_MODIFIER_OVERRIDE
|
||||
|
||||
if set, determines the single DRM modifier reported back to (Vulkan)
|
||||
applications, in order to make selecting modifier deterministic
|
||||
between Vulkan driver and applications. The value can be one of the
|
||||
supported modifiers on a platform, but other values are also acceptable
|
||||
for debug purposes.
|
||||
|
||||
.. envvar:: INTEL_NO_HW
|
||||
|
||||
if set to 1, true or yes, prevents batches from being submitted to the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue