Home
last modified time | relevance | path

Searched refs:pitch_align (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/gpu/drm/loongson/
H A Dloongson_device.c37 .pitch_align = 256,
69 .pitch_align = 64,
H A Dlsdc_gem.c219 pitch = ALIGN(pitch, descp->pitch_align); in lsdc_dumb_create()
H A Dlsdc_drv.h62 u32 pitch_align; /* CRTC DMA alignment constraint */ member
H A Dlsdc_crtc.c765 if (pitch % descp->pitch_align) { in lsdc_crtc_mode_valid()
767 descp->pitch_align, pitch); in lsdc_crtc_mode_valid()
/linux/drivers/gpu/drm/radeon/
H A Dr600_cs.c249 u32 *pitch_align, in r600_get_array_mode_alignment() argument
264 *pitch_align = 1; /* tile_width */ in r600_get_array_mode_alignment()
270 *pitch_align = max((u32)64, (u32)(values->group_size / values->blocksize)); in r600_get_array_mode_alignment()
276 *pitch_align = max((u32)tile_width, in r600_get_array_mode_alignment()
284 *pitch_align = max((u32)macro_tile_width * tile_width, in r600_get_array_mode_alignment()
290 (*pitch_align) * values->blocksize * (*height_align) * values->nsamples); in r600_get_array_mode_alignment()
353 u32 height, height_align, pitch, pitch_align, depth_align; in r600_cs_track_validate_cb() local
386 &pitch_align, &height_align, &depth_align, &base_align)) { in r600_cs_track_validate_cb()
411 if (!IS_ALIGNED(pitch, pitch_align)) { in r600_cs_track_validate_cb()
413 __func__, __LINE__, pitch, pitch_align, array_mode); in r600_cs_track_validate_cb()
[all …]
/linux/drivers/gpu/drm/tegra/
H A Ddc.c2682 if (dc->soc->pitch_align > tegra->pitch_align) in tegra_dc_init()
2683 tegra->pitch_align = dc->soc->pitch_align; in tegra_dc_init()
2840 .pitch_align = 8,
2863 .pitch_align = 8,
2886 .pitch_align = 64,
2909 .pitch_align = 64,
2932 .pitch_align = 64,
2989 .pitch_align = 64,
3040 .pitch_align = 64,
H A Ddrm.h52 unsigned int pitch_align; member
H A Ddc.h64 unsigned int pitch_align; member
H A Dgem.c550 args->pitch = round_up(min_pitch, tegra->pitch_align); in tegra_bo_dumb_create()