Lines Matching refs:bytes_per_pixel
899 unsigned int bytes_per_pixel, in vlv_wm_method2() argument
905 ret = (ret + 1) * horiz_pixels * bytes_per_pixel; in vlv_wm_method2()
1675 static uint32_t ilk_wm_method1(uint32_t pixel_rate, uint8_t bytes_per_pixel, in ilk_wm_method1() argument
1683 ret = (uint64_t) pixel_rate * bytes_per_pixel * latency; in ilk_wm_method1()
1691 uint32_t horiz_pixels, uint8_t bytes_per_pixel, in ilk_wm_method2() argument
1700 ret = (ret + 1) * horiz_pixels * bytes_per_pixel; in ilk_wm_method2()
1706 uint8_t bytes_per_pixel) in ilk_wm_fbc() argument
1708 return DIV_ROUND_UP(pri_val * 64, horiz_pixels * bytes_per_pixel) + 2; in ilk_wm_fbc()
2848 return (p->horiz_pixels/2) * (p->vert_pixels/2) * p->bytes_per_pixel; in skl_plane_relative_data_rate()
2852 return p->horiz_pixels * p->vert_pixels * p->bytes_per_pixel; in skl_plane_relative_data_rate()
2995 static uint32_t skl_wm_method1(uint32_t pixel_rate, uint8_t bytes_per_pixel, in skl_wm_method1() argument
3003 wm_intermediate_val = latency * pixel_rate * bytes_per_pixel / 512; in skl_wm_method1()
3010 uint32_t horiz_pixels, uint8_t bytes_per_pixel, in skl_wm_method2() argument
3020 plane_bytes_per_line = horiz_pixels * bytes_per_pixel; in skl_wm_method2()
3094 p->plane[0].bytes_per_pixel = fb->pixel_format == DRM_FORMAT_NV12 ? in skl_compute_wm_pipe_parameters()
3102 p->plane[0].bytes_per_pixel = 0; in skl_compute_wm_pipe_parameters()
3114 p->plane[PLANE_CURSOR].bytes_per_pixel = fb->bits_per_pixel / 8; in skl_compute_wm_pipe_parameters()
3119 p->plane[PLANE_CURSOR].bytes_per_pixel = 0; in skl_compute_wm_pipe_parameters()
3147 uint8_t bytes_per_pixel; in skl_compute_plane_wm() local
3152 bytes_per_pixel = p_params->y_bytes_per_pixel ? in skl_compute_plane_wm()
3154 p_params->bytes_per_pixel; in skl_compute_plane_wm()
3156 bytes_per_pixel, in skl_compute_plane_wm()
3161 bytes_per_pixel, in skl_compute_plane_wm()
3165 plane_bytes_per_line = p_params->horiz_pixels * bytes_per_pixel; in skl_compute_plane_wm()
3173 switch (p_params->bytes_per_pixel) { in skl_compute_plane_wm()
3672 intel_plane->wm.bytes_per_pixel = in skl_update_sprite_wm()