Searched refs:pitch_align (Results 1 – 12 of 12) sorted by relevance
/openbmc/linux/drivers/gpu/drm/loongson/ |
H A D | loongson_device.c | 37 .pitch_align = 256, 69 .pitch_align = 64,
|
H A D | lsdc_drv.h | 62 u32 pitch_align; /* CRTC DMA alignment constraint */ member
|
H A D | lsdc_gem.c | 228 pitch = ALIGN(pitch, descp->pitch_align); in lsdc_dumb_create()
|
H A D | lsdc_crtc.c | 764 if (pitch % descp->pitch_align) { in lsdc_crtc_mode_valid() 766 descp->pitch_align, pitch); in lsdc_crtc_mode_valid()
|
/openbmc/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 …]
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_gem_vram_helper.c | 494 unsigned long pitch_align, in drm_gem_vram_fill_create_dumb() argument 503 if (pitch_align) { in drm_gem_vram_fill_create_dumb() 504 if (WARN_ON_ONCE(!is_power_of_2(pitch_align))) in drm_gem_vram_fill_create_dumb() 506 pitch = ALIGN(pitch, pitch_align); in drm_gem_vram_fill_create_dumb()
|
/openbmc/linux/include/drm/ |
H A D | drm_gem_vram_helper.h | 107 unsigned long pitch_align,
|
/openbmc/linux/drivers/gpu/drm/tegra/ |
H A D | dc.c | 2675 if (dc->soc->pitch_align > tegra->pitch_align) in tegra_dc_init() 2676 tegra->pitch_align = dc->soc->pitch_align; in tegra_dc_init() 2833 .pitch_align = 8, 2856 .pitch_align = 8, 2879 .pitch_align = 64, 2902 .pitch_align = 64, 2925 .pitch_align = 64, 2982 .pitch_align = 64, 3033 .pitch_align = 64,
|
H A D | drm.h | 49 unsigned int pitch_align; member
|
H A D | fbdev.c | 88 tegra->pitch_align); in tegra_fbdev_probe()
|
H A D | dc.h | 64 unsigned int pitch_align; member
|
H A D | gem.c | 531 args->pitch = round_up(min_pitch, tegra->pitch_align); in tegra_bo_dumb_create()
|