Lines Matching defs:height
248 /* returns alignment in pixels for pitch/height/depth and bytes for base */
264 /* technically tile_width/_height for pitch/height */
354 u32 height, height_align, pitch, pitch_align, depth_align;
374 height = slice_tile_max / pitch;
375 if (height > 8192)
376 height = 8192;
400 if (height > 7)
401 height &= ~0x7;
417 if (!IS_ALIGNED(height, height_align)) {
418 dev_warn(p->dev, "%s:%d cb height (%d, 0x%x, %d) invalid\n",
419 __func__, __LINE__, height, height_align, array_mode);
429 tmp = r600_fmt_get_nblocksy(format, height) * r600_fmt_get_nblocksx(format, pitch) *
445 /* it rounds up height too far for slice tile max but the BO is smaller */
455 pitch, height, r600_fmt_get_nblocksx(format, pitch),
456 r600_fmt_get_nblocksy(format, height),
462 tmp = (height * pitch) >> 6;
522 u32 height = 8192;
570 height = slice_tile_max / pitch;
571 if (height > 8192)
572 height = 8192;
591 height &= ~0x7;
607 if (!IS_ALIGNED(height, height_align)) {
608 dev_warn(p->dev, "%s:%d db height (%d, 0x%x, %d) invalid\n",
609 __func__, __LINE__, height, height_align, array_mode);
647 nby = height;
1313 /* force 8x8 htile width and height */
1413 unsigned width, height, depth, size;
1430 height = r600_mip_minify(h0, i);
1431 nby = r600_fmt_get_nblocksy(format, height);
1560 /* XXX check height as well... */