Lines Matching defs:mode_cmd
74 struct drm_mode_fb_cmd mode_cmd;
84 mode_cmd.width = sizes->surface_width;
85 mode_cmd.height = sizes->surface_height;
87 mode_cmd.bpp = sizes->surface_bpp;
88 mode_cmd.pitch = ALIGN(mode_cmd.width * ((mode_cmd.bpp + 1) / 8), 64);
89 mode_cmd.depth = sizes->surface_depth;
91 size = mode_cmd.pitch * mode_cmd.height;
124 ret = intel_framebuffer_init(dev, &ifbdev->ifb, &mode_cmd, fbo);