summaryrefslogtreecommitdiff
path: root/tests/kms_rotation_crc.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-04-01 13:16:57 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2019-04-02 15:12:54 +0100
commit995274436bcc9c14256027e0f136e16456b25ea3 (patch)
treecaf434f50b613cf8f095f5db18433777404a0b63 /tests/kms_rotation_crc.c
parentdc36fa26305b832686616f3fadb1ef05f10f0f8f (diff)
i915/gem_pread,gem_pwrite: Exercise using ourselves as the buffer
If we caused a fault on a GEM buffer while in the middle of trying to write/read into that buffer, we could conceivably deadlock (e.g. recursing on struct_mutex if we are not careful). Exercise these cases by supplying a fresh mmap to pread/pwrite in both non-overlapping and overlapping copies. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Diffstat (limited to 'tests/kms_rotation_crc.c')
0 files changed, 0 insertions, 0 deletions