/linux-master/drivers/gpu/drm/nouveau/ |
H A D | nouveau_dp.c | 550 const u8 bpp = 6 * 3; local 559 mode_rate = DIV_ROUND_UP(clock * bpp, 8);
|
/linux-master/drivers/gpu/drm/omapdrm/dss/ |
H A D | dsi.c | 2516 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 D | omap_crtc.c | 527 * bandwidth = resolution * 32bpp * (pclk / (vtotal * htotal)) 536 unsigned int bpp = 4; local 538 bandwidth = bandwidth * mode->hdisplay * mode->vdisplay * bpp;
|
H A D | omap_gem.c | 588 args->pitch = DIV_ROUND_UP(args->width * args->bpp, 8);
|
/linux-master/drivers/gpu/drm/qxl/ |
H A D | qxl_dumb.c | 43 pitch = args->width * ((args->bpp + 1) / 8); 47 switch (args->bpp) {
|
/linux-master/drivers/gpu/drm/radeon/ |
H A D | atombios_dp.c | 311 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 D | cik.c | 9066 fixed20_12 bpp; local 9075 bpp.full = dfixed_const(wm->bytes_per_pixel); 9077 bandwidth.full = dfixed_mul(src_width, bpp);
|
H A D | evergreen.c | 2046 fixed20_12 bpp; local 2055 bpp.full = dfixed_const(wm->bytes_per_pixel); 2057 bandwidth.full = dfixed_mul(src_width, bpp);
|
H A D | radeon_gem.c | 842 DIV_ROUND_UP(args->bpp, 8), 0);
|
H A D | si.c | 2162 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 D | rcar_du_kms.c | 45 .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 D | rcar_du_kms.h | 26 unsigned int bpp; member in struct:rcar_du_format_info
|
H A D | rcar_du_plane.c | 350 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 D | rzg2l_mipi_dsi.c | 262 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 D | rzg2l_du_kms.c | 41 .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 D | rzg2l_du_kms.h | 26 unsigned int bpp; member in struct:rzg2l_du_format_info
|
/linux-master/drivers/gpu/drm/renesas/shmobile/ |
H A D | shmob_drm_kms.c | 31 .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 D | shmob_drm_kms.h | 23 u8 bpp; member in struct:shmob_drm_format_info
|
H A D | shmob_drm_plane.c | 51 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 D | dw-mipi-dsi-rockchip.c | 550 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 D | rockchip_drm_gem.c | 406 int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8);
|
H A D | rockchip_drm_vop2.c | 583 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 D | sti_gdp.c | 724 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 D | drv.c | 44 unsigned int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8);
|
H A D | dw_mipi_dsi-stm.c | 247 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...] |