| /linux/drivers/gpu/ipu-v3/ |
| H A D | ipu-di.c | 205 u32 h_total = sig->mode.hactive + sig->mode.hsync_len + in ipu_di_sync_config_interlaced() local 216 .run_count = h_total - 1, in ipu_di_sync_config_interlaced() 233 .offset_count = h_total / 2, in ipu_di_sync_config_interlaced() 255 .run_count = h_total / 2 - 1, in ipu_di_sync_config_interlaced() 268 u32 h_total = sig->mode.hactive + sig->mode.hsync_len + in ipu_di_sync_config_noninterlaced() local 275 .run_count = h_total - 1, in ipu_di_sync_config_noninterlaced() 279 .run_count = h_total - 1, in ipu_di_sync_config_noninterlaced() 319 .run_count = h_total - 1, in ipu_di_sync_config_noninterlaced() 335 .run_count = h_total - 1, in ipu_di_sync_config_noninterlaced() 361 .run_count = h_total - 1, in ipu_di_sync_config_noninterlaced()
|
| /linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/ |
| H A D | dml2_core_dcn6_calcs_dchub.c | 22 double line_time_us = (double)timing->h_total / ((double)timing->pixel_clock_khz / 1000); in dcn6_calculate_max_vstartup() 56 …line_time_us = ((double)p->display_cfg->stream_descriptors[i].timing.h_total * 1000 / p->display_c… in dcn6_calculate_alternate_svp_lines() 77 …line_time_us = ((double)p->display_cfg->stream_descriptors[i].timing.h_total * 1000 / p->display_c… in dcn6_calculate_alternate_svp_lines() 450 …line_time_us = ((double)p->display_cfg->stream_descriptors[i].timing.h_total * 1000 / p->display_c… in dcn6_calculate_alternate_params() 463 …line_time_us = ((double)p->display_cfg->stream_descriptors[i].timing.h_total * 1000 / p->display_c… in dcn6_calculate_alternate_params() 506 …line_time_us = ((double)p->display_cfg->stream_descriptors[i].timing.h_total * 1000 / p->display_c… in dcn6_calculate_alternate_params() 715 l->htotal = l->timing->h_total; in dcn6_rq_dlg_get_dlg_reg() 1167 …double h_total = (double)p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].s… in dcn6_calculate_watermarks_and_dram_speed_change_support() local 1172 …] * v_ratio + p->SwathWidthC[k] * p->BytePerPixelDETC[k] * v_ratio_c) / (h_total / pixel_clock_mhz… in dcn6_calculate_watermarks_and_dram_speed_change_support() 1180 …double h_total = (double)p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].s… in dcn6_calculate_watermarks_and_dram_speed_change_support() local [all …]
|
| H A D | dml2_core_dcn5_funcs_mode_programming.c | 223 …tream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total / ((double)displa… in dcn5_mode_programming() 224 …tream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total / ((double)displa… in dcn5_mode_programming() 225 …tream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total / ((double)displa… in dcn5_mode_programming() 297 display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total, in dcn5_mode_programming() 321 …l = display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total; in dcn5_mode_programming() 507 … display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total) in dcn5_mode_programming() 568 …tream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total / ((double)displa… in dcn5_mode_programming() 658 …l = display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total; in dcn5_mode_programming() 790 … = display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total / in dcn5_mode_programming() 937 …display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total / (… in dcn5_mode_programming() [all …]
|
| H A D | dml2_core_dcn5_calcs_dchub.c | 1642 ((double)p->display_cfg->stream_descriptors[stream_index].timing.h_total / in dcn5_calculate_bytes_to_fetch_required_to_hide_latency() 1949 double line_time_us = (double)timing->h_total / ((double)timing->pixel_clock_khz / 1000); in dcn5_calculate_max_vstartup() 4229 double line_time_us = (double)display_cfg->stream_descriptors[stream_index].timing.h_total / in dcn5_calculate_writeback_latency_hiding_us() 4340 …double h_total = (double)p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].s… in dcn5_calculate_watermarks_and_dram_speed_change_support() local 4345 …] * v_ratio + p->SwathWidthC[k] * p->BytePerPixelDETC[k] * v_ratio_c) / (h_total / pixel_clock_mhz… in dcn5_calculate_watermarks_and_dram_speed_change_support() 4353 …double h_total = (double)p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].s… in dcn5_calculate_watermarks_and_dram_speed_change_support() local 4372 …s->EffectiveLBLatencyHidingY = s->LBLatencyHidingSourceLinesY[k] / v_ratio * (h_total / pixel_cloc… in dcn5_calculate_watermarks_and_dram_speed_change_support() 4373 …s->EffectiveLBLatencyHidingC = s->LBLatencyHidingSourceLinesC[k] / v_ratio_c * (h_total / pixel_cl… in dcn5_calculate_watermarks_and_dram_speed_change_support() 4377 …kByte * 1024 * (p->SwathWidthY[k] * p->BytePerPixelDETY[k] * v_ratio) / (h_total / pixel_clock_mhz… in dcn5_calculate_watermarks_and_dram_speed_change_support() 4382 …s->FullDETBufferingTimeY = s->LinesInDETYRoundedDownToSwath[k] * (h_total / pixel_clock_mhz) / v_r… in dcn5_calculate_watermarks_and_dram_speed_change_support() [all …]
|
| H A D | dml2_core_utils.c | 792 …double otg_vline_time_us = (double)stream->timing.h_total / (double)stream->timing.pixel_clock_khz… in dml2_core_utils_get_frame_time_us()
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | radeon_legacy_tv.c | 428 unsigned int h_total, v_total, f_total; in radeon_legacy_tv_init_restarts() local 438 h_total = const_ptr->hor_total; in radeon_legacy_tv_init_restarts() 485 v_offset = ((int)(v_total * h_total) * 2 * tv_dac->v_pos) / (int)(NTSC_TV_LINES_PER_FRAME); in radeon_legacy_tv_init_restarts() 487 v_offset = ((int)(v_total * h_total) * 2 * tv_dac->v_pos) / (int)(PAL_TV_LINES_PER_FRAME); in radeon_legacy_tv_init_restarts() 494 tv_dac->tv.hrestart = restart % h_total; in radeon_legacy_tv_init_restarts() 495 restart /= h_total; in radeon_legacy_tv_init_restarts()
|
| /linux/drivers/gpu/drm/amd/display/dc/optc/dcn201/ |
| H A D | dcn201_optc.c | 82 h_blank = (timing->h_total - timing->h_addressable - in optc201_validate_timing() 99 if (timing->h_total > optc1->max_h_total || in optc201_validate_timing()
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/tests/ |
| H A D | amdgpu_dm_test.c | 742 stream0->timing.h_total = 2200; in dm_test_master_stream_highest_refresh() 747 stream1->timing.h_total = 2200; in dm_test_master_stream_highest_refresh() 1055 stream0->timing.h_total = 2200; in dm_test_per_frame_master_sync_two_streams() 1059 stream1->timing.h_total = 2200; in dm_test_per_frame_master_sync_two_streams() 1097 stream->timing.h_total = 2200; in dm_test_per_frame_master_sync_skips_null_stream()
|
| H A D | amdgpu_dm_connector_test.c | 3739 KUNIT_EXPECT_EQ(test, (int)timing->h_total, 2200);
|
| /linux/drivers/gpu/drm/msm/dsi/ |
| H A D | dsi_host.c | 1000 u32 h_total = mode->htotal; in dsi_timing_setup() local 1004 u32 ha_start = h_total - mode->hsync_start; in dsi_timing_setup() 1023 h_total /= 2; in dsi_timing_setup() 1068 h_total -= hdisplay; in dsi_timing_setup() 1080 h_total += hdisplay; in dsi_timing_setup() 1095 DSI_TOTAL_H_TOTAL(h_total - 1) | in dsi_timing_setup()
|
| /linux/drivers/gpu/drm/amd/display/dc/dce/ |
| H A D | dce_stream_encoder.c | 465 DP_MSA_HTOTAL, hw_crtc_timing.h_total, in dce110_stream_encoder_dp_set_stream_attribute() 472 h_blank = hw_crtc_timing.h_total - hw_crtc_timing.h_border_left - in dce110_stream_encoder_dp_set_stream_attribute() 1173 crtc_info->h_total - crtc_info->h_active; in calc_max_audio_packets_per_line()
|
| /linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_pmo/ |
| H A D | dml2_pmo_dcn6_stage_optimizers.c | 703 …stream_pstate_meta->otg_vline_time_us = (double)timing->h_total / timing->pixel_clock_khz * 1000… in dcn6_build_pstate_meta_per_stream() 706 (stream_pstate_meta->nom_vtotal * timing->h_total); in dcn6_build_pstate_meta_per_stream() 713 …e)stream_descriptor->timing.drr_config.min_refresh_uhz * stream_descriptor->timing.h_total) * 1e9); in dcn6_build_pstate_meta_per_stream() 717 (48000000.0 * stream_descriptor->timing.h_total) * 1e9); in dcn6_build_pstate_meta_per_stream() 723 (stream_pstate_meta->max_vtotal * timing->h_total); in dcn6_build_pstate_meta_per_stream()
|
| /linux/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc_resource.c | 659 if (stream1->timing.pix_clk_100hz*100/stream1->timing.h_total/ in resource_are_vblanks_synchronizable() 662 if (stream2->timing.pix_clk_100hz*100/stream2->timing.h_total/ in resource_are_vblanks_synchronizable() 666 stream1->timing.h_total * in resource_are_vblanks_synchronizable() 670 frame_time_diff = div_u64(frame_time_diff, stream2->timing.h_total); in resource_are_vblanks_synchronizable() 688 if (stream1->timing.h_total != stream2->timing.h_total) in resource_are_streams_timing_synchronizable() 4706 timing->h_total, in dc_update_modified_pix_clock_for_dsc_with_padding() 4712 dsc_padding_params->dsc_htotal_padding = dsc_padding_params->dsc_htotal_padding - timing->h_total; in dc_update_modified_pix_clock_for_dsc_with_padding() 4757 if (stream->timing.h_total - hactive - pipe_ctx->dsc_padding_params.dsc_hactive_padding < 32) in calculate_timing_params_for_dsc_with_padding() 5095 hdmi_info.bits.bar_right = (uint16_t)(stream->timing.h_total in set_avi_info_frame() 5897 h_blank_start = stream->timing.h_total - stream->timing.h_front_porch; in is_h_timing_divisible_by_2() [all …]
|
| H A D | dc.c | 1924 if (crtc_timing->h_total != hw_crtc_timing.h_total) { in dc_validate_boot_timing() 2439 context->streams[i]->timing.h_total, in dc_commit_state_no_check() 8066 state->optc[i].otg_h_total = timing->h_total; in dc_capture_register_software_state() 8068 state->optc[i].otg_h_blank_end = timing->h_total - timing->h_front_porch; in dc_capture_register_software_state()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn60/ |
| H A D | dcn60_hwseq.c | 67 audio_output->crtc_info.h_total = in dcn60_build_audio_output() 68 stream->timing.h_total; in dcn60_build_audio_output() 91 (stream->timing.h_total*stream->timing.v_total)); in dcn60_build_audio_output()
|
| /linux/drivers/gpu/drm/amd/display/dc/inc/ |
| H A D | dce_calcs.h | 388 struct bw_fixed h_total[maximum_number_of_surfaces]; member
|
| /linux/drivers/video/fbdev/ |
| H A D | smscufx.c | 662 u16 h_total, h_active, h_blank_start, h_blank_end, h_sync_start, h_sync_end; in ufx_set_vid_mode() local 685 h_total = var->xres + var->right_margin + var->hsync_len + var->left_margin; in ufx_set_vid_mode() 692 temp = ((h_total - 1) << 16) | (h_active - 1); in ufx_set_vid_mode()
|
| /linux/drivers/gpu/drm/amd/display/dc/dml2_0/ |
| H A D | dml2_translation_helper.c | 765 …out->RefreshRate[location] = ((in->timing.pix_clk_100hz * 100) / in->timing.h_total) / in->timing.… in populate_dml_timing_cfg_from_stream_state() 770 out->HTotal[location] = in->timing.h_total; in populate_dml_timing_cfg_from_stream_state() 773 hblank_start = in->timing.h_total - in->timing.h_front_porch; in populate_dml_timing_cfg_from_stream_state()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn30/ |
| H A D | dcn30_resource.c | 2059 h_v_total = timing->h_total * timing->v_total; in get_refresh_rate() 2095 sec_per_100_lines = timing->pix_clk_100hz / timing->h_total + 1; in get_frame_rate_at_max_stretch_100hz() 2099 stretched_frame_pix_cnt = (v_stretch_max + timing->v_total) * timing->h_total; in get_frame_rate_at_max_stretch_100hz()
|
| /linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn60/ |
| H A D | dcn60_clk_mgr.c | 899 * (uint64_t) curr_pipe_ctx->stream->timing.h_total - (uint64_t)1); in dcn60_auto_dpm_test_log() 901 refresh_rate = div_u64(refresh_rate, curr_pipe_ctx->stream->timing.h_total); in dcn60_auto_dpm_test_log()
|
| /linux/drivers/gpu/drm/amd/display/dc/basics/ |
| H A D | calcs_logger.h | 420 DC_LOG_BANDWIDTH_CALCS(" [bw_fixed] h_total[%d]:%d", i, bw_fixed_to_int(data->h_total[i])); in print_bw_calcs_data()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn30/ |
| H A D | dcn30_hwseq.c | 1041 100LL, (v_total * stream->timing.h_total)); in dcn30_apply_idle_power_optimizations()
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm_connector.c | 950 timing_out->h_total = mode_in->htotal; in fill_stream_properties_from_drm_display_mode() 960 timing_out->h_total = mode_in->crtc_htotal; in fill_stream_properties_from_drm_display_mode()
|
| H A D | amdgpu_dm.c | 3386 timing->h_total, in manage_dm_interrupts() 4983 (stream_set[j]->timing.h_total*stream_set[j]->timing.v_total); in dm_enable_per_frame_crtc_master_sync()
|
| /linux/drivers/gpu/drm/amd/display/modules/power/ |
| H A D | power_abm.c | 976 stream->timing.h_total); in set_backlight()
|