sna/gen2,3: Replace stale bo replacement with simple asserts
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 10 Dec 2013 10:25:56 +0000 (10:25 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 10 Dec 2013 12:49:24 +0000 (12:49 +0000)
commit628b68f3a07ee619642521e0992eee81b9edd76f
tree307bdfde90d520a2dbeba003fe2552e0b5d70070
parent6c91ec29807e96682c2e752744b60c06bf3f02d9
sna/gen2,3: Replace stale bo replacement with simple asserts

The surface creation routines should ensure that the minimum pitch
alignments are met. However, when rendering to a CPU bo, the pitch is
not under our control so we need to be more careful.

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