diff options
| author | Matthew Brost <[email protected]> | 2024-01-09 17:24:36 -0800 |
|---|---|---|
| committer | Matthew Brost <[email protected]> | 2024-01-10 15:11:22 -0800 |
| commit | 86f41f4333e31b62d143c5e38c0c58c85193c4c8 (patch) | |
| tree | acc7a31b1cd393304323d590ae525ac22345b618 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | 801e8c7ed6705bd34508f52376cdbb3fc374c921 (diff) | |
drm/xe: Add build on bug to assert page fault queue works
If PF_QUEUE_NUM_DW % PF_MSG_LEN_DW != 0 then the page fault queue logic
does not work when wrapping occurs. Add a build bug on to assert
PF_QUEUE_NUM_DW % PF_MSG_LEN_DW == 0 to enforce this restriction and
document the code.
v2:
- s/NUM_PF_QUEUE/PF_QUEUE_NUM_DW (Brian)
Cc: Lucas De Marchi <[email protected]>
Signed-off-by: Matthew Brost <[email protected]>
Reviewed-by: Lucas De Marchi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions