pipe_cnt 1838 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c int pipe_cnt, i; pipe_cnt 1840 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c for (i = 0, pipe_cnt = 0; i < dc->res_pool->pipe_count; i++) { pipe_cnt 1847 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].dout.wb_enable = (wb_info->wb_enabled == true) ? 1 : 0; pipe_cnt 1848 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].dout.num_active_wb++; pipe_cnt 1849 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].dout.wb.wb_src_height = wb_info->dwb_params.cnv_params.crop_height; pipe_cnt 1850 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].dout.wb.wb_src_width = wb_info->dwb_params.cnv_params.crop_width; pipe_cnt 1851 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].dout.wb.wb_dst_width = wb_info->dwb_params.dest_width; pipe_cnt 1852 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].dout.wb.wb_dst_height = wb_info->dwb_params.dest_height; pipe_cnt 1853 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].dout.wb.wb_htaps_luma = 1; pipe_cnt 1854 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].dout.wb.wb_vtaps_luma = 1; pipe_cnt 1855 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].dout.wb.wb_htaps_chroma = wb_info->dwb_params.scaler_taps.h_taps_c; pipe_cnt 1856 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].dout.wb.wb_vtaps_chroma = wb_info->dwb_params.scaler_taps.v_taps_c; pipe_cnt 1857 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].dout.wb.wb_hratio = 1.0; pipe_cnt 1858 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].dout.wb.wb_vratio = 1.0; pipe_cnt 1861 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].dout.wb.wb_pixel_format = dm_420_8; pipe_cnt 1863 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].dout.wb.wb_pixel_format = dm_420_10; pipe_cnt 1865 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].dout.wb.wb_pixel_format = dm_444_32; pipe_cnt 1867 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipe_cnt++; pipe_cnt 1875 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c int pipe_cnt, i; pipe_cnt 1878 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c for (i = 0, pipe_cnt = -1; i < dc->res_pool->pipe_count; i++) { pipe_cnt 1882 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c if (pipe_cnt < 0) { pipe_cnt 1883 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipe_cnt = i; pipe_cnt 1887 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c res_ctx->pipe_ctx[pipe_cnt].stream, pipe_cnt 1894 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c for (i = 0, pipe_cnt = 0; i < dc->res_pool->pipe_count; i++) { pipe_cnt 1906 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].dout.dsc_enable = res_ctx->pipe_ctx[i].stream->timing.flags.DSC; pipe_cnt 1908 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].dout.dsc_slices = res_ctx->pipe_ctx[i].stream->timing.dsc_cfg.num_slices_h; pipe_cnt 1911 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.dynamic_metadata_enable = true; pipe_cnt 1913 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.dynamic_metadata_lines_before_active = pipe_cnt 1917 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.dynamic_metadata_xmit_bytes = pipe_cnt 1920 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.dcc = false; pipe_cnt 1921 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.dcc_rate = 1; pipe_cnt 1922 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.synchronized_vblank_all_planes = synchronized_vblank; pipe_cnt 1923 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.hblank_start = timing->h_total - timing->h_front_porch; pipe_cnt 1924 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.hblank_end = pipes[pipe_cnt].pipe.dest.hblank_start pipe_cnt 1928 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.vblank_start = timing->v_total - timing->v_front_porch; pipe_cnt 1929 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.vblank_end = pipes[pipe_cnt].pipe.dest.vblank_start pipe_cnt 1933 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.htotal = timing->h_total; pipe_cnt 1934 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.vtotal = timing->v_total; pipe_cnt 1935 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.hactive = timing->h_addressable; pipe_cnt 1936 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.vactive = timing->v_addressable; pipe_cnt 1937 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.interlaced = timing->flags.INTERLACE; pipe_cnt 1938 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.pixel_rate_mhz = timing->pix_clk_100hz/10000.0; pipe_cnt 1940 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.pixel_rate_mhz *= 2; pipe_cnt 1941 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.otg_inst = res_ctx->pipe_ctx[i].stream_res.tg->inst; pipe_cnt 1942 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].dout.dp_lanes = 4; pipe_cnt 1943 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.vtotal_min = res_ctx->pipe_ctx[i].stream->adjust.v_total_min; pipe_cnt 1944 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.vtotal_max = res_ctx->pipe_ctx[i].stream->adjust.v_total_max; pipe_cnt 1945 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.odm_combine = res_ctx->pipe_ctx[i].prev_odm_pipe pipe_cnt 1947 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.hsplit_grp = res_ctx->pipe_ctx[i].pipe_idx; pipe_cnt 1950 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.hsplit_grp = res_ctx->pipe_ctx[i].top_pipe->pipe_idx; pipe_cnt 1956 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.hsplit_grp = first_pipe->pipe_idx; pipe_cnt 1962 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].dout.output_type = dm_dp; pipe_cnt 1965 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].dout.output_type = dm_edp; pipe_cnt 1970 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].dout.output_type = dm_hdmi; pipe_cnt 1974 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].dout.output_type = dm_dp; pipe_cnt 1975 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].dout.dp_lanes = 4; pipe_cnt 2013 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].dout.output_format = dm_444; pipe_cnt 2014 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].dout.output_bpp = output_bpc * 3; pipe_cnt 2017 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].dout.output_format = dm_420; pipe_cnt 2018 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].dout.output_bpp = (output_bpc * 3) / 2; pipe_cnt 2022 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].dout.output_format = dm_s422; pipe_cnt 2024 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].dout.output_format = dm_n422; pipe_cnt 2025 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].dout.output_bpp = output_bpc * 2; pipe_cnt 2028 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].dout.output_format = dm_444; pipe_cnt 2029 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].dout.output_bpp = output_bpc * 3; pipe_cnt 2033 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].dout.output_bpc = 12; pipe_cnt 2038 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.num_cursors = 2; pipe_cnt 2039 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.cur0_src_width = 256; pipe_cnt 2040 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.cur0_bpp = dm_cur_32bit; pipe_cnt 2041 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.cur1_src_width = 256; pipe_cnt 2042 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.cur1_bpp = dm_cur_32bit; pipe_cnt 2045 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.source_scan = dm_horz; pipe_cnt 2046 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.sw_mode = dm_sw_linear; pipe_cnt 2047 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.macro_tile_size = dm_64k_tile; pipe_cnt 2048 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.viewport_width = timing->h_addressable; pipe_cnt 2049 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c if (pipes[pipe_cnt].pipe.src.viewport_width > 1920) pipe_cnt 2050 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.viewport_width = 1920; pipe_cnt 2051 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.viewport_height = timing->v_addressable; pipe_cnt 2052 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c if (pipes[pipe_cnt].pipe.src.viewport_height > 1080) pipe_cnt 2053 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.viewport_height = 1080; pipe_cnt 2054 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.data_pitch = ((pipes[pipe_cnt].pipe.src.viewport_width + 63) / 64) * 64; /* linear sw only */ pipe_cnt 2055 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.source_format = dm_444_32; pipe_cnt 2056 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.recout_width = pipes[pipe_cnt].pipe.src.viewport_width; /*vp_width/hratio*/ pipe_cnt 2057 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.recout_height = pipes[pipe_cnt].pipe.src.viewport_height; /*vp_height/vratio*/ pipe_cnt 2058 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.full_recout_width = pipes[pipe_cnt].pipe.dest.recout_width; /*when is_hsplit != 1*/ pipe_cnt 2059 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.full_recout_height = pipes[pipe_cnt].pipe.dest.recout_height; /*when is_hsplit != 1*/ pipe_cnt 2060 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.scale_ratio_depth.lb_depth = dm_lb_16; pipe_cnt 2061 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.scale_ratio_depth.hscl_ratio = 1.0; pipe_cnt 2062 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.scale_ratio_depth.vscl_ratio = 1.0; pipe_cnt 2063 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.scale_ratio_depth.scl_enable = 0; /*Lb only or Full scl*/ pipe_cnt 2064 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.scale_taps.htaps = 1; pipe_cnt 2065 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.scale_taps.vtaps = 1; pipe_cnt 2066 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.is_hsplit = 0; pipe_cnt 2067 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.odm_combine = 0; pipe_cnt 2068 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.vtotal_min = timing->v_total; pipe_cnt 2069 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.vtotal_max = timing->v_total; pipe_cnt 2074 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.immediate_flip = pln->flip_immediate; pipe_cnt 2075 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.is_hsplit = (res_ctx->pipe_ctx[i].bottom_pipe pipe_cnt 2079 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.source_scan = pln->rotation == ROTATION_ANGLE_90 pipe_cnt 2081 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.viewport_y_y = scl->viewport.y; pipe_cnt 2082 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.viewport_y_c = scl->viewport_c.y; pipe_cnt 2083 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.viewport_width = scl->viewport.width; pipe_cnt 2084 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.viewport_width_c = scl->viewport_c.width; pipe_cnt 2085 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.viewport_height = scl->viewport.height; pipe_cnt 2086 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.viewport_height_c = scl->viewport_c.height; pipe_cnt 2088 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.data_pitch = pln->plane_size.surface_pitch; pipe_cnt 2089 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.data_pitch_c = pln->plane_size.chroma_pitch; pipe_cnt 2090 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.meta_pitch = pln->dcc.meta_pitch; pipe_cnt 2091 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.meta_pitch_c = pln->dcc.meta_pitch_c; pipe_cnt 2093 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.data_pitch = pln->plane_size.surface_pitch; pipe_cnt 2094 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.meta_pitch = pln->dcc.meta_pitch; pipe_cnt 2096 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.dcc = pln->dcc.enable; pipe_cnt 2097 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.recout_width = scl->recout.width; pipe_cnt 2098 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.recout_height = scl->recout.height; pipe_cnt 2099 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.full_recout_width = scl->recout.width; pipe_cnt 2100 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.full_recout_height = scl->recout.height; pipe_cnt 2102 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.full_recout_width += pipe_cnt 2104 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.full_recout_height += pipe_cnt 2107 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.full_recout_width += pipe_cnt 2109 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.full_recout_height += pipe_cnt 2113 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.scale_ratio_depth.lb_depth = dm_lb_16; pipe_cnt 2114 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.scale_ratio_depth.hscl_ratio = (double) scl->ratios.horz.value / (1ULL<<32); pipe_cnt 2115 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.scale_ratio_depth.hscl_ratio_c = (double) scl->ratios.horz_c.value / (1ULL<<32); pipe_cnt 2116 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.scale_ratio_depth.vscl_ratio = (double) scl->ratios.vert.value / (1ULL<<32); pipe_cnt 2117 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.scale_ratio_depth.vscl_ratio_c = (double) scl->ratios.vert_c.value / (1ULL<<32); pipe_cnt 2118 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.scale_ratio_depth.scl_enable = pipe_cnt 2124 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.scale_taps.htaps = scl->taps.h_taps; pipe_cnt 2125 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.scale_taps.htaps_c = scl->taps.h_taps_c; pipe_cnt 2126 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.scale_taps.vtaps = scl->taps.v_taps; pipe_cnt 2127 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.scale_taps.vtaps_c = scl->taps.v_taps_c; pipe_cnt 2129 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.macro_tile_size = pipe_cnt 2132 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c &pipes[pipe_cnt].pipe.src.sw_mode); pipe_cnt 2137 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.source_format = dm_420_8; pipe_cnt 2141 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.source_format = dm_420_10; pipe_cnt 2146 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.source_format = dm_444_64; pipe_cnt 2150 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.source_format = dm_444_16; pipe_cnt 2153 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.source_format = dm_444_8; pipe_cnt 2156 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.source_format = dm_444_32; pipe_cnt 2161 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipe_cnt++; pipe_cnt 2167 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c return pipe_cnt; pipe_cnt 2203 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c int pipe_cnt) pipe_cnt 2232 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c wb_arb_params->cli_watermark[k] = get_wm_writeback_urgent(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000; pipe_cnt 2233 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c wb_arb_params->pstate_watermark[k] = get_wm_writeback_dram_clock_change(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000; pipe_cnt 2374 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c int pipe_cnt, i, pipe_idx, vlevel, vlevel_unsplit; pipe_cnt 2443 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipe_cnt = dc->res_pool->funcs->populate_dml_pipes(dc, pipe_cnt 2446 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipe_cnt = dcn20_populate_dml_pipes_from_context(dc, pipe_cnt 2449 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c *pipe_cnt_out = pipe_cnt; pipe_cnt 2451 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c if (!pipe_cnt) { pipe_cnt 2458 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c vlevel = dml_get_voltage_level(&context->bw_ctx.dml, pipes, pipe_cnt); pipe_cnt 2472 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c vlevel = dml_get_voltage_level(&context->bw_ctx.dml, pipes, pipe_cnt); pipe_cnt 2635 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c int pipe_cnt, i, pipe_idx; pipe_cnt 2637 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c for (i = 0, pipe_idx = 0, pipe_cnt = 0; i < dc->res_pool->pipe_count; i++) { pipe_cnt 2641 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].clks_cfg.refclk_mhz = dc->res_pool->ref_clocks.dchub_ref_clock_inKhz / 1000.0; pipe_cnt 2642 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].clks_cfg.dispclk_mhz = context->bw_ctx.dml.vba.RequiredDISPCLK[vlevel][context->bw_ctx.dml.vba.maxMpcComb]; pipe_cnt 2645 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].clks_cfg.dppclk_mhz = pipe_cnt 2648 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.odm_combine = pipe_cnt 2651 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.odm_combine = 0; pipe_cnt 2654 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].clks_cfg.dppclk_mhz = pipe_cnt 2657 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.odm_combine = pipe_cnt 2660 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.odm_combine = 0; pipe_cnt 2664 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].clks_cfg.dispclk_mhz = context->bw_ctx.dml.soc.clock_limits[0].dispclk_mhz; pipe_cnt 2665 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].clks_cfg.dppclk_mhz = context->bw_ctx.dml.soc.clock_limits[0].dppclk_mhz; pipe_cnt 2667 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c if (dc->debug.min_disp_clk_khz > pipes[pipe_cnt].clks_cfg.dispclk_mhz * 1000) pipe_cnt 2668 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].clks_cfg.dispclk_mhz = dc->debug.min_disp_clk_khz / 1000.0; pipe_cnt 2669 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c if (dc->debug.min_dpp_clk_khz > pipes[pipe_cnt].clks_cfg.dppclk_mhz * 1000) pipe_cnt 2670 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].clks_cfg.dppclk_mhz = dc->debug.min_dpp_clk_khz / 1000.0; pipe_cnt 2672 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipe_cnt++; pipe_cnt 2675 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c if (pipe_cnt != pipe_idx) { pipe_cnt 2677 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipe_cnt = dc->res_pool->funcs->populate_dml_pipes(dc, pipe_cnt 2680 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipe_cnt = dcn20_populate_dml_pipes_from_context(dc, pipe_cnt 2684 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c *out_pipe_cnt = pipe_cnt; pipe_cnt 2696 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c context->bw_ctx.bw.dcn.watermarks.b.urgent_ns = get_wm_urgent(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000; pipe_cnt 2697 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter_exit(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000; pipe_cnt 2698 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.cstate_exit_ns = get_wm_stutter_exit(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000; pipe_cnt 2699 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000; pipe_cnt 2700 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c context->bw_ctx.bw.dcn.watermarks.b.pte_meta_urgent_ns = get_wm_memory_trip(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000; pipe_cnt 2707 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c context->bw_ctx.bw.dcn.watermarks.c.urgent_ns = get_wm_urgent(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000; pipe_cnt 2708 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter_exit(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000; pipe_cnt 2709 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.cstate_exit_ns = get_wm_stutter_exit(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000; pipe_cnt 2710 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000; pipe_cnt 2711 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c context->bw_ctx.bw.dcn.watermarks.c.pte_meta_urgent_ns = get_wm_memory_trip(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000; pipe_cnt 2718 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c context->bw_ctx.bw.dcn.watermarks.d.urgent_ns = get_wm_urgent(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000; pipe_cnt 2719 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c context->bw_ctx.bw.dcn.watermarks.d.cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter_exit(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000; pipe_cnt 2720 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c context->bw_ctx.bw.dcn.watermarks.d.cstate_pstate.cstate_exit_ns = get_wm_stutter_exit(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000; pipe_cnt 2721 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c context->bw_ctx.bw.dcn.watermarks.d.cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000; pipe_cnt 2722 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c context->bw_ctx.bw.dcn.watermarks.d.pte_meta_urgent_ns = get_wm_memory_trip(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000; pipe_cnt 2727 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c context->bw_ctx.bw.dcn.watermarks.a.urgent_ns = get_wm_urgent(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000; pipe_cnt 2728 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter_exit(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000; pipe_cnt 2729 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.cstate_exit_ns = get_wm_stutter_exit(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000; pipe_cnt 2730 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000; pipe_cnt 2731 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c context->bw_ctx.bw.dcn.watermarks.a.pte_meta_urgent_ns = get_wm_memory_trip(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000; pipe_cnt 2737 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c int pipe_cnt, pipe_cnt 2744 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c dc->res_pool->funcs->set_mcif_arb_params(dc, context, pipes, pipe_cnt); pipe_cnt 2779 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c for (j = pipe_idx + 1; j < pipe_cnt; j++) { pipe_cnt 2825 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipe_cnt, pipe_cnt 2847 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c int pipe_cnt = 0; pipe_cnt 2853 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c out = dcn20_fast_validate_bw(dc, context, pipes, &pipe_cnt, pipe_split_from, &vlevel); pipe_cnt 2855 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c if (pipe_cnt == 0) pipe_cnt 2868 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c dcn20_calculate_wm(dc, context, pipes, &pipe_cnt, pipe_split_from, vlevel); pipe_cnt 2869 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c dcn20_calculate_dlg_params(dc, context, pipes, pipe_cnt, vlevel); pipe_cnt 117 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.h int pipe_cnt); pipe_cnt 129 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.h int pipe_cnt, pipe_cnt 954 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c int pipe_cnt) pipe_cnt 966 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c wm_set->urgent_ns = get_wm_urgent(dml, pipes, pipe_cnt) * 1000; pipe_cnt 967 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c wm_set->cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter_exit(dml, pipes, pipe_cnt) * 1000; pipe_cnt 968 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c wm_set->cstate_pstate.cstate_exit_ns = get_wm_stutter_exit(dml, pipes, pipe_cnt) * 1000; pipe_cnt 969 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c wm_set->cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(dml, pipes, pipe_cnt) * 1000; pipe_cnt 970 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c wm_set->pte_meta_urgent_ns = get_wm_memory_trip(dml, pipes, pipe_cnt) * 1000; pipe_cnt 972 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c wm_set->frac_urg_bw_nom = get_fraction_of_urgent_bandwidth(dml, pipes, pipe_cnt) * 1000; pipe_cnt 973 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c wm_set->frac_urg_bw_flip = get_fraction_of_urgent_bandwidth_imm_flip(dml, pipes, pipe_cnt) * 1000; pipe_cnt 986 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c int pipe_cnt, i, pipe_idx; pipe_cnt 993 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c for (i = 0, pipe_idx = 0, pipe_cnt = 0; i < dc->res_pool->pipe_count; i++) { pipe_cnt 997 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c pipes[pipe_cnt].clks_cfg.refclk_mhz = dc->res_pool->ref_clocks.dchub_ref_clock_inKhz / 1000.0; pipe_cnt 998 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c pipes[pipe_cnt].clks_cfg.dispclk_mhz = context->bw_ctx.dml.vba.RequiredDISPCLK[vlevel_req][context->bw_ctx.dml.vba.maxMpcComb]; pipe_cnt 1001 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c pipes[pipe_cnt].clks_cfg.dppclk_mhz = pipe_cnt 1004 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c pipes[pipe_cnt].pipe.dest.odm_combine = pipe_cnt 1007 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c pipes[pipe_cnt].pipe.dest.odm_combine = 0; pipe_cnt 1010 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c pipes[pipe_cnt].clks_cfg.dppclk_mhz = pipe_cnt 1013 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c pipes[pipe_cnt].pipe.dest.odm_combine = pipe_cnt 1016 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c pipes[pipe_cnt].pipe.dest.odm_combine = 0; pipe_cnt 1018 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c pipe_cnt++; pipe_cnt 1021 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c if (pipe_cnt != pipe_idx) { pipe_cnt 1023 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c pipe_cnt = dc->res_pool->funcs->populate_dml_pipes(dc, pipe_cnt 1026 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c pipe_cnt = dcn20_populate_dml_pipes_from_context(dc, pipe_cnt 1030 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c *out_pipe_cnt = pipe_cnt; pipe_cnt 1042 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c &context->bw_ctx.dml, pipes, pipe_cnt); pipe_cnt 1047 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c &context->bw_ctx.dml, pipes, pipe_cnt); pipe_cnt 1052 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c &context->bw_ctx.dml, pipes, pipe_cnt); pipe_cnt 1058 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c &context->bw_ctx.dml, pipes, pipe_cnt); pipe_cnt 1071 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c int pipe_cnt = 0; pipe_cnt 1077 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c out = dcn20_fast_validate_bw(dc, context, pipes, &pipe_cnt, pipe_split_from, &vlevel); pipe_cnt 1079 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c if (pipe_cnt == 0) pipe_cnt 1092 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c dcn21_calculate_wm(dc, context, pipes, &pipe_cnt, pipe_split_from, vlevel); pipe_cnt 1093 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c dcn20_calculate_dlg_params(dc, context, pipes, pipe_cnt, vlevel); pipe_cnt 146 drivers/gpu/drm/amd/display/dc/inc/core_types.h int pipe_cnt); pipe_cnt 691 drivers/usb/host/r8a66597-hcd.c if (r8a66597->pipe_cnt[min] > r8a66597->pipe_cnt[array[i]]) pipe_cnt 808 drivers/usb/host/r8a66597-hcd.c r8a66597->pipe_cnt[pipe->info.pipenum]++; pipe_cnt 809 drivers/usb/host/r8a66597-hcd.c dev->pipe_cnt[pipe->info.pipenum]++; pipe_cnt 870 drivers/usb/host/r8a66597-hcd.c if (!dev->pipe_cnt[pipenum]) pipe_cnt 878 drivers/usb/host/r8a66597-hcd.c r8a66597->pipe_cnt[pipenum] -= dev->pipe_cnt[pipenum]; pipe_cnt 879 drivers/usb/host/r8a66597-hcd.c dev->pipe_cnt[pipenum] = 0; pipe_cnt 79 drivers/usb/host/r8a66597.h unsigned char pipe_cnt[R8A66597_MAX_NUM_PIPE]; pipe_cnt 120 drivers/usb/host/r8a66597.h unsigned char pipe_cnt[R8A66597_MAX_NUM_PIPE];