Lines Matching refs:pitch
117 * On some chips, pitch width has to be a power of two tile width, so
121 intel_get_fence_pitch(intel_screen_private *intel, unsigned long pitch,
128 return pitch;
132 return ALIGN(pitch, tile_width);
135 for (i = tile_width; i < pitch; i <<= 1) ;
199 int pitch, size;
203 pitch = (w * bpp + 7) / 8;
204 pitch = ALIGN(pitch, 64);
205 size = pitch * ALIGN (h, 2);
210 if (pitch > KB(8))
214 if (pitch < 256)
232 pitch = (w * bpp + 7) / 8;
233 if (!(usage & INTEL_CREATE_PIXMAP_DRI2) && pitch <= 256)
248 ALIGN(pitch, 512),
267 *stride = ALIGN(pitch, 256);