Home
last modified time | relevance | path

Searched refs:color_plane (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.15/drivers/gpu/drm/i915/display/
Dintel_fb.c33 bool is_semiplanar_uv_plane(const struct drm_framebuffer *fb, int color_plane) in is_semiplanar_uv_plane() argument
36 color_plane == 1; in is_semiplanar_uv_plane()
39 bool is_surface_linear(const struct drm_framebuffer *fb, int color_plane) in is_surface_linear() argument
42 is_gen12_ccs_plane(fb, color_plane); in is_surface_linear()
82 unsigned int intel_tile_height(const struct drm_framebuffer *fb, int color_plane) in intel_tile_height() argument
84 if (is_gen12_ccs_plane(fb, color_plane)) in intel_tile_height()
88 intel_tile_width_bytes(fb, color_plane); in intel_tile_height()
92 static void intel_tile_dims(const struct drm_framebuffer *fb, int color_plane, in intel_tile_dims() argument
96 unsigned int tile_width_bytes = intel_tile_width_bytes(fb, color_plane); in intel_tile_dims()
97 unsigned int cpp = fb->format->cpp[color_plane]; in intel_tile_dims()
[all …]
Dintel_fb.h22 bool is_semiplanar_uv_plane(const struct drm_framebuffer *fb, int color_plane);
24 bool is_surface_linear(const struct drm_framebuffer *fb, int color_plane);
31 unsigned int intel_tile_height(const struct drm_framebuffer *fb, int color_plane);
32 unsigned int intel_tile_row_size(const struct drm_framebuffer *fb, int color_plane);
38 int color_plane);
42 int color_plane,
46 int color_plane);
Dskl_universal_plane.c360 int color_plane, in skl_plane_max_width() argument
363 int cpp = fb->format->cpp[color_plane]; in skl_plane_max_width()
399 int color_plane, in glk_plane_max_width() argument
402 int cpp = fb->format->cpp[color_plane]; in glk_plane_max_width()
427 int color_plane, in icl_plane_min_width() argument
467 int color_plane, in icl_plane_max_width() argument
474 int color_plane, in skl_plane_max_height() argument
481 int color_plane, in icl_plane_max_height() argument
616 int color_plane, unsigned int rotation) in skl_plane_stride_mult() argument
622 if (is_surface_linear(fb, color_plane)) in skl_plane_stride_mult()
[all …]
Di9xx_plane.c275 while ((src_x + src_w) * cpp > plane_state->view.color_plane[0].stride) { in i9xx_check_plane_surface()
315 plane_state->view.color_plane[0].offset = offset; in i9xx_check_plane_surface()
316 plane_state->view.color_plane[0].x = src_x; in i9xx_check_plane_surface()
317 plane_state->view.color_plane[0].y = src_y; in i9xx_check_plane_surface()
428 int x = plane_state->view.color_plane[0].x; in i9xx_update_plane()
429 int y = plane_state->view.color_plane[0].y; in i9xx_update_plane()
443 dspaddr_offset = plane_state->view.color_plane[0].offset; in i9xx_update_plane()
450 plane_state->view.color_plane[0].stride); in i9xx_update_plane()
535 u32 dspaddr_offset = plane_state->view.color_plane[0].offset; in g4x_primary_async_flip()
556 u32 dspaddr_offset = plane_state->view.color_plane[0].offset; in vlv_primary_async_flip()
Dintel_cursor.c49 return base + plane_state->view.color_plane[0].offset; in intel_cursor_base()
129 plane_state->view.color_plane[0].offset = offset; in intel_cursor_check_surface()
130 plane_state->view.color_plane[0].x = src_x; in intel_cursor_check_surface()
131 plane_state->view.color_plane[0].y = src_y; in intel_cursor_check_surface()
198 CURSOR_STRIDE(plane_state->view.color_plane[0].stride); in i845_cursor_ctl()
237 plane_state->view.color_plane[0].stride != fb->pitches[0]); in i845_check_cursor()
458 plane_state->view.color_plane[0].stride != fb->pitches[0]); in i9xx_check_cursor()
Dintel_sprite.c427 u32 sprsurf_offset = plane_state->view.color_plane[0].offset; in vlv_update_plane()
434 u32 x = plane_state->view.color_plane[0].x; in vlv_update_plane()
435 u32 y = plane_state->view.color_plane[0].y; in vlv_update_plane()
450 plane_state->view.color_plane[0].stride); in vlv_update_plane()
844 u32 sprsurf_offset = plane_state->view.color_plane[0].offset; in ivb_update_plane()
851 u32 x = plane_state->view.color_plane[0].x; in ivb_update_plane()
852 u32 y = plane_state->view.color_plane[0].y; in ivb_update_plane()
874 plane_state->view.color_plane[0].stride); in ivb_update_plane()
1172 u32 dvssurf_offset = plane_state->view.color_plane[0].offset; in g4x_update_plane()
1179 u32 x = plane_state->view.color_plane[0].x; in g4x_update_plane()
[all …]
Dintel_psr.h53 int color_plane);
Dintel_display.h552 int color_plane, unsigned int height);
634 int color_plane);
635 unsigned int intel_tile_width_bytes(const struct drm_framebuffer *fb, int color_plane);
Dintel_display_types.h121 } color_plane[4]; member
1349 int color_plane,
1352 int color_plane,
1355 int color_plane,
Dintel_display.c1057 intel_tile_width_bytes(const struct drm_framebuffer *fb, int color_plane) in intel_tile_width_bytes() argument
1060 unsigned int cpp = fb->format->cpp[color_plane]; in intel_tile_width_bytes()
1071 if (is_ccs_plane(fb, color_plane)) in intel_tile_width_bytes()
1077 if (is_ccs_plane(fb, color_plane)) in intel_tile_width_bytes()
1086 if (is_ccs_plane(fb, color_plane)) in intel_tile_width_bytes()
1112 int color_plane, unsigned int height) in intel_fb_align_height() argument
1114 unsigned int tile_height = intel_tile_height(fb, color_plane); in intel_fb_align_height()
1160 int color_plane) in intel_surf_alignment() argument
1168 if (is_ccs_plane(fb, color_plane)) in intel_surf_alignment()
1171 if (is_semiplanar_uv_plane(fb, color_plane)) { in intel_surf_alignment()
[all …]
Dintel_fbc.c714 cache->plane.adjusted_x = plane_state->view.color_plane[0].x; in intel_fbc_update_state_cache()
715 cache->plane.adjusted_y = plane_state->view.color_plane[0].y; in intel_fbc_update_state_cache()
723 cache->fb.stride = plane_state->view.color_plane[0].stride; in intel_fbc_update_state_cache()
Dintel_psr.c1485 int color_plane) in intel_psr2_program_plane_sel_fetch() argument
/Linux-v5.15/drivers/gpu/drm/i915/
Dintel_pm.c4245 int color_plane);
4913 int color_plane) in skl_plane_relative_data_rate() argument
4928 if (color_plane == 1 && in skl_plane_relative_data_rate()
4941 if (color_plane == 1) { in skl_plane_relative_data_rate()
4952 rate *= fb->format->cpp[color_plane]; in skl_plane_relative_data_rate()
5366 int color_plane) in skl_compute_wm_params() argument
5373 if (color_plane == 1 && in skl_compute_wm_params()
5390 if (color_plane == 1 && wp->is_planar) in skl_compute_wm_params()
5393 wp->cpp = format->cpp[color_plane]; in skl_compute_wm_params()
5457 struct skl_wm_params *wp, int color_plane) in skl_compute_plane_wm_params() argument
[all …]