Searched refs:pitch_align (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/gpu/drm/loongson/ |
H A D | loongson_device.c | 37 .pitch_align = 256, 69 .pitch_align = 64,
|
H A D | lsdc_gem.c | 219 pitch = ALIGN(pitch, descp->pitch_align); in lsdc_dumb_create()
|
H A D | lsdc_drv.h | 62 u32 pitch_align; /* CRTC DMA alignment constraint */ member
|
H A D | lsdc_crtc.c | 765 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 D | r600_cs.c | 249 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 D | dc.c | 2682 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 D | drm.h | 52 unsigned int pitch_align; member
|
H A D | dc.h | 64 unsigned int pitch_align; member
|
H A D | gem.c | 550 args->pitch = round_up(min_pitch, tegra->pitch_align); in tegra_bo_dumb_create()
|