Lines Matching defs:pitch
258 /* returns alignment in pixels for pitch/height/depth and bytes for base */
274 /* technically tile_width/_height for pitch/height */
364 u32 height, height_align, pitch, pitch_align, depth_align;
381 /* pitch in pixels */
382 pitch = (G_028060_PITCH_TILE_MAX(track->cb_color_size[i]) + 1) * 8;
385 height = slice_tile_max / pitch;
423 if (!IS_ALIGNED(pitch, pitch_align)) {
424 dev_warn(p->dev, "%s:%d cb pitch (%d, 0x%x, %d) invalid\n",
425 __func__, __LINE__, pitch, pitch_align, array_mode);
440 tmp = r600_fmt_get_nblocksy(format, height) * r600_fmt_get_nblocksx(format, pitch) *
466 pitch, height, r600_fmt_get_nblocksx(format, pitch),
473 tmp = (height * pitch) >> 6;
476 tmp = S_028060_PITCH_TILE_MAX((pitch / 8) - 1) |
532 u32 pitch = 8192;
578 /* pitch in pixels */
579 pitch = (G_028000_PITCH_TILE_MAX(track->db_depth_size) + 1) * 8;
582 height = slice_tile_max / pitch;
614 if (!IS_ALIGNED(pitch, pitch_align)) {
615 dev_warn(p->dev, "%s:%d db pitch (%d, 0x%x, %d) invalid\n",
616 __func__, __LINE__, pitch, pitch_align, array_mode);
658 nbx = pitch;
1562 u32 height_align, pitch, pitch_align, depth_align;
1591 pitch = (G_038000_PITCH(word0) + 1) * 8;
1597 /* pitch in texels */
1647 if (!IS_ALIGNED(pitch, pitch_align)) {
1648 dev_warn(p->dev, "%s:%d tex pitch (%d, 0x%x, %d) invalid\n",
1649 __func__, __LINE__, pitch, pitch_align, G_038000_TILE_MODE(word0));
1682 dev_warn(p->dev, "alignments %d %d %d %jd\n", pitch, pitch_align, height_align, (uintmax_t)base_align);