Lines Matching full:sizes
114 struct drm_fb_helper_surface_size *sizes) in intelfb_alloc() argument
126 if (sizes->surface_bpp == 24) in intelfb_alloc()
127 sizes->surface_bpp = 32; in intelfb_alloc()
129 mode_cmd.width = sizes->surface_width; in intelfb_alloc()
130 mode_cmd.height = sizes->surface_height; in intelfb_alloc()
133 DIV_ROUND_UP(sizes->surface_bpp, 8), 64); in intelfb_alloc()
134 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in intelfb_alloc()
135 sizes->surface_depth); in intelfb_alloc()
163 struct drm_fb_helper_surface_size *sizes) in intelfb_create() argument
184 (sizes->fb_width > intel_fb->base.width || in intelfb_create()
185 sizes->fb_height > intel_fb->base.height)) { in intelfb_create()
190 sizes->fb_width, sizes->fb_height); in intelfb_create()
197 ret = intelfb_alloc(helper, sizes); in intelfb_create()
204 sizes->fb_width = intel_fb->base.width; in intelfb_create()
205 sizes->fb_height = intel_fb->base.height; in intelfb_create()
253 drm_fb_helper_fill_info(info, &ifbdev->helper, sizes); in intelfb_create()