Searched refs:bpp (Results 151 - 175 of 466) sorted by path

1234567891011>>

/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_dp.c550 const u8 bpp = 6 * 3; local
559 mode_rate = DIV_ROUND_UP(clock * bpp, 8);
/linux-master/drivers/gpu/drm/omapdrm/dss/
H A Ddsi.c2516 int bpp = mipi_dsi_pixel_format_to_bpp(dsi->pix_fmt); local
2522 if (dsi->line_buffer_size <= vm->hactive * bpp / 8)
2647 int bpp = mipi_dsi_pixel_format_to_bpp(dsi->pix_fmt); local
2687 width_bytes = DIV_ROUND_UP(vm->hactive * bpp, 8);
2896 int bpp = mipi_dsi_pixel_format_to_bpp(dsi->pix_fmt); local
2903 width_bytes = DIV_ROUND_UP(vm->hactive * bpp, 8);
2996 int bpp = mipi_dsi_pixel_format_to_bpp(dsi->pix_fmt); local
3023 word_count = DIV_ROUND_UP(dsi->vm.hactive * bpp, 8);
/linux-master/drivers/gpu/drm/omapdrm/
H A Domap_crtc.c527 * bandwidth = resolution * 32bpp * (pclk / (vtotal * htotal))
536 unsigned int bpp = 4; local
538 bandwidth = bandwidth * mode->hdisplay * mode->vdisplay * bpp;
H A Domap_gem.c588 args->pitch = DIV_ROUND_UP(args->width * args->bpp, 8);
/linux-master/drivers/gpu/drm/qxl/
H A Dqxl_dumb.c43 pitch = args->width * ((args->bpp + 1) / 8);
47 switch (args->bpp) {
/linux-master/drivers/gpu/drm/radeon/
H A Datombios_dp.c311 int bpp = convert_bpc_to_bpp(radeon_get_monitor_bpc(connector)); local
320 max_pix_clock = (lane_num * 270000 * 8) / bpp;
330 max_pix_clock = (lane_num * link_rates[i] * 8) / bpp;
H A Dcik.c9066 fixed20_12 bpp; local
9075 bpp.full = dfixed_const(wm->bytes_per_pixel);
9077 bandwidth.full = dfixed_mul(src_width, bpp);
H A Devergreen.c2046 fixed20_12 bpp; local
2055 bpp.full = dfixed_const(wm->bytes_per_pixel);
2057 bandwidth.full = dfixed_mul(src_width, bpp);
H A Dradeon_gem.c842 DIV_ROUND_UP(args->bpp, 8), 0);
H A Dsi.c2162 fixed20_12 bpp; local
2171 bpp.full = dfixed_const(wm->bytes_per_pixel);
2173 bandwidth.full = dfixed_mul(src_width, bpp);
2540 /* Uncompressed 16bpp depth - and stencil buffer allocated with it */
2549 /* Uncompressed 32bpp depth - and stencil buffer allocated with it */
2558 /* Uncompressed 8bpp stencil without depth (drivers typically do not use) */
2585 /* Display 8bpp. */
2594 /* Display 16bpp. */
2603 /* Display 32bpp. */
2621 /* Thin 8 bpp
[all...]
/linux-master/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_du_kms.c45 .bpp = 16,
53 .bpp = 16,
61 .bpp = 16,
68 .bpp = 32,
76 .bpp = 32,
84 .bpp = 16,
92 .bpp = 16,
100 .bpp = 12,
108 .bpp = 12,
116 .bpp
451 unsigned int bpp = format->planes == 1 ? format->bpp / 8 : 1; local
[all...]
H A Drcar_du_kms.h26 unsigned int bpp; member in struct:rcar_du_format_info
H A Drcar_du_plane.c350 pitch = fb->pitches[0] * 8 / state->format->bpp;
364 * operation with 32bpp formats.
367 (interlaced && state->format->bpp == 32) ?
372 * for 32bpp formats, according to the R8A7790 datasheet. No mention of
385 (!interlaced && state->format->bpp == 32 ? 2 : 1));
396 (state->format->bpp == 16 ? 2 : 1) / 2);
410 * The PnALPHAR register controls alpha-blending in 16bpp formats
H A Drzg2l_mipi_dsi.c262 unsigned int bpp; local
274 * vclk * bpp = hsclk * 8 * lanes
276 * bpp: video pixel bit depth
282 bpp = mipi_dsi_pixel_format_to_bpp(dsi->format);
283 hsfreq = (mode->clock * bpp * 8) / (8 * dsi->lanes);
303 * - bpp: maximum 24bpp
/linux-master/drivers/gpu/drm/renesas/rz-du/
H A Drzg2l_du_kms.c41 .bpp = 32,
47 .bpp = 32,
53 .bpp = 24,
78 unsigned int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8);
79 unsigned int align = 16 * args->bpp / 8;
H A Drzg2l_du_kms.h26 unsigned int bpp; member in struct:rzg2l_du_format_info
/linux-master/drivers/gpu/drm/renesas/shmobile/
H A Dshmob_drm_kms.c31 .bpp = 16,
38 .bpp = 24,
45 .bpp = 32,
52 .bpp = 32,
59 .bpp = 12,
66 .bpp = 12,
73 .bpp = 16,
80 .bpp = 16,
87 .bpp = 24,
94 .bpp
[all...]
H A Dshmob_drm_kms.h23 u8 bpp; member in struct:shmob_drm_format_info
H A Dshmob_drm_plane.c51 unsigned int bpp; local
53 bpp = shmob_drm_format_is_yuv(sstate->format) ? 8 : sstate->format->bpp;
56 + y * fb->pitches[0] + x * bpp / 8;
59 bpp = sstate->format->bpp - 8;
62 + y / (bpp == 4 ? 2 : 1) * fb->pitches[1]
63 + x * (bpp == 16 ? 2 : 1);
/linux-master/drivers/gpu/drm/rockchip/
H A Ddw-mipi-dsi-rockchip.c550 int bpp; local
562 bpp = mipi_dsi_pixel_format_to_bpp(dsi->format);
563 if (bpp < 0) {
565 "failed to get bpp for pixel format %d\n",
567 return bpp;
573 tmp = mpclk * (bpp / lanes) * 10 / 8;
584 bpp, lanes,
H A Drockchip_drm_gem.c406 int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8);
H A Drockchip_drm_vop2.c583 u32 bpp = vop2_get_bpp(fb->format); local
584 u32 vir_width = (fb->pitches[0] << 3) / bpp;
1204 u32 bpp = vop2_get_bpp(fb->format); local
1342 stride = (fb->pitches[0] << 3) / bpp;
1357 if (fb->format->is_yuv && bpp == 10)
/linux-master/drivers/gpu/drm/sti/
H A Dsti_gdp.c724 unsigned int bpp; local
788 bpp = fb->format->cpp[0];
790 top_field->gam_gdp_pml += src_x * bpp;
/linux-master/drivers/gpu/drm/stm/
H A Ddrv.c44 unsigned int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8);
H A Ddw_mipi_dsi-stm.c247 int ret, bpp; local
253 bpp = mipi_dsi_pixel_format_to_bpp(format);
254 pll_out_khz = mode->clock * bpp / lanes;
334 int ret, bpp; local
336 bpp = mipi_dsi_pixel_format_to_bpp(format);
337 if (bpp < 0)
341 pll_out_khz = mode->clock * bpp / lanes;
373 px_clock_hz = DIV_ROUND_CLOSEST_ULL(1000ULL * pll_out_khz * lanes, bpp);
384 dsi_short_packet_size_px = DIV_ROUND_UP(4 * BITS_PER_BYTE, bpp);
414 lanes * BITS_PER_BYTE, bpp);
[all...]

Completed in 374 milliseconds

1234567891011>>