Home
last modified time | relevance | path

Searched refs:hw_crtc_timing (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_hpo_dp_stream_encoder.c207 struct dc_crtc_timing hw_crtc_timing = *crtc_timing; in dcn31_hpo_dp_stream_enc_set_stream_attribute() local
216 if (hw_crtc_timing.flags.INTERLACE) { in dcn31_hpo_dp_stream_enc_set_stream_attribute()
230 switch (hw_crtc_timing.pixel_encoding) { in dcn31_hpo_dp_stream_enc_set_stream_attribute()
239 if (hw_crtc_timing.flags.Y_ONLY) { in dcn31_hpo_dp_stream_enc_set_stream_attribute()
241 if (hw_crtc_timing.display_color_depth != COLOR_DEPTH_666) { in dcn31_hpo_dp_stream_enc_set_stream_attribute()
271 switch (hw_crtc_timing.display_color_depth) { in dcn31_hpo_dp_stream_enc_set_stream_attribute()
310 if (hw_crtc_timing.pixel_encoding == PIXEL_ENCODING_YCBCR422) in dcn31_hpo_dp_stream_enc_set_stream_attribute()
312 else if (hw_crtc_timing.pixel_encoding == PIXEL_ENCODING_YCBCR444) in dcn31_hpo_dp_stream_enc_set_stream_attribute()
319 if (hw_crtc_timing.pixel_encoding == PIXEL_ENCODING_YCBCR422) in dcn31_hpo_dp_stream_enc_set_stream_attribute()
321 else if (hw_crtc_timing.pixel_encoding == PIXEL_ENCODING_YCBCR444) in dcn31_hpo_dp_stream_enc_set_stream_attribute()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/
Ddce_stream_encoder.c286 struct dc_crtc_timing hw_crtc_timing = *crtc_timing; in dce110_stream_encoder_dp_set_stream_attribute() local
287 if (hw_crtc_timing.flags.INTERLACE) { in dce110_stream_encoder_dp_set_stream_attribute()
289 hw_crtc_timing.v_total /= 2; in dce110_stream_encoder_dp_set_stream_attribute()
290 hw_crtc_timing.v_border_top /= 2; in dce110_stream_encoder_dp_set_stream_attribute()
291 hw_crtc_timing.v_addressable /= 2; in dce110_stream_encoder_dp_set_stream_attribute()
292 hw_crtc_timing.v_border_bottom /= 2; in dce110_stream_encoder_dp_set_stream_attribute()
293 hw_crtc_timing.v_front_porch /= 2; in dce110_stream_encoder_dp_set_stream_attribute()
294 hw_crtc_timing.v_sync_width /= 2; in dce110_stream_encoder_dp_set_stream_attribute()
297 switch (hw_crtc_timing.pixel_encoding) { in dce110_stream_encoder_dp_set_stream_attribute()
306 if (hw_crtc_timing.flags.Y_ONLY) in dce110_stream_encoder_dp_set_stream_attribute()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_stream_encoder.c264 struct dc_crtc_timing hw_crtc_timing = *crtc_timing; in enc1_stream_encoder_dp_set_stream_attribute() local
266 if (hw_crtc_timing.flags.INTERLACE) { in enc1_stream_encoder_dp_set_stream_attribute()
268 hw_crtc_timing.v_total /= 2; in enc1_stream_encoder_dp_set_stream_attribute()
269 hw_crtc_timing.v_border_top /= 2; in enc1_stream_encoder_dp_set_stream_attribute()
270 hw_crtc_timing.v_addressable /= 2; in enc1_stream_encoder_dp_set_stream_attribute()
271 hw_crtc_timing.v_border_bottom /= 2; in enc1_stream_encoder_dp_set_stream_attribute()
272 hw_crtc_timing.v_front_porch /= 2; in enc1_stream_encoder_dp_set_stream_attribute()
273 hw_crtc_timing.v_sync_width /= 2; in enc1_stream_encoder_dp_set_stream_attribute()
278 switch (hw_crtc_timing.pixel_encoding) { in enc1_stream_encoder_dp_set_stream_attribute()
285 if (hw_crtc_timing.flags.Y_ONLY) in enc1_stream_encoder_dp_set_stream_attribute()
[all …]
Ddcn10_optc.c1294 struct dc_crtc_timing *hw_crtc_timing) in optc1_get_hw_timing() argument
1298 if (tg == NULL || hw_crtc_timing == NULL) in optc1_get_hw_timing()
1303 hw_crtc_timing->h_total = s.h_total + 1; in optc1_get_hw_timing()
1304 hw_crtc_timing->h_addressable = s.h_total - ((s.h_total - s.h_blank_start) + s.h_blank_end); in optc1_get_hw_timing()
1305 hw_crtc_timing->h_front_porch = s.h_total + 1 - s.h_blank_start; in optc1_get_hw_timing()
1306 hw_crtc_timing->h_sync_width = s.h_sync_a_end - s.h_sync_a_start; in optc1_get_hw_timing()
1308 hw_crtc_timing->v_total = s.v_total + 1; in optc1_get_hw_timing()
1309 hw_crtc_timing->v_addressable = s.v_total - ((s.v_total - s.v_blank_start) + s.v_blank_end); in optc1_get_hw_timing()
1310 hw_crtc_timing->v_front_porch = s.v_total + 1 - s.v_blank_start; in optc1_get_hw_timing()
1311 hw_crtc_timing->v_sync_width = s.v_sync_a_end - s.v_sync_a_start; in optc1_get_hw_timing()
Ddcn10_hw_sequencer.c2119 struct dc_crtc_timing *hw_crtc_timing; in dcn10_align_pixel_clocks() local
2130 hw_crtc_timing = kcalloc(MAX_PIPES, sizeof(*hw_crtc_timing), GFP_KERNEL); in dcn10_align_pixel_clocks()
2131 if (!hw_crtc_timing) in dcn10_align_pixel_clocks()
2146 &hw_crtc_timing[i]); in dcn10_align_pixel_clocks()
2151 hw_crtc_timing[i].pix_clk_100hz = pclk; in dcn10_align_pixel_clocks()
2161 hw_crtc_timing[i].h_total* in dcn10_align_pixel_clocks()
2162 hw_crtc_timing[i].v_total; in dcn10_align_pixel_clocks()
2198 kfree(hw_crtc_timing); in dcn10_align_pixel_clocks()
Ddcn10_optc.h596 struct dc_crtc_timing *hw_crtc_timing);
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/
Ddc.c1526 struct dc_crtc_timing hw_crtc_timing = {0}; in dc_validate_boot_timing() local
1568 if (!tg->funcs->get_hw_timing(tg, &hw_crtc_timing)) in dc_validate_boot_timing()
1571 if (crtc_timing->h_total != hw_crtc_timing.h_total) in dc_validate_boot_timing()
1574 if (crtc_timing->h_border_left != hw_crtc_timing.h_border_left) in dc_validate_boot_timing()
1577 if (crtc_timing->h_addressable != hw_crtc_timing.h_addressable) in dc_validate_boot_timing()
1580 if (crtc_timing->h_border_right != hw_crtc_timing.h_border_right) in dc_validate_boot_timing()
1583 if (crtc_timing->h_front_porch != hw_crtc_timing.h_front_porch) in dc_validate_boot_timing()
1586 if (crtc_timing->h_sync_width != hw_crtc_timing.h_sync_width) in dc_validate_boot_timing()
1589 if (crtc_timing->v_total != hw_crtc_timing.v_total) in dc_validate_boot_timing()
1592 if (crtc_timing->v_border_top != hw_crtc_timing.v_border_top) in dc_validate_boot_timing()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/hw/
Dtiming_generator.h292 struct dc_crtc_timing *hw_crtc_timing);