sna: Assert that the pixmap pitch is initialised before use
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 11 Mar 2014 10:44:52 +0000 (10:44 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 11 Mar 2014 10:44:52 +0000 (10:44 +0000)
commit8c5593037f31159532da992ae3b503c3b4a42f8e
treeddfaa016cbaf12e466b3677c3f9b551d82a3aea0
parentdd1ff3230292a31d366c96b97711d7df97362093
sna: Assert that the pixmap pitch is initialised before use

This is a sanity check that the pixmap is mapped for use by the CPU
prior to us actually using it.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/sna_accel.c
src/sna/sna_blt.c