OSDN Git Service

intel: Don't tile-align pitch for untiled buffers.
authorEric Anholt <eric@anholt.net>
Tue, 2 Mar 2010 23:25:42 +0000 (15:25 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 2 Mar 2010 23:39:37 +0000 (15:39 -0800)
commit292a5d73a244cec8f4d1042c6fec6618333c1e0e
tree35d088cc2d6127475b7ca64409a2403811814f53
parentacbaff24e071dce0d23c057c9890f3aec732b8ec
intel: Don't tile-align pitch for untiled buffers.

This allows Mesa to use drm_intel_bo_alloc_tiled() for its tiled
buffers, since it makes its decision about pitch before telling
libdrm.  They happen to be the same choices for the tiled case.
intel/intel_bufmgr_gem.c