Lines Matching defs:params

481 	 *   - changing FBC params (stride, fence, mode)
1031 * @wm: chip FIFO params
2204 static uint32_t hsw_compute_pri_wm(struct hsw_pipe_wm_parameters *params,
2211 if (!params->active)
2214 method1 = hsw_wm_method1(params->pixel_rate,
2215 params->pri_bytes_per_pixel,
2221 method2 = hsw_wm_method2(params->pixel_rate,
2222 params->pipe_htotal,
2223 params->pri_horiz_pixels,
2224 params->pri_bytes_per_pixel,
2231 static uint32_t hsw_compute_spr_wm(struct hsw_pipe_wm_parameters *params,
2236 if (!params->active || !params->sprite_enabled)
2239 method1 = hsw_wm_method1(params->pixel_rate,
2240 params->spr_bytes_per_pixel,
2242 method2 = hsw_wm_method2(params->pixel_rate,
2243 params->pipe_htotal,
2244 params->spr_horiz_pixels,
2245 params->spr_bytes_per_pixel,
2251 static uint32_t hsw_compute_cur_wm(struct hsw_pipe_wm_parameters *params,
2254 if (!params->active)
2257 return hsw_wm_method2(params->pixel_rate,
2258 params->pipe_htotal,
2259 params->cur_horiz_pixels,
2260 params->cur_bytes_per_pixel,
2265 static uint32_t hsw_compute_fbc_wm(struct hsw_pipe_wm_parameters *params,
2269 if (!params->active)
2273 params->pri_horiz_pixels,
2274 params->pri_bytes_per_pixel);
2278 struct hsw_pipe_wm_parameters *params,
2285 struct hsw_pipe_wm_parameters *p = &params[pipe];
2313 struct hsw_pipe_wm_parameters *params)
2317 pri_val = hsw_compute_pri_wm(params, mem_value, false);
2318 spr_val = hsw_compute_spr_wm(params, mem_value);
2319 cur_val = hsw_compute_cur_wm(params, mem_value);
2359 struct hsw_pipe_wm_parameters *params,
2385 p = &params[pipe];
2407 p = &params[pipe];
2432 struct hsw_pipe_wm_parameters *params,
2444 if (!hsw_compute_lp_wm(wm[level], lp_maximums, params,
2478 &params[pipe]);
2613 struct hsw_pipe_wm_parameters params[3];
2618 hsw_compute_wm_parameters(dev, params, wm, &lp_max_1_2, &lp_max_5_6);
2620 hsw_compute_wm_results(dev, params, wm, &lp_max_1_2, &results_1_2);
2622 hsw_compute_wm_results(dev, params, wm, &lp_max_5_6,