Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dr600_cs.c250 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/
Ddrm_gem_vram_helper.c549 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/
Ddrm_gem_vram_helper.h109 unsigned long pitch_align,
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/
Ddc.c2103 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,
Ddrm.h57 unsigned int pitch_align; member
Dfb.c224 tegra->pitch_align); in tegra_fbdev_probe()
Ddc.h56 unsigned int pitch_align; member
Dgem.c463 args->pitch = round_up(min_pitch, tegra->pitch_align); in tegra_bo_dumb_create()