summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2024-02-27 22:10:46 -0800
committerLucas De Marchi <lucas.demarchi@intel.com>2024-02-29 20:29:41 -0800
commit17c20e3b50c7fd03b7583d52f1a8b022dbd0750f (patch)
treec5e82d5471f5a5f271c5cadd10adb684d49cbf11 /tools/perf/scripts/python
parentd40c6c45fbe7aeb7e773b786b4ec010d5d40367d (diff)
downloadlinux-17c20e3b50c7fd03b7583d52f1a8b022dbd0750f.tar.gz
linux-17c20e3b50c7fd03b7583d52f1a8b022dbd0750f.zip
drm/xe/mocs: Move warn/assertion up
The warn-once in __init_mocs_table() to make sure there's an index set for unused entries is more a sanity check that should be done as the first thing in that function. The kunit test replicates the same check, so also move it up and turn it into a failure condition for the test. Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240228061048.3661978-4-lucas.demarchi@intel.com Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions