Searched refs:min_pitch (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/vc4/
H A Dvc4_bo.c34 int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8); vc4_dumb_create() local
38 if (args->pitch < min_pitch) vc4_dumb_create()
39 args->pitch = min_pitch; vc4_dumb_create()
/linux-4.4.14/drivers/gpu/drm/rockchip/
H A Drockchip_drm_gem.c232 int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8); rockchip_gem_dumb_create() local
237 min_pitch = ALIGN(min_pitch, 64); rockchip_gem_dumb_create()
239 if (args->pitch < min_pitch) rockchip_gem_dumb_create()
240 args->pitch = min_pitch; rockchip_gem_dumb_create()
/linux-4.4.14/drivers/gpu/drm/
H A Ddrm_gem_cma_helper.c223 unsigned int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8); drm_gem_cma_dumb_create_internal() local
226 if (args->pitch < min_pitch) drm_gem_cma_dumb_create_internal()
227 args->pitch = min_pitch; drm_gem_cma_dumb_create_internal()
/linux-4.4.14/drivers/gpu/drm/tegra/
H A Dgem.c390 unsigned int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8); tegra_bo_dumb_create() local
394 args->pitch = round_up(min_pitch, tegra->pitch_align); tegra_bo_dumb_create()
/linux-4.4.14/drivers/gpu/drm/rcar-du/
H A Drcar_du_kms.c121 unsigned int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8); rcar_du_dumb_create() local
132 args->pitch = roundup(min_pitch, align); rcar_du_dumb_create()

Completed in 204 milliseconds