Lines Matching refs:pixel_format
942 pixel_size = drm_format_plane_cpp(state->base.fb->pixel_format, 0); in vlv_compute_wm_level()
983 total_rate += drm_format_plane_cpp(state->base.fb->pixel_format, 0); in vlv_compute_fifo()
1002 rate = drm_format_plane_cpp(state->base.fb->pixel_format, 0); in vlv_compute_fifo()
3094 p->plane[0].bytes_per_pixel = fb->pixel_format == DRM_FORMAT_NV12 ? in skl_compute_wm_pipe_parameters()
3095 drm_format_plane_cpp(fb->pixel_format, 1) : in skl_compute_wm_pipe_parameters()
3096 drm_format_plane_cpp(fb->pixel_format, 0); in skl_compute_wm_pipe_parameters()
3097 p->plane[0].y_bytes_per_pixel = fb->pixel_format == DRM_FORMAT_NV12 ? in skl_compute_wm_pipe_parameters()
3098 drm_format_plane_cpp(fb->pixel_format, 0) : 0; in skl_compute_wm_pipe_parameters()
3673 (fb && fb->pixel_format == DRM_FORMAT_NV12) ? in skl_update_sprite_wm()
3674 drm_format_plane_cpp(plane->state->fb->pixel_format, 1) : pixel_size; in skl_update_sprite_wm()
3676 (fb && fb->pixel_format == DRM_FORMAT_NV12) ? in skl_update_sprite_wm()
3677 drm_format_plane_cpp(plane->state->fb->pixel_format, 0) : 0; in skl_update_sprite_wm()