Lines Matching refs:intel_fb
1143 const struct intel_framebuffer *intel_fb = to_intel_framebuffer(fb); in intel_fb_check_ccs_xy() local
1168 main_x = intel_fb->normal_view.color_plane[main_plane].x % tile_width; in intel_fb_check_ccs_xy()
1169 main_y = intel_fb->normal_view.color_plane[main_plane].y % tile_height; in intel_fb_check_ccs_xy()
1180 intel_fb->normal_view.color_plane[main_plane].x, in intel_fb_check_ccs_xy()
1181 intel_fb->normal_view.color_plane[main_plane].y, in intel_fb_check_ccs_xy()
1684 struct intel_framebuffer *intel_fb = to_intel_framebuffer(fb); in intel_plane_remap_gtt() local
1725 init_plane_view_dims(intel_fb, i, width, height, &view_dims); in intel_plane_remap_gtt()
1731 x += intel_fb->normal_view.color_plane[i].x; in intel_plane_remap_gtt()
1732 y += intel_fb->normal_view.color_plane[i].y; in intel_plane_remap_gtt()
1734 offset = calc_plane_aligned_offset(intel_fb, i, &x, &y); in intel_plane_remap_gtt()
1736 gtt_offset += calc_plane_remap_info(intel_fb, i, &view_dims, in intel_plane_remap_gtt()
1884 struct intel_framebuffer *intel_fb = to_intel_framebuffer(fb); in intel_user_framebuffer_destroy() local
1889 intel_dpt_destroy(intel_fb->dpt_vm); in intel_user_framebuffer_destroy()
1891 intel_frontbuffer_put(intel_fb->frontbuffer); in intel_user_framebuffer_destroy()
1893 kfree(intel_fb); in intel_user_framebuffer_destroy()
1932 int intel_framebuffer_init(struct intel_framebuffer *intel_fb, in intel_framebuffer_init() argument
1937 struct drm_framebuffer *fb = &intel_fb->base; in intel_framebuffer_init()
1943 intel_fb->frontbuffer = intel_frontbuffer_get(obj); in intel_framebuffer_init()
1944 if (!intel_fb->frontbuffer) in intel_framebuffer_init()
2043 int ccs_aux_stride = gen12_ccs_aux_stride(intel_fb, i); in intel_framebuffer_init()
2057 ret = intel_fill_fb_info(dev_priv, intel_fb); in intel_framebuffer_init()
2064 vm = intel_dpt_create(intel_fb); in intel_framebuffer_init()
2071 intel_fb->dpt_vm = vm; in intel_framebuffer_init()
2084 intel_dpt_destroy(intel_fb->dpt_vm); in intel_framebuffer_init()
2086 intel_frontbuffer_put(intel_fb->frontbuffer); in intel_framebuffer_init()
2123 struct intel_framebuffer *intel_fb; in intel_framebuffer_create() local
2126 intel_fb = kzalloc(sizeof(*intel_fb), GFP_KERNEL); in intel_framebuffer_create()
2127 if (!intel_fb) in intel_framebuffer_create()
2130 ret = intel_framebuffer_init(intel_fb, obj, mode_cmd); in intel_framebuffer_create()
2134 return &intel_fb->base; in intel_framebuffer_create()
2137 kfree(intel_fb); in intel_framebuffer_create()