Home
last modified time | relevance | path

Searched refs:min_pitch (Results 1 – 12 of 12) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/
H A Drockchip_drm_direct_show.c80 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 Drockchip_drm_gem.c771 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 Ddrm_gem_shmem_helper.c512 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 Ddrm_gem_cma_helper.c215 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 Ddrm_framebuffer.c205 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 Ddrv.c42 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 Dtransform_state.hpp101 double min_pitch = 0.0; member in mbgl::TransformState
H A Dtransform_state.cpp207 min_pitch = minPitch; in setMinPitch()
212 return min_pitch; in getMinPitch()
H A Dtransform.cpp122 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 Dvc4_bo.c476 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 Drcar_du_kms.c331 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 Dgem.c459 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()