Lines Matching refs:pixel_format
2219 intel_tile_height(struct drm_device *dev, uint32_t pixel_format, in intel_tile_height() argument
2236 pixel_bytes = drm_format_plane_cpp(pixel_format, plane); in intel_tile_height()
2267 uint32_t pixel_format, uint64_t fb_format_modifier) in intel_fb_align_height() argument
2269 return ALIGN(height, intel_tile_height(dev, pixel_format, in intel_fb_align_height()
2291 info->pixel_format = fb->pixel_format; in intel_fill_fb_ggtt_view()
2296 tile_height = intel_tile_height(fb->dev, fb->pixel_format, in intel_fill_fb_ggtt_view()
2303 if (info->pixel_format == DRM_FORMAT_NV12) { in intel_fill_fb_ggtt_view()
2304 tile_height = intel_tile_height(fb->dev, fb->pixel_format, in intel_fill_fb_ggtt_view()
2562 mode_cmd.pixel_format = fb->pixel_format; in intel_alloc_initial_plane_obj()
2715 pixel_size = drm_format_plane_cpp(fb->pixel_format, 0); in i9xx_update_primary_plane()
2740 switch (fb->pixel_format) { in i9xx_update_primary_plane()
2842 pixel_size = drm_format_plane_cpp(fb->pixel_format, 0); in ironlake_update_primary_plane()
2851 switch (fb->pixel_format) { in ironlake_update_primary_plane()
2920 uint32_t pixel_format) in intel_fb_stride_alignment() argument
2922 u32 bits_per_pixel = drm_format_plane_cpp(pixel_format, 0) * 8; in intel_fb_stride_alignment()
3006 u32 skl_plane_ctl_format(uint32_t pixel_format) in skl_plane_ctl_format() argument
3008 switch (pixel_format) { in skl_plane_ctl_format()
3041 MISSING_CASE(pixel_format); in skl_plane_ctl_format()
3122 plane_ctl |= skl_plane_ctl_format(fb->pixel_format); in skylake_update_primary_plane()
3131 fb->pixel_format); in skylake_update_primary_plane()
3150 tile_height = intel_tile_height(dev, fb->pixel_format, in skylake_update_primary_plane()
4501 switch (fb->pixel_format) { in skl_update_scaler_plane()
4516 intel_plane->base.base.id, fb->base.id, fb->pixel_format); in skl_update_scaler_plane()
8038 int fourcc, pixel_format; in i9xx_get_initial_plane_config() local
8062 pixel_format = val & DISPPLANE_PIXFORMAT_MASK; in i9xx_get_initial_plane_config()
8063 fourcc = i9xx_format_to_fourcc(pixel_format); in i9xx_get_initial_plane_config()
8064 fb->pixel_format = fourcc; in i9xx_get_initial_plane_config()
8086 fb->pixel_format, in i9xx_get_initial_plane_config()
9091 int fourcc, pixel_format; in skylake_get_initial_plane_config() local
9108 pixel_format = val & PLANE_CTL_FORMAT_MASK; in skylake_get_initial_plane_config()
9109 fourcc = skl_format_to_fourcc(pixel_format, in skylake_get_initial_plane_config()
9112 fb->pixel_format = fourcc; in skylake_get_initial_plane_config()
9146 fb->pixel_format); in skylake_get_initial_plane_config()
9150 fb->pixel_format, in skylake_get_initial_plane_config()
9199 int fourcc, pixel_format; in ironlake_get_initial_plane_config() local
9223 pixel_format = val & DISPPLANE_PIXFORMAT_MASK; in ironlake_get_initial_plane_config()
9224 fourcc = i9xx_format_to_fourcc(pixel_format); in ironlake_get_initial_plane_config()
9225 fb->pixel_format = fourcc; in ironlake_get_initial_plane_config()
9247 fb->pixel_format, in ironlake_get_initial_plane_config()
10222 mode_cmd.pixel_format = drm_mode_legacy_fb_format(bpp, depth); in intel_framebuffer_create_for_mode()
11214 fb->pixel_format); in skl_do_mmio_flip()
11425 if (fb->pixel_format != crtc->primary->fb->pixel_format) in intel_crtc_page_flip()
12122 fb->base.id, fb->width, fb->height, fb->pixel_format); in intel_dump_pipe_config()
14290 uint32_t pixel_format) in intel_fb_pitch_limit() argument
14298 return min(8192*drm_format_plane_cpp(pixel_format, 0), 32768); in intel_fb_pitch_limit()
14364 mode_cmd->pixel_format); in intel_framebuffer_init()
14372 mode_cmd->pixel_format); in intel_framebuffer_init()
14389 switch (mode_cmd->pixel_format) { in intel_framebuffer_init()
14398 drm_get_format_name(mode_cmd->pixel_format)); in intel_framebuffer_init()
14405 drm_get_format_name(mode_cmd->pixel_format)); in intel_framebuffer_init()
14414 drm_get_format_name(mode_cmd->pixel_format)); in intel_framebuffer_init()
14421 drm_get_format_name(mode_cmd->pixel_format)); in intel_framebuffer_init()
14431 drm_get_format_name(mode_cmd->pixel_format)); in intel_framebuffer_init()
14437 drm_get_format_name(mode_cmd->pixel_format)); in intel_framebuffer_init()
14446 mode_cmd->pixel_format, in intel_framebuffer_init()