diff options
| author | Tomasz Lis <[email protected]> | 2019-01-23 16:06:00 -0800 |
|---|---|---|
| committer | Lucas De Marchi <[email protected]> | 2019-01-24 19:34:34 -0800 |
| commit | 66f996052f955fe338c7cd6ca2099cfdf396b2bf (patch) | |
| tree | 7a354c5943586c830f58ce60a9148ba7cc4f3d43 /tools/perf/scripts/python/syscall-counts.py | |
| parent | d7a43c3ba607207bc51d859e3bd450047519a06f (diff) | |
drm/i915/skl: Rework MOCS tables to keep common part in a define
The MOCS tables are going to be very similar across platforms.
To reduce the amount of copied code, this patch rips the common part and
puts it into a definition valid for all gen9 platforms.
v2: Made defines for or-ing flags. Renamed macros from MOCS_TABLE
to MOCS_ENTRIES. (Joonas)
v3 (Lucas):
- Fix indentation
- Rebase on rework done by additional patch
- Remove define for or-ing flags as it made the table more complex by
requiring zeroed values to be passed
- Do not embed comma in the macro, so to treat that just as another
item and please source code formatting tools
Signed-off-by: Tomasz Lis <[email protected]>
Suggested-by: Lucas De Marchi <[email protected]>
Signed-off-by: Lucas De Marchi <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions