Lines Matching full:pitch

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