aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorJon Bloomfield <[email protected]>2018-08-01 09:45:50 -0700
committerJon Bloomfield <[email protected]>2019-11-05 11:37:54 -0800
commit435e8fc059dbe0eec823a75c22da2972390ba9e0 (patch)
tree17a5ec06632e3e96e0fd0d57255b87dd7b781376 /scripts/bpf_helpers_doc.py
parent4f7af1948abcb18b4772fe1bcd84d7d27d96258c (diff)
drm/i915: Allow parsing of unsized batches
In "drm/i915: Add support for mandatory cmdparsing" we introduced the concept of mandatory parsing. This allows the cmdparser to be invoked even when user passes batch_len=0 to the execbuf ioctl's. However, the cmdparser needs to know the extents of the buffer being scanned. Refactor the code to ensure the cmdparser uses the actual object size, instead of the incoming length, if user passes 0. 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]> Reviewed-by: Chris Wilson <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions