diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2015-05-17 08:53:45 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2015-05-17 12:30:33 +0100 |
commit | 335ac8742e9eadcdf8f087b24f84c7df0fda31c0 (patch) | |
tree | ccd0b1048e8a988d16445c5b47a83509dd102261 /src/sna/sna_trapezoids_precise.c | |
parent | a16a7e36ca3b22af2978695a57c2f2e9250529a7 (diff) |
sna: Wrap CPU access for composite operations with sigtrap
Anytime we access a mmap() we need to be prepared for the kernel to send
us a SIGBUS, but we were missing a few sigtraps around calls to
pixman_fill and pixman_blt.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_trapezoids_precise.c')
-rw-r--r-- | src/sna/sna_trapezoids_precise.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/sna_trapezoids_precise.c b/src/sna/sna_trapezoids_precise.c index f1532d31..c9838528 100644 --- a/src/sna/sna_trapezoids_precise.c +++ b/src/sna/sna_trapezoids_precise.c @@ -2386,6 +2386,7 @@ tor_blt_lerp32(struct sna *sna, if (coverage == 0) return; + sigtrap_assert_active(); ptr += box->y1 * stride + box->x1; h = box->y2 - box->y1; |