diff options
author | Jon Bloomfield <[email protected]> | 2018-04-23 11:12:15 -0700 |
---|---|---|
committer | Jon Bloomfield <[email protected]> | 2019-11-05 11:37:54 -0800 |
commit | 0f2f39758341df70202ae1c42d5a1e4ee392b6d3 (patch) | |
tree | 27710d6a055f3a0d1f9ab4a10d943b9bce99df80 /scripts/bpf_helpers_doc.py | |
parent | 435e8fc059dbe0eec823a75c22da2972390ba9e0 (diff) |
drm/i915: Add gen9 BCS cmdparsing
For gen9 we enable cmdparsing on the BCS ring, specifically
to catch inadvertent accesses to sensitive registers
Unlike gen7/hsw, we use the parser only to block certain
registers. We can rely on h/w to block restricted commands,
so the command tables only provide enough info to allow the
parser to delineate each command, and identify commands that
access registers.
Note: This patch deliberately ignores checkpatch issues in
favour of matching the style of the surrounding code. We'll
correct the entire file in one go in a later patch.
v3: rebase (Mika)
v4: Add RING_TIMESTAMP registers to whitelist (Jon)
Signed-off-by: Jon Bloomfield <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: Dave Airlie <[email protected]>
Cc: Takashi Iwai <[email protected]>
Cc: Tyler Hicks <[email protected]>
Signed-off-by: Mika Kuoppala <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions