Lines Matching refs:mode_cmd
6650 struct drm_mode_fb_cmd2 *mode_cmd, in intel_framebuffer_create() argument
6662 ret = intel_framebuffer_init(dev, intel_fb, mode_cmd, obj); in intel_framebuffer_create()
6692 struct drm_mode_fb_cmd2 mode_cmd; in intel_framebuffer_create_for_mode() local
6699 mode_cmd.width = mode->hdisplay; in intel_framebuffer_create_for_mode()
6700 mode_cmd.height = mode->vdisplay; in intel_framebuffer_create_for_mode()
6701 mode_cmd.pitches[0] = intel_framebuffer_pitch_for_width(mode_cmd.width, in intel_framebuffer_create_for_mode()
6703 mode_cmd.pixel_format = drm_mode_legacy_fb_format(bpp, depth); in intel_framebuffer_create_for_mode()
6705 return intel_framebuffer_create(dev, &mode_cmd, obj); in intel_framebuffer_create_for_mode()
8007 struct drm_mode_fb_cmd2 *mode_cmd, in intel_framebuffer_init() argument
8015 if (mode_cmd->pitches[0] & 63) in intel_framebuffer_init()
8018 switch (mode_cmd->pixel_format) { in intel_framebuffer_init()
8035 mode_cmd->pixel_format); in intel_framebuffer_init()
8045 drm_helper_mode_fill_fb_struct(&intel_fb->base, mode_cmd); in intel_framebuffer_init()
8053 struct drm_mode_fb_cmd2 *mode_cmd) in intel_user_framebuffer_create() argument
8058 mode_cmd->handles[0])); in intel_user_framebuffer_create()
8062 return intel_framebuffer_create(dev, mode_cmd, obj); in intel_user_framebuffer_create()