diff options
| author | Michal Wajdeczko <[email protected]> | 2018-10-17 19:52:45 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2018-10-18 10:20:08 +0100 |
| commit | 1a49f537c5046fb15f3f72f89c51180646dd7ae8 (patch) | |
| tree | bc20bb86302e6ebf24407781cd5670a8c42db6f8 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | bbb8a9d7e000c906f490780fab1c64faa1d08604 (diff) | |
drm/i915/huc: Normalize HuC status returned by I915_PARAM_HAS_HUC
In response for I915_PARAM_HAS_HUC we are returning value that
indicates if HuC firmware was loaded and verified. However, our
previously used positive value was based on specific register bit
which is about to change on future platform. Let's normalize our
return values to 0 and 1 before clients will start to use Gen9 value.
v2: use bool for implicit conversion (Chris)
Signed-off-by: Michal Wajdeczko <[email protected]>
Cc: Michal Winiarski <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Haihao Xiang <[email protected]>
Reviewed-by: MichaĆ Winiarski <[email protected]> #1
Cc: Chris Wilson <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions