Lines Matching refs:pitch
78 unsigned int pitch;
310 static void cirrus_pitch_set(struct cirrus_device *cirrus, unsigned int pitch)
314 /* Program the pitch */
315 cr13 = pitch / 8;
318 /* Enable extended blanking and pitch bits, and enable full memory */
320 cr1b |= (pitch >> 7) & 0x10;
321 cr1b |= (pitch >> 6) & 0x40;
351 unsigned int pitch;
365 pitch = cirrus_pitch(fb);
368 if (pitch > CIRRUS_MAX_PITCH)
370 else if (pitch * fb->height > CIRRUS_VRAM_SIZE)
374 new_primary_plane_state->pitch = pitch;
389 unsigned int pitch = primary_plane_state->pitch;
406 if (old_primary_plane_state->pitch != pitch)
407 cirrus_pitch_set(cirrus, pitch);
411 unsigned int offset = drm_fb_clip_offset(pitch, format, &damage);
414 drm_fb_blit(&dst, &pitch, format->format, shadow_plane_state->data, fb,
446 new_primary_plane_state->pitch = primary_plane_state->pitch;
615 uint64_t pitch = drm_format_info_min_pitch(format, 0, mode->hdisplay);
617 if (pitch * mode->vdisplay > CIRRUS_VRAM_SIZE)