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

/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_fb.h37 bool intel_fb_is_ccs_aux_plane(const struct drm_framebuffer *fb, int color_plane);
51 bool is_surface_linear(const struct drm_framebuffer *fb, int color_plane);
58 unsigned int intel_tile_width_bytes(const struct drm_framebuffer *fb, int color_plane);
59 unsigned int intel_tile_height(const struct drm_framebuffer *fb, int color_plane);
60 unsigned int intel_tile_row_size(const struct drm_framebuffer *fb, int color_plane);
62 int color_plane, unsigned int height);
65 int color_plane);
69 int color_plane);
73 int color_plane,
77 int color_plane);
[all...]
H A Dintel_fb.c533 * @color_plane: color plane index to check
536 * Returns %true if @fb's color plane at index @color_plane is a CCS AUX plane.
538 bool intel_fb_is_ccs_aux_plane(const struct drm_framebuffer *fb, int color_plane) argument
542 return ccs_aux_plane_mask(md, fb->format) & BIT(color_plane);
548 * @color_plane: color plane index to check
551 * Returns %true if @fb's color plane at index @color_plane is a GEN12 CCS AUX plane.
553 static bool intel_fb_is_gen12_ccs_aux_plane(const struct drm_framebuffer *fb, int color_plane) argument
558 ccs_aux_plane_mask(md, fb->format) & BIT(color_plane);
581 static bool is_gen12_ccs_cc_plane(const struct drm_framebuffer *fb, int color_plane) argument
583 return intel_fb_rc_ccs_cc_plane(fb) == color_plane;
586 is_semiplanar_uv_plane(const struct drm_framebuffer *fb, int color_plane) argument
592 is_surface_linear(const struct drm_framebuffer *fb, int color_plane) argument
647 intel_tile_width_bytes(const struct drm_framebuffer *fb, int color_plane) argument
713 intel_tile_height(const struct drm_framebuffer *fb, int color_plane) argument
723 intel_tile_dims(const struct drm_framebuffer *fb, int color_plane, unsigned int *tile_width, unsigned int *tile_height) argument
739 intel_tile_block_dims(const struct drm_framebuffer *fb, int color_plane, unsigned int *tile_width, unsigned int *tile_height) argument
749 intel_tile_row_size(const struct drm_framebuffer *fb, int color_plane) argument
759 intel_fb_align_height(const struct drm_framebuffer *fb, int color_plane, unsigned int height) argument
803 intel_surf_alignment(const struct drm_framebuffer *fb, int color_plane) argument
862 intel_fb_plane_get_subsampling(int *hsub, int *vsub, const struct drm_framebuffer *fb, int color_plane) argument
904 intel_fb_plane_dims(const struct intel_framebuffer *fb, int color_plane, int *w, int *h) argument
961 intel_adjust_aligned_offset(int *x, int *y, const struct drm_framebuffer *fb, int color_plane, unsigned int rotation, unsigned int pitch, u32 old_offset, u32 new_offset) argument
1002 intel_plane_adjust_aligned_offset(int *x, int *y, const struct intel_plane_state *state, int color_plane, u32 old_offset, u32 new_offset) argument
1027 intel_compute_aligned_offset(struct drm_i915_private *i915, int *x, int *y, const struct drm_framebuffer *fb, int color_plane, unsigned int pitch, unsigned int rotation, u32 alignment) argument
1082 intel_plane_compute_aligned_offset(int *x, int *y, const struct intel_plane_state *state, int color_plane) argument
1103 intel_fb_offset_to_xy(int *x, int *y, const struct drm_framebuffer *fb, int color_plane) argument
1248 intel_fb_pitch(const struct intel_framebuffer *fb, int color_plane, unsigned int rotation) argument
1286 convert_plane_offset_to_xy(const struct intel_framebuffer *fb, int color_plane, int plane_width, int *x, int *y) argument
1324 calc_plane_aligned_offset(const struct intel_framebuffer *fb, int color_plane, int *x, int *y) argument
1343 init_plane_view_dims(const struct intel_framebuffer *fb, int color_plane, unsigned int width, unsigned int height, struct fb_plane_view_dims *dims) argument
1354 plane_view_src_stride_tiles(const struct intel_framebuffer *fb, int color_plane, const struct fb_plane_view_dims *dims) argument
1362 plane_view_dst_stride_tiles(const struct intel_framebuffer *fb, int color_plane, unsigned int pitch_tiles) argument
1377 plane_view_scanout_stride(const struct intel_framebuffer *fb, int color_plane, unsigned int tile_width, unsigned int src_stride_tiles, unsigned int dst_stride_tiles) argument
1394 plane_view_width_tiles(const struct intel_framebuffer *fb, int color_plane, const struct fb_plane_view_dims *dims, int x) argument
1402 plane_view_height_tiles(const struct intel_framebuffer *fb, int color_plane, const struct fb_plane_view_dims *dims, int y) argument
1410 plane_view_linear_tiles(const struct intel_framebuffer *fb, int color_plane, const struct fb_plane_view_dims *dims, int x, int y) argument
1434 calc_plane_remap_info(const struct intel_framebuffer *fb, int color_plane, const struct fb_plane_view_dims *dims, u32 obj_offset, u32 gtt_offset, int x, int y, struct intel_fb_view *view) argument
1563 calc_plane_normal_size(const struct intel_framebuffer *fb, int color_plane, const struct fb_plane_view_dims *dims, int x, int y) argument
1784 intel_fb_stride_alignment(const struct drm_framebuffer *fb, int color_plane) argument
[all...]
H A Dskl_universal_plane.c326 int color_plane,
329 int cpp = fb->format->cpp[color_plane];
365 int color_plane,
368 int cpp = fb->format->cpp[color_plane];
393 int color_plane,
433 int color_plane,
443 int color_plane,
450 int color_plane,
457 int color_plane,
592 int color_plane, unsigne
325 skl_plane_max_width(const struct drm_framebuffer *fb, int color_plane, unsigned int rotation) argument
364 glk_plane_max_width(const struct drm_framebuffer *fb, int color_plane, unsigned int rotation) argument
392 icl_plane_min_width(const struct drm_framebuffer *fb, int color_plane, unsigned int rotation) argument
432 icl_hdr_plane_max_width(const struct drm_framebuffer *fb, int color_plane, unsigned int rotation) argument
442 icl_sdr_plane_max_width(const struct drm_framebuffer *fb, int color_plane, unsigned int rotation) argument
449 skl_plane_max_height(const struct drm_framebuffer *fb, int color_plane, unsigned int rotation) argument
456 icl_plane_max_height(const struct drm_framebuffer *fb, int color_plane, unsigned int rotation) argument
591 skl_plane_stride_mult(const struct drm_framebuffer *fb, int color_plane, unsigned int rotation) argument
606 skl_plane_stride(const struct intel_plane_state *plane_state, int color_plane) argument
1015 skl_surf_address(const struct intel_plane_state *plane_state, int color_plane) argument
1037 skl_plane_surf(const struct intel_plane_state *plane_state, int color_plane) argument
1051 skl_plane_aux_dist(const struct intel_plane_state *plane_state, int color_plane) argument
1218 icl_plane_update_sel_fetch_noarm(struct intel_plane *plane, const struct intel_crtc_state *crtc_state, const struct intel_plane_state *plane_state, int color_plane) argument
1268 int color_plane = icl_plane_color_plane(plane_state); local
1360 int color_plane = icl_plane_color_plane(plane_state); local
1570 intel_plane_min_width(struct intel_plane *plane, const struct drm_framebuffer *fb, int color_plane, unsigned int rotation) argument
1581 intel_plane_max_width(struct intel_plane *plane, const struct drm_framebuffer *fb, int color_plane, unsigned int rotation) argument
1592 intel_plane_max_height(struct intel_plane *plane, const struct drm_framebuffer *fb, int color_plane, unsigned int rotation) argument
[all...]
H A Dintel_atomic_plane.h29 int color_plane);
H A Di9xx_plane.c272 while ((src_x + src_w) * cpp > plane_state->view.color_plane[0].mapping_stride) {
312 plane_state->view.color_plane[0].offset = offset;
313 plane_state->view.color_plane[0].x = src_x;
314 plane_state->view.color_plane[0].y = src_y;
426 plane_state->view.color_plane[0].mapping_stride);
452 int x = plane_state->view.color_plane[0].x;
453 int y = plane_state->view.color_plane[0].y;
461 dspaddr_offset = plane_state->view.color_plane[0].offset;
552 u32 dspaddr_offset = plane_state->view.color_plane[0].offset;
571 u32 dspaddr_offset = plane_state->view.color_plane[
[all...]
H A Dintel_sprite.c379 plane_state->view.color_plane[0].mapping_stride);
395 u32 sprsurf_offset = plane_state->view.color_plane[0].offset;
396 u32 x = plane_state->view.color_plane[0].x;
397 u32 y = plane_state->view.color_plane[0].y;
801 plane_state->view.color_plane[0].mapping_stride);
818 u32 sprsurf_offset = plane_state->view.color_plane[0].offset;
819 u32 x = plane_state->view.color_plane[0].x;
820 u32 y = plane_state->view.color_plane[0].y;
1128 plane_state->view.color_plane[0].mapping_stride);
1144 u32 dvssurf_offset = plane_state->view.color_plane[
[all...]
H A Dintel_cursor.c46 return base + plane_state->view.color_plane[0].offset;
137 plane_state->view.color_plane[0].offset = offset;
138 plane_state->view.color_plane[0].x = src_x;
139 plane_state->view.color_plane[0].y = src_y;
211 CURSOR_STRIDE(plane_state->view.color_plane[0].mapping_stride);
250 plane_state->view.color_plane[0].mapping_stride != fb->pitches[0]);
467 plane_state->view.color_plane[0].mapping_stride != fb->pitches[0]);
H A Dintel_atomic_plane.c188 int color_plane)
196 fb->format->cpp[color_plane];
213 int color_plane)
243 if (color_plane == 1) {
248 rel_data_rate = width * height * fb->format->cpp[color_plane];
186 intel_plane_data_rate(const struct intel_crtc_state *crtc_state, const struct intel_plane_state *plane_state, int color_plane) argument
211 intel_plane_relative_data_rate(const struct intel_crtc_state *crtc_state, const struct intel_plane_state *plane_state, int color_plane) argument
H A Dintel_display_types.h133 } color_plane[4]; member in struct:intel_fb_view
1578 int color_plane,
1581 int color_plane,
1584 int color_plane,
H A Dintel_fbc.c131 stride = plane_state->view.color_plane[0].mapping_stride;
1048 effective_w = plane_state->view.color_plane[0].x +
1050 effective_h = plane_state->view.color_plane[0].y +
1283 plane_state->view.color_plane[0].y & 3) {
1290 (plane_state->view.color_plane[0].y +
H A Dskl_watermark.c716 int color_plane);
1740 int color_plane)
1747 if (color_plane == 1 &&
1761 if (color_plane == 1 && wp->is_planar)
1764 wp->cpp = format->cpp[color_plane];
1827 struct skl_wm_params *wp, int color_plane)
1843 wp, color_plane);
2102 struct intel_plane *plane, int color_plane)
2111 &wm_params, color_plane);
1736 skl_compute_wm_params(const struct intel_crtc_state *crtc_state, int width, const struct drm_format_info *format, u64 modifier, unsigned int rotation, u32 plane_pixel_rate, struct skl_wm_params *wp, int color_plane) argument
1825 skl_compute_plane_wm_params(const struct intel_crtc_state *crtc_state, const struct intel_plane_state *plane_state, struct skl_wm_params *wp, int color_plane) argument
2100 skl_build_plane_wm_single(struct intel_crtc_state *crtc_state, const struct intel_plane_state *plane_state, struct intel_plane *plane, int color_plane) argument
H A Dintel_display.c550 int color_plane)
553 unsigned int cpp = fb->format->cpp[color_plane];
554 unsigned int pitch = state->view.color_plane[color_plane].mapping_stride;
566 int color_plane)
569 *x += state->view.color_plane[color_plane].x;
570 *y += state->view.color_plane[color_plane].y;
689 plane_state->view.color_plane[
548 intel_fb_xy_to_linear(int x, int y, const struct intel_plane_state *state, int color_plane) argument
564 intel_add_fb_offsets(int *x, int *y, const struct intel_plane_state *state, int color_plane) argument
[all...]
/linux-master/drivers/gpu/drm/i915/
H A Di915_vma.c1194 int color_plane,
1203 if (rem_info->plane[color_plane].linear)
1205 rem_info->plane[color_plane].offset,
1207 rem_info->plane[color_plane].size,
1213 rem_info->plane[color_plane].offset,
1215 rem_info->plane[color_plane].width,
1216 rem_info->plane[color_plane].height,
1217 rem_info->plane[color_plane].src_stride,
1218 rem_info->plane[color_plane].dst_stride,
1192 remap_color_plane_pages(const struct intel_remapped_info *rem_info, struct drm_i915_gem_object *obj, int color_plane, struct sg_table *st, struct scatterlist *sg, unsigned int *gtt_offset) argument

Completed in 206 milliseconds