diff options
| author | Lucas De Marchi <[email protected]> | 2024-02-27 22:10:46 -0800 |
|---|---|---|
| committer | Lucas De Marchi <[email protected]> | 2024-02-29 20:29:41 -0800 |
| commit | 17c20e3b50c7fd03b7583d52f1a8b022dbd0750f (patch) | |
| tree | c5e82d5471f5a5f271c5cadd10adb684d49cbf11 /tools/perf/scripts/python | |
| parent | d40c6c45fbe7aeb7e773b786b4ec010d5d40367d (diff) | |
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 <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Lucas De Marchi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions