/linux/drivers/gpu/drm/amd/display/dc/basics/ |
H A D | dce_calcs.c | 183 data->bytes_per_pixel[0] = 1; in calculate_bandwidth() 184 data->bytes_per_pixel[2] = 1; in calculate_bandwidth() 187 data->bytes_per_pixel[1] = 2; in calculate_bandwidth() 188 data->bytes_per_pixel[3] = 2; in calculate_bandwidth() 197 data->bytes_per_pixel[0] = 2; in calculate_bandwidth() 198 data->bytes_per_pixel[2] = 2; in calculate_bandwidth() 205 data->bytes_per_pixel[0] = 4; in calculate_bandwidth() 206 data->bytes_per_pixel[2] = 4; in calculate_bandwidth() 376 data->bytes_per_pixel[maximum_number_of_surfaces - 2] = 1; in calculate_bandwidth() 377 data->bytes_per_pixel[maximum_number_of_surfaces - 1] = 2; in calculate_bandwidth() [all …]
|
H A D | calcs_logger.h | 397 DC_LOG_BANDWIDTH_CALCS(" [uint32_t] bytes_per_pixel[%d]:%d", i, data->bytes_per_pixel[i]); in print_bw_calcs_data()
|
/linux/drivers/media/test-drivers/vivid/ |
H A D | vivid-osd.c | 104 dev->display_byte_stride = var->xres * dev->bytes_per_pixel; in vivid_fb_set_var() 270 dev->bytes_per_pixel = dev->bits_per_pixel / 8; in vivid_fb_init_vidmode() 275 dev->display_byte_stride = start_window.width * dev->bytes_per_pixel; in vivid_fb_init_vidmode()
|
H A D | vivid-core.h | 405 int bytes_per_pixel; member
|
/linux/drivers/gpu/drm/amd/display/dc/dsc/ |
H A D | dscc_types.h | 45 uint32_t bytes_per_pixel; /* In u3.28 format */ member
|
H A D | dsc.h | 50 uint32_t bytes_per_pixel; /* Bytes per pixel in u3.28 format */ member
|
H A D | rc_calc_dpi.c | 114 dsc_params->bytes_per_pixel = in dscc_compute_dsc_parameters()
|
/linux/drivers/staging/media/atomisp/pci/runtime/isys/src/ |
H A D | virtual_isys.c | 686 s32 bytes_per_pixel; in calculate_ibuf_ctrl_cfg() local 692 bytes_per_pixel = BITS_TO_BYTES(bits_per_pixel); in calculate_ibuf_ctrl_cfg() 695 * bytes_per_pixel; in calculate_ibuf_ctrl_cfg() 726 cfg->dest_buf_cfg.stride = bytes_per_pixel in calculate_ibuf_ctrl_cfg()
|
/linux/drivers/media/pci/ivtv/ |
H A D | ivtvfb.c | 166 int bytes_per_pixel; member 228 oi->display_byte_stride = osd->pixel_stride * oi->bytes_per_pixel; in ivtvfb_set_osd_coords() 551 oi->bytes_per_pixel = var->bits_per_pixel / 8; in ivtvfb_set_var() 974 oi->bytes_per_pixel = oi->bits_per_pixel / 8; in ivtvfb_init_vidmode() 1002 start_window.width * oi->bytes_per_pixel; in ivtvfb_init_vidmode()
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/ |
H A D | dml2_mall_phantom.c | 35 uint32_t bytes_per_pixel = 0; in dml2_helper_calculate_num_ways_for_subvp() local 55 bytes_per_pixel = pipe->plane_state->format >= SURFACE_PIXEL_FORMAT_GRPH_ARGB16161616 ? 8 : 4; in dml2_helper_calculate_num_ways_for_subvp() 57 …mblk_height = bytes_per_pixel == 4 ? mblk_width = ctx->config.mall_cfg.mblk_height_4bpe_pixels : c… in dml2_helper_calculate_num_ways_for_subvp()
|
/linux/drivers/video/fbdev/ |
H A D | imxfb.c | 886 int bytes_per_pixel; in imxfb_probe() local 943 bytes_per_pixel = (m->bpp + 7) / 8; in imxfb_probe() 946 m->mode.xres * m->mode.yres * bytes_per_pixel); in imxfb_probe()
|
/linux/drivers/gpu/drm/mgag200/ |
H A D | mgag200_mode.c | 755 uint64_t bytes_per_pixel = (bits_per_pixel + 7) / 8; in mgag200_calculate_mode_bandwidth() local 768 bandwidth = pixels_per_second * bytes_per_pixel * 100; in mgag200_calculate_mode_bandwidth()
|
/linux/drivers/gpu/drm/amd/display/dc/dsc/dcn20/ |
H A D | dcn20_dsc.c | 450 dsc_optc_cfg->bytes_per_pixel = dsc_params.bytes_per_pixel; in dsc_prepare_config()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | dce_v6_0.c | 524 u32 bytes_per_pixel; /* bytes per pixel display + overlay */ member 690 bpp.full = dfixed_const(wm->bytes_per_pixel); in dce_v6_0_average_bandwidth() 742 lb_fill_bw = min(tmp, wm->disp_clk * wm->bytes_per_pixel / 1000); in dce_v6_0_latency_watermark() 744 a.full = dfixed_const(max_src_lines_per_dst_line * wm->src_width * wm->bytes_per_pixel); in dce_v6_0_latency_watermark() 893 wm_high.bytes_per_pixel = 4; /* XXX: get this from fb config */ in dce_v6_0_program_watermarks() 920 wm_low.bytes_per_pixel = 4; /* XXX: get this from fb config */ in dce_v6_0_program_watermarks()
|
H A D | dce_v8_0.c | 659 u32 bytes_per_pixel; /* bytes per pixel display + overlay */ member 825 bpp.full = dfixed_const(wm->bytes_per_pixel); in dce_v8_0_average_bandwidth() 877 lb_fill_bw = min(tmp, wm->disp_clk * wm->bytes_per_pixel / 1000); in dce_v8_0_latency_watermark() 879 a.full = dfixed_const(max_src_lines_per_dst_line * wm->src_width * wm->bytes_per_pixel); in dce_v8_0_latency_watermark() 1019 wm_high.bytes_per_pixel = 4; /* XXX: get this from fb config */ in dce_v8_0_program_watermarks() 1058 wm_low.bytes_per_pixel = 4; /* XXX: get this from fb config */ in dce_v8_0_program_watermarks()
|
H A D | dce_v10_0.c | 706 u32 bytes_per_pixel; /* bytes per pixel display + overlay */ member 872 bpp.full = dfixed_const(wm->bytes_per_pixel); in dce_v10_0_average_bandwidth() 924 lb_fill_bw = min(tmp, wm->disp_clk * wm->bytes_per_pixel / 1000); in dce_v10_0_latency_watermark() 926 a.full = dfixed_const(max_src_lines_per_dst_line * wm->src_width * wm->bytes_per_pixel); in dce_v10_0_latency_watermark() 1066 wm_high.bytes_per_pixel = 4; /* XXX: get this from fb config */ in dce_v10_0_program_watermarks() 1105 wm_low.bytes_per_pixel = 4; /* XXX: get this from fb config */ in dce_v10_0_program_watermarks()
|
H A D | dce_v11_0.c | 738 u32 bytes_per_pixel; /* bytes per pixel display + overlay */ member 904 bpp.full = dfixed_const(wm->bytes_per_pixel); in dce_v11_0_average_bandwidth() 956 lb_fill_bw = min(tmp, wm->disp_clk * wm->bytes_per_pixel / 1000); in dce_v11_0_latency_watermark() 958 a.full = dfixed_const(max_src_lines_per_dst_line * wm->src_width * wm->bytes_per_pixel); in dce_v11_0_latency_watermark() 1098 wm_high.bytes_per_pixel = 4; /* XXX: get this from fb config */ in dce_v11_0_program_watermarks() 1137 wm_low.bytes_per_pixel = 4; /* XXX: get this from fb config */ in dce_v11_0_program_watermarks()
|
/linux/drivers/gpu/drm/amd/display/dc/inc/ |
H A D | dce_calcs.h | 374 uint32_t bytes_per_pixel[maximum_number_of_surfaces]; member
|
/linux/drivers/gpu/drm/omapdrm/ |
H A D | omap_dmm_tiler.c | 46 #define GEOM(xshift, yshift, bytes_per_pixel) { \ argument 49 .cpp = (bytes_per_pixel), \
|
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn314/ |
H A D | dcn314_hwseq.c | 116 dsc_optc_cfg.bytes_per_pixel, in update_dsc_on_stream()
|
/linux/drivers/gpu/drm/radeon/ |
H A D | evergreen.c | 1945 u32 bytes_per_pixel; /* bytes per pixel display + overlay */ member 2055 bpp.full = dfixed_const(wm->bytes_per_pixel); in evergreen_average_bandwidth() 2095 lb_fill_bw = min(dfixed_trunc(a), wm->disp_clk * wm->bytes_per_pixel / 1000); in evergreen_latency_watermark() 2097 a.full = dfixed_const(max_src_lines_per_dst_line * wm->src_width * wm->bytes_per_pixel); in evergreen_latency_watermark() 2204 wm_high.bytes_per_pixel = 4; /* XXX: get this from fb config */ in evergreen_program_watermarks() 2231 wm_low.bytes_per_pixel = 4; /* XXX: get this from fb config */ in evergreen_program_watermarks()
|
H A D | si.c | 2044 u32 bytes_per_pixel; /* bytes per pixel display + overlay */ member 2171 bpp.full = dfixed_const(wm->bytes_per_pixel); in dce6_average_bandwidth() 2214 lb_fill_bw = min(tmp, wm->disp_clk * wm->bytes_per_pixel / 1000); in dce6_latency_watermark() 2216 a.full = dfixed_const(max_src_lines_per_dst_line * wm->src_width * wm->bytes_per_pixel); in dce6_latency_watermark() 2326 wm_high.bytes_per_pixel = 4; /* XXX: get this from fb config */ in dce6_program_watermarks() 2353 wm_low.bytes_per_pixel = 4; /* XXX: get this from fb config */ in dce6_program_watermarks()
|
H A D | cik.c | 8909 u32 bytes_per_pixel; /* bytes per pixel display + overlay */ member 9075 bpp.full = dfixed_const(wm->bytes_per_pixel); in dce8_average_bandwidth() 9127 lb_fill_bw = min(tmp, wm->disp_clk * wm->bytes_per_pixel / 1000); in dce8_latency_watermark() 9129 a.full = dfixed_const(max_src_lines_per_dst_line * wm->src_width * wm->bytes_per_pixel); in dce8_latency_watermark() 9270 wm_high.bytes_per_pixel = 4; /* XXX: get this from fb config */ in dce8_program_watermarks() 9310 wm_low.bytes_per_pixel = 4; /* XXX: get this from fb config */ in dce8_program_watermarks()
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
H A D | dml2_core_shared_types.h | 1805 unsigned int bytes_per_pixel; member
|
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn35/ |
H A D | dcn35_hwseq.c | 380 dsc_optc_cfg.bytes_per_pixel, in update_dsc_on_stream()
|