Lines Matching refs:mode_cmd
487 struct drm_mode_fb_cmd2 *mode_cmd, in bochs_framebuffer_init() argument
492 drm_helper_mode_fill_fb_struct(&gfb->base, mode_cmd); in bochs_framebuffer_init()
505 struct drm_mode_fb_cmd2 *mode_cmd) in bochs_user_framebuffer_create() argument
512 mode_cmd->width, mode_cmd->height, in bochs_user_framebuffer_create()
513 (mode_cmd->pixel_format) & 0xff, in bochs_user_framebuffer_create()
514 (mode_cmd->pixel_format >> 8) & 0xff, in bochs_user_framebuffer_create()
515 (mode_cmd->pixel_format >> 16) & 0xff, in bochs_user_framebuffer_create()
516 (mode_cmd->pixel_format >> 24) & 0xff); in bochs_user_framebuffer_create()
518 if (mode_cmd->pixel_format != DRM_FORMAT_XRGB8888) in bochs_user_framebuffer_create()
521 obj = drm_gem_object_lookup(dev, filp, mode_cmd->handles[0]); in bochs_user_framebuffer_create()
531 ret = bochs_framebuffer_init(dev, bochs_fb, mode_cmd, obj); in bochs_user_framebuffer_create()