Searched refs:mode_cmd (Results 1 - 6 of 6) sorted by relevance

/solaris-x11-s11/open-src/kernel/i915/src/
H A Dintel_fb.c50 struct drm_mode_fb_cmd2 mode_cmd; local
58 (void) memset(&mode_cmd, 0, sizeof(struct drm_mode_fb_cmd2));
60 mode_cmd.width = sizes->surface_width;
61 mode_cmd.height = sizes->surface_height;
63 mode_cmd.pitches[0] = ALIGN(mode_cmd.width * ((sizes->surface_bpp + 7) /
65 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp,
68 size = mode_cmd.pitches[0] * mode_cmd.height;
81 ret = intel_framebuffer_init(dev, &ifbdev->ifb, &mode_cmd, ob
[all...]
H A Dintel_display.c6713 struct drm_mode_fb_cmd2 *mode_cmd,
6725 ret = intel_framebuffer_init(dev, intel_fb, mode_cmd, obj);
6755 struct drm_mode_fb_cmd2 mode_cmd; local
6762 (void) memset(&mode_cmd, 0, sizeof(struct drm_mode_fb_cmd2));
6764 mode_cmd.width = mode->hdisplay;
6765 mode_cmd.height = mode->vdisplay;
6766 mode_cmd.pitches[0] = intel_framebuffer_pitch_for_width(mode_cmd.width,
6768 mode_cmd.pixel_format = drm_mode_legacy_fb_format(bpp, depth);
6770 return intel_framebuffer_create(dev, &mode_cmd, ob
6712 intel_framebuffer_create(struct drm_device *dev, struct drm_mode_fb_cmd2 *mode_cmd, struct drm_i915_gem_object *obj) argument
9185 intel_framebuffer_init(struct drm_device *dev, struct intel_framebuffer *intel_fb, struct drm_mode_fb_cmd2 *mode_cmd, struct drm_i915_gem_object *obj) argument
9294 intel_user_framebuffer_create(struct drm_device *dev, struct drm_file *filp, struct drm_mode_fb_cmd2 *mode_cmd) argument
[all...]
H A Dintel_drv.h710 struct drm_mode_fb_cmd2 *mode_cmd,
/solaris-x11-s11/open-src/kernel/sys/drm/
H A Ddrm_crtc_helper.h145 struct drm_mode_fb_cmd2 *mode_cmd);
H A Ddrm_crtc.h725 struct drm_mode_fb_cmd2 *mode_cmd);
/solaris-x11-s11/open-src/kernel/drm/src/
H A Ddrm_crtc_helper.c902 struct drm_mode_fb_cmd2 *mode_cmd)
906 fb->width = mode_cmd->width;
907 fb->height = mode_cmd->height;
909 fb->pitches[i] = mode_cmd->pitches[i];
910 fb->offsets[i] = mode_cmd->offsets[i];
912 drm_fb_get_bpp_depth(mode_cmd->pixel_format, &fb->depth,
914 fb->pixel_format = mode_cmd->pixel_format;
901 drm_helper_mode_fill_fb_struct(struct drm_framebuffer *fb, struct drm_mode_fb_cmd2 *mode_cmd) argument

Completed in 43 milliseconds