Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/dce/
H A 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/drivers/gpu/drm/amd/display/dc/core/
H A Ddc.c1856 struct dc_crtc_timing hw_crtc_timing = {0}; in dc_validate_boot_timing() local
1919 if (!tg->funcs->get_hw_timing(tg, &hw_crtc_timing)) { in dc_validate_boot_timing()
1924 if (crtc_timing->h_total != hw_crtc_timing.h_total) { in dc_validate_boot_timing()
1929 if (crtc_timing->h_border_left != hw_crtc_timing.h_border_left) { in dc_validate_boot_timing()
1934 if (crtc_timing->h_addressable != hw_crtc_timing.h_addressable) { in dc_validate_boot_timing()
1939 if (crtc_timing->h_border_right != hw_crtc_timing.h_border_right) { in dc_validate_boot_timing()
1944 if (crtc_timing->h_front_porch != hw_crtc_timing.h_front_porch) { in dc_validate_boot_timing()
1949 if (crtc_timing->h_sync_width != hw_crtc_timing.h_sync_width) { in dc_validate_boot_timing()
1954 if (crtc_timing->v_total != hw_crtc_timing.v_total) { in dc_validate_boot_timing()
1959 if (crtc_timing->v_border_top != hw_crtc_timing.v_border_top) { in dc_validate_boot_timing()
[all …]