Lines Matching defs:timing

27  * This file owns timing validation against various link limitations. (ex.
38 static uint32_t get_tmds_output_pixel_clock_100hz(const struct dc_crtc_timing *timing)
41 uint32_t pxl_clk = timing->pix_clk_100hz;
43 if (timing->pixel_encoding == PIXEL_ENCODING_YCBCR420)
45 else if (timing->pixel_encoding == PIXEL_ENCODING_YCBCR422)
48 if (timing->display_color_depth == COLOR_DEPTH_101010)
50 else if (timing->display_color_depth == COLOR_DEPTH_121212)
57 const struct dc_crtc_timing *timing,
66 if (timing->pixel_encoding == PIXEL_ENCODING_RGB)
77 switch (timing->pixel_encoding) {
94 switch (timing->display_color_depth) {
115 switch (timing->timing_3d_format) {
126 struct dc_crtc_timing outputTiming = *timing;
128 if (timing->flags.DSC && !timing->dsc_cfg.is_frl)
129 /* DP input has DSC, HDMI FRL output doesn't have DSC, remove DSC from output timing */
135 if (get_tmds_output_pixel_clock_100hz(timing) > (dongle_caps->dp_hdmi_max_pixel_clk_in_khz * 10))
144 if (dongle_caps->dfp_cap_ext.max_pixel_rate_in_mps < (timing->pix_clk_100hz / 10000))
147 if (dongle_caps->dfp_cap_ext.max_video_h_active_width < timing->h_addressable)
150 if (dongle_caps->dfp_cap_ext.max_video_v_active_height < timing->v_addressable)
153 if (timing->pixel_encoding == PIXEL_ENCODING_RGB) {
156 if (timing->display_color_depth == COLOR_DEPTH_666 &&
159 else if (timing->display_color_depth == COLOR_DEPTH_888 &&
162 else if (timing->display_color_depth == COLOR_DEPTH_101010 &&
165 else if (timing->display_color_depth == COLOR_DEPTH_121212 &&
168 else if (timing->display_color_depth == COLOR_DEPTH_161616 &&
171 } else if (timing->pixel_encoding == PIXEL_ENCODING_YCBCR444) {
174 if (timing->display_color_depth == COLOR_DEPTH_888 &&
177 else if (timing->display_color_depth == COLOR_DEPTH_101010 &&
180 else if (timing->display_color_depth == COLOR_DEPTH_121212 &&
183 else if (timing->display_color_depth == COLOR_DEPTH_161616 &&
186 } else if (timing->pixel_encoding == PIXEL_ENCODING_YCBCR422) {
189 if (timing->display_color_depth == COLOR_DEPTH_888 &&
192 else if (timing->display_color_depth == COLOR_DEPTH_101010 &&
195 else if (timing->display_color_depth == COLOR_DEPTH_121212 &&
198 else if (timing->display_color_depth == COLOR_DEPTH_161616 &&
201 } else if (timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) {
204 if (timing->display_color_depth == COLOR_DEPTH_888 &&
207 else if (timing->display_color_depth == COLOR_DEPTH_101010 &&
210 else if (timing->display_color_depth == COLOR_DEPTH_121212 &&
213 else if (timing->display_color_depth == COLOR_DEPTH_161616 &&
260 const struct dc_crtc_timing *timing)
268 if (timing->pixel_encoding == PIXEL_ENCODING_YCBCR420 &&
274 if ((timing->pix_clk_100hz / 10) == (uint32_t) 25175 &&
275 timing->h_addressable == (uint32_t) 640 &&
276 timing->v_addressable == (uint32_t) 480)
287 req_bw = dc_bandwidth_in_kbps_from_timing(timing, dc_link_get_highest_encoding_format(link));
312 const struct dc_crtc_timing *timing)
324 if (max_pix_clk != 0 && get_tmds_output_pixel_clock_100hz(timing) > max_pix_clk)
328 if (!dp_active_dongle_validate_timing(timing, dpcd_caps))
336 timing))
348 * This function calculates the bandwidth required for the stream timing
369 bw_needed[num_dpias] = dc_bandwidth_in_kbps_from_timing(&stream[i].timing,
390 bw_needed[j] += dc_bandwidth_in_kbps_from_timing(&stream[i].timing,