Searched refs:min_pitch (Results 1 – 12 of 12) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/ |
| H A D | rockchip_drm_direct_show.c | 80 u32 min_pitch; in rockchip_drm_direct_show_alloc_buffer() local 92 min_pitch = args.width * DIV_ROUND_UP(args.bpp, 8); in rockchip_drm_direct_show_alloc_buffer() 93 args.pitch = ALIGN(min_pitch, 64); in rockchip_drm_direct_show_alloc_buffer() 101 min_pitch = args.width * DIV_ROUND_UP(bpp, 8); in rockchip_drm_direct_show_alloc_buffer() 102 min_pitch = ALIGN(min_pitch, 64); in rockchip_drm_direct_show_alloc_buffer() 103 args.size += min_pitch * args.height / format_info->hsub / format_info->vsub; in rockchip_drm_direct_show_alloc_buffer()
|
| H A D | rockchip_drm_gem.c | 771 u32 min_pitch = args->width * DIV_ROUND_UP(args->bpp, 8); in rockchip_gem_dumb_create() local 776 args->pitch = ALIGN(min_pitch, 64); in rockchip_gem_dumb_create()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/ |
| H A D | drm_gem_shmem_helper.c | 512 u32 min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8); in drm_gem_shmem_dumb_create() local 516 args->pitch = min_pitch; in drm_gem_shmem_dumb_create() 520 if (args->pitch < min_pitch) in drm_gem_shmem_dumb_create() 521 args->pitch = min_pitch; in drm_gem_shmem_dumb_create()
|
| H A D | drm_gem_cma_helper.c | 215 unsigned int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8); in drm_gem_cma_dumb_create_internal() local 218 if (args->pitch < min_pitch) in drm_gem_cma_dumb_create_internal() 219 args->pitch = min_pitch; in drm_gem_cma_dumb_create_internal()
|
| H A D | drm_framebuffer.c | 205 u64 min_pitch = drm_format_info_min_pitch(info, i, width); in framebuffer_check() local 217 if (min_pitch > UINT_MAX) in framebuffer_check() 223 if (block_size && r->pitches[i] < min_pitch) { in framebuffer_check()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/stm/ |
| H A D | drv.c | 42 unsigned int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8); in stm_gem_cma_dumb_create() local 48 args->pitch = roundup(min_pitch, 128); in stm_gem_cma_dumb_create()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/map/ |
| H A D | transform_state.hpp | 101 double min_pitch = 0.0; member in mbgl::TransformState
|
| H A D | transform_state.cpp | 207 min_pitch = minPitch; in setMinPitch() 212 return min_pitch; in getMinPitch()
|
| H A D | transform.cpp | 122 pitch = util::clamp(pitch, state.min_pitch, state.max_pitch); in easeTo() 187 pitch = util::clamp(pitch, state.min_pitch, state.max_pitch); in flyTo()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/vc4/ |
| H A D | vc4_bo.c | 476 int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8); in vc4_dumb_create() local 480 if (args->pitch < min_pitch) in vc4_dumb_create() 481 args->pitch = min_pitch; in vc4_dumb_create()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/rcar-du/ |
| H A D | rcar_du_kms.c | 331 unsigned int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8); in rcar_du_dumb_create() local 343 args->pitch = roundup(min_pitch, align); in rcar_du_dumb_create()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/tegra/ |
| H A D | gem.c | 459 unsigned int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8); in tegra_bo_dumb_create() local 463 args->pitch = round_up(min_pitch, tegra->pitch_align); in tegra_bo_dumb_create()
|