intel: Use dri_bo_get_tiling to get tiling mode of buffers we get from names.
authorEric Anholt <eric@anholt.net>
Tue, 14 Oct 2008 20:30:52 +0000 (13:30 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 27 Oct 2008 18:53:06 +0000 (11:53 -0700)
commitdd17cd600a25ad916185eaeec968563adbab76f9
tree69dbb4c252119f1bfef78a1a2c57acca9bad024c
parent2a877411dbe35abdd8c15fb4821d9232619d89cc
intel: Use dri_bo_get_tiling to get tiling mode of buffers we get from names.

Previously, we were trying to pass a name to the GEM GET_TILING_IOCTL,
which needs a handle, and failing.  None of our buffers were tiled yet, but
they will be at some point with DRI2 and UXA.
src/mesa/drivers/dri/intel/intel_regions.c