Searched refs:pitch_align (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | r600_cs.c | 250 u32 *pitch_align, in r600_get_array_mode_alignment() argument 265 *pitch_align = 1; /* tile_width */ in r600_get_array_mode_alignment() 271 *pitch_align = max((u32)64, (u32)(values->group_size / values->blocksize)); in r600_get_array_mode_alignment() 277 *pitch_align = max((u32)tile_width, in r600_get_array_mode_alignment() 285 *pitch_align = max((u32)macro_tile_width * tile_width, in r600_get_array_mode_alignment() 291 (*pitch_align) * values->blocksize * (*height_align) * values->nsamples); in r600_get_array_mode_alignment() 354 u32 height, height_align, pitch, pitch_align, depth_align; in r600_cs_track_validate_cb() local 387 &pitch_align, &height_align, &depth_align, &base_align)) { in r600_cs_track_validate_cb() 412 if (!IS_ALIGNED(pitch, pitch_align)) { in r600_cs_track_validate_cb() 414 __func__, __LINE__, pitch, pitch_align, array_mode); in r600_cs_track_validate_cb() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_gem_vram_helper.c | 549 unsigned long pitch_align, in drm_gem_vram_fill_create_dumb() argument 558 if (pitch_align) { in drm_gem_vram_fill_create_dumb() 559 if (WARN_ON_ONCE(!is_power_of_2(pitch_align))) in drm_gem_vram_fill_create_dumb() 561 pitch = ALIGN(pitch, pitch_align); in drm_gem_vram_fill_create_dumb()
|
/kernel/linux/linux-5.10/include/drm/ |
D | drm_gem_vram_helper.h | 109 unsigned long pitch_align,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/ |
D | dc.c | 2103 if (dc->soc->pitch_align > tegra->pitch_align) in tegra_dc_init() 2104 tegra->pitch_align = dc->soc->pitch_align; in tegra_dc_init() 2242 .pitch_align = 8, 2261 .pitch_align = 8, 2280 .pitch_align = 64, 2299 .pitch_align = 64, 2318 .pitch_align = 64, 2371 .pitch_align = 64, 2419 .pitch_align = 64,
|
D | drm.h | 57 unsigned int pitch_align; member
|
D | fb.c | 224 tegra->pitch_align); in tegra_fbdev_probe()
|
D | dc.h | 56 unsigned int pitch_align; member
|
D | gem.c | 463 args->pitch = round_up(min_pitch, tegra->pitch_align); in tegra_bo_dumb_create()
|