Lines Matching defs:fb
16 bool is_ccs_plane(const struct drm_framebuffer *fb, int plane) in is_ccs_plane()
24 bool is_gen12_ccs_plane(const struct drm_framebuffer *fb, int plane) in is_gen12_ccs_plane()
29 bool is_gen12_ccs_cc_plane(const struct drm_framebuffer *fb, int plane) in is_gen12_ccs_cc_plane()
35 bool is_semiplanar_uv_plane(const struct drm_framebuffer *fb, int color_plane) in is_semiplanar_uv_plane()
41 bool is_surface_linear(const struct drm_framebuffer *fb, int color_plane) in is_surface_linear()
47 int main_to_ccs_plane(const struct drm_framebuffer *fb, int main_plane) in main_to_ccs_plane()
55 int skl_ccs_to_main_plane(const struct drm_framebuffer *fb, int ccs_plane) in skl_ccs_to_main_plane()
66 static unsigned int gen12_aligned_scanout_stride(const struct intel_framebuffer *fb, in gen12_aligned_scanout_stride()
79 static unsigned int gen12_ccs_aux_stride(struct intel_framebuffer *fb, int ccs_plane) in gen12_ccs_aux_stride()
98 int skl_main_to_aux_plane(const struct drm_framebuffer *fb, int main_plane) in skl_main_to_aux_plane()
117 intel_tile_width_bytes(const struct drm_framebuffer *fb, int color_plane) in intel_tile_width_bytes()
170 unsigned int intel_tile_height(const struct drm_framebuffer *fb, int color_plane) in intel_tile_height()
180 static void intel_tile_dims(const struct drm_framebuffer *fb, int color_plane, in intel_tile_dims()
196 static void intel_tile_block_dims(const struct drm_framebuffer *fb, int color_plane, in intel_tile_block_dims()
206 unsigned int intel_tile_row_size(const struct drm_framebuffer *fb, int color_plane) in intel_tile_row_size()
216 intel_fb_align_height(const struct drm_framebuffer *fb, in intel_fb_align_height()
265 unsigned int intel_surf_alignment(const struct drm_framebuffer *fb, in intel_surf_alignment()
317 const struct drm_framebuffer *fb, in intel_fb_plane_get_subsampling()
358 static void intel_fb_plane_dims(const struct intel_framebuffer *fb, int color_plane, int *w, int *h) in intel_fb_plane_dims()
413 const struct drm_framebuffer *fb, in intel_adjust_aligned_offset()
482 const struct drm_framebuffer *fb, in intel_compute_aligned_offset()
541 const struct drm_framebuffer *fb = state->hw.fb; in intel_plane_compute_aligned_offset() local
557 const struct drm_framebuffer *fb, in intel_fb_offset_to_xy()
603 static int intel_fb_check_ccs_xy(const struct drm_framebuffer *fb, int ccs_plane, int x, int y) in intel_fb_check_ccs_xy()
656 const struct drm_framebuffer *fb = plane_state->hw.fb; in intel_plane_can_remap() local
692 bool intel_fb_needs_pot_stride_remap(const struct intel_framebuffer *fb) in intel_fb_needs_pot_stride_remap()
699 static int intel_fb_pitch(const struct intel_framebuffer *fb, int color_plane, unsigned int rotatio… in intel_fb_pitch()
712 const struct intel_framebuffer *fb = to_intel_framebuffer(plane_state->hw.fb); in intel_plane_needs_remap() local
737 static int convert_plane_offset_to_xy(const struct intel_framebuffer *fb, int color_plane, in convert_plane_offset_to_xy()
775 static u32 calc_plane_aligned_offset(const struct intel_framebuffer *fb, int color_plane, int *x, i… in calc_plane_aligned_offset()
794 static void init_plane_view_dims(const struct intel_framebuffer *fb, int color_plane, in init_plane_view_dims()
805 plane_view_src_stride_tiles(const struct intel_framebuffer *fb, int color_plane, in plane_view_src_stride_tiles()
813 plane_view_dst_stride_tiles(const struct intel_framebuffer *fb, int color_plane, in plane_view_dst_stride_tiles()
829 plane_view_width_tiles(const struct intel_framebuffer *fb, int color_plane, in plane_view_width_tiles()
837 plane_view_height_tiles(const struct intel_framebuffer *fb, int color_plane, in plane_view_height_tiles()
849 static u32 calc_plane_remap_info(const struct intel_framebuffer *fb, int color_plane, in calc_plane_remap_info()
932 calc_plane_normal_size(const struct intel_framebuffer *fb, int color_plane, in calc_plane_normal_size()
969 bool intel_fb_supports_90_270_rotation(const struct intel_framebuffer *fb) in intel_fb_supports_90_270_rotation()
978 int intel_fill_fb_info(struct drm_i915_private *i915, struct intel_framebuffer *fb) in intel_fill_fb_info()
1066 struct drm_framebuffer *fb = plane_state->hw.fb; in intel_plane_remap_gtt() local
1125 void intel_fb_fill_view(const struct intel_framebuffer *fb, unsigned int rotation, in intel_fb_fill_view()
1156 intel_fb_stride_alignment(const struct drm_framebuffer *fb, int color_plane) in intel_fb_stride_alignment()
1212 const struct drm_framebuffer *fb = plane_state->hw.fb; in intel_plane_check_stride() local
1243 const struct intel_framebuffer *fb = in intel_plane_compute_gtt() local
1273 static void intel_user_framebuffer_destroy(struct drm_framebuffer *fb) in intel_user_framebuffer_destroy()
1287 static int intel_user_framebuffer_create_handle(struct drm_framebuffer *fb, in intel_user_framebuffer_create_handle()
1303 static int intel_user_framebuffer_dirty(struct drm_framebuffer *fb, in intel_user_framebuffer_dirty()
1328 struct drm_framebuffer *fb = &intel_fb->base; in intel_framebuffer_init() local
1482 struct drm_framebuffer *fb; in intel_user_framebuffer_create() local