Lines Matching refs:sizes
129 struct drm_fb_helper_surface_size *sizes)
142 sizes->surface_bpp = 32;
143 sizes->surface_depth = 24;
145 DBG("create fbdev: %dx%d@%d (%dx%d)", sizes->surface_width,
146 sizes->surface_height, sizes->surface_bpp,
147 sizes->fb_width, sizes->fb_height);
149 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp,
150 sizes->surface_depth);
152 mode_cmd.width = sizes->surface_width;
153 mode_cmd.height = sizes->surface_height;
156 DIV_ROUND_UP(mode_cmd.width * sizes->surface_bpp, 8);
215 drm_fb_helper_fill_info(fbi, helper, sizes);