/src/sys/external/bsd/drm2/dist/include/drm/ |
drm_gem_framebuffer_helper.h | 25 const struct drm_mode_fb_cmd2 *mode_cmd, 29 const struct drm_mode_fb_cmd2 *mode_cmd); 32 const struct drm_mode_fb_cmd2 *mode_cmd);
|
drm_modeset_helper.h | 38 const struct drm_mode_fb_cmd2 *mode_cmd);
|
drm_mode_config.h | 61 * ie. when (@mode_cmd->flags & DRM_MODE_FB_MODIFIERS) == 0. 81 const struct drm_mode_fb_cmd2 *mode_cmd); 94 const struct drm_format_info *(*get_format_info)(const struct drm_mode_fb_cmd2 *mode_cmd);
|
drm_fourcc.h | 313 const struct drm_mode_fb_cmd2 *mode_cmd);
|
/src/sys/external/bsd/drm2/drm/ |
drm_gem_framebuffer_helper.c | 86 * drm_gem_fb_create_with_funcs(dev, file, mode_cmd, funcs) 89 * mode command, resolving mode_cmd's handles in the specified drm 99 const struct drm_mode_fb_cmd2 *mode_cmd, 114 * Fill framebuffer parameters from mode_cmd. If they're not 117 drm_helper_mode_fill_fb_struct(dev, fb, mode_cmd); 127 unsigned handle = mode_cmd->handles[plane]; 138 size = (mode_cmd->height/vsub - 1)*mode_cmd->pitches[plane] 139 + (mode_cmd->width/hsub)*fb->format->cpp[plane] 140 + mode_cmd->offsets[plane] [all...] |
/src/sys/external/bsd/drm2/dist/drm/ |
drm_modeset_helper.c | 79 * @mode_cmd: metadata from the userspace fb creation request 86 const struct drm_mode_fb_cmd2 *mode_cmd) 91 fb->format = drm_get_format_info(dev, mode_cmd); 92 fb->width = mode_cmd->width; 93 fb->height = mode_cmd->height; 95 fb->pitches[i] = mode_cmd->pitches[i]; 96 fb->offsets[i] = mode_cmd->offsets[i]; 98 fb->modifier = mode_cmd->modifier[0]; 99 fb->flags = mode_cmd->flags;
|
drm_fourcc.c | 318 * @mode_cmd: metadata from the userspace fb creation request 326 const struct drm_mode_fb_cmd2 *mode_cmd) 331 info = dev->mode_config.funcs->get_format_info(mode_cmd); 334 info = drm_format_info(mode_cmd->pixel_format);
|
/src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
amdgpu_fb.c | 136 struct drm_mode_fb_cmd2 *mode_cmd, 147 int height = mode_cmd->height; 154 info = drm_get_format_info(adev->ddev, mode_cmd); 158 mode_cmd->pitches[0] = amdgpu_align_pitch(adev, mode_cmd->width, cpp, 161 height = ALIGN(mode_cmd->height, 8); 162 size = mode_cmd->pitches[0] * height; 220 struct drm_mode_fb_cmd2 mode_cmd; local in function:amdgpufb_create 226 mode_cmd.width = sizes->surface_width; 227 mode_cmd.height = sizes->surface_height [all...] |
amdgpu_display.h | 48 const struct drm_mode_fb_cmd2 *mode_cmd);
|
amdgpu_display.c | 545 const struct drm_mode_fb_cmd2 *mode_cmd, 550 drm_helper_mode_fill_fb_struct(dev, &rfb->base, mode_cmd); 562 const struct drm_mode_fb_cmd2 *mode_cmd) 568 obj = drm_gem_object_lookup(file_priv, mode_cmd->handles[0]); 571 "can't create framebuffer\n", mode_cmd->handles[0]); 587 ret = amdgpu_display_framebuffer_init(dev, amdgpu_fb, mode_cmd, obj);
|
amdgpu_mode.h | 603 const struct drm_mode_fb_cmd2 *mode_cmd,
|
/src/sys/external/bsd/drm2/dist/drm/radeon/ |
radeon_fb.c | 139 struct drm_mode_fb_cmd2 *mode_cmd, 150 int height = mode_cmd->height; 153 info = drm_get_format_info(rdev->ddev, mode_cmd); 157 mode_cmd->pitches[0] = radeon_align_pitch(rdev, mode_cmd->width, cpp, 161 height = ALIGN(mode_cmd->height, 8); 162 size = mode_cmd->pitches[0] * height; 191 mode_cmd->pitches[0]); 234 struct drm_mode_fb_cmd2 mode_cmd; local in function:radeonfb_create 242 mode_cmd.width = sizes->surface_width [all...] |
radeon_display.c | 1299 const struct drm_mode_fb_cmd2 *mode_cmd, 1304 drm_helper_mode_fill_fb_struct(dev, fb, mode_cmd); 1316 const struct drm_mode_fb_cmd2 *mode_cmd) 1322 obj = drm_gem_object_lookup(file_priv, mode_cmd->handles[0]); 1325 "can't create framebuffer\n", mode_cmd->handles[0]); 1341 ret = radeon_framebuffer_init(dev, fb, mode_cmd, obj);
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/ |
nouveau_display.c | 239 const struct drm_mode_fb_cmd2 *mode_cmd, 250 (mode_cmd->pixel_format == DRM_FORMAT_YUYV || 251 mode_cmd->pixel_format == DRM_FORMAT_UYVY || 252 mode_cmd->pixel_format == DRM_FORMAT_NV12 || 253 mode_cmd->pixel_format == DRM_FORMAT_NV21) && 254 (mode_cmd->pitches[0] & 0x3f || /* align 64 */ 255 mode_cmd->pitches[0] >= 0x10000 || /* at most 64k pitch */ 256 (mode_cmd->pitches[1] && /* pitches for planes must match */ 257 mode_cmd->pitches[0] != mode_cmd->pitches[1]))) [all...] |
nouveau_fbcon.c | 365 struct drm_mode_fb_cmd2 mode_cmd; local in function:nouveau_fbcon_create 368 mode_cmd.width = sizes->surface_width; 369 mode_cmd.height = sizes->surface_height; 371 mode_cmd.pitches[0] = mode_cmd.width * (sizes->surface_bpp >> 3); 372 mode_cmd.pitches[0] = roundup(mode_cmd.pitches[0], 256); 374 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, 377 ret = nouveau_gem_new(&drm->client, mode_cmd.pitches[0] * 378 mode_cmd.height, 0, NOUVEAU_GEM_DOMAIN_VRAM [all...] |
/src/sys/external/bsd/drm2/dist/drm/virtio/ |
virtgpu_display.c | 73 const struct drm_mode_fb_cmd2 *mode_cmd, 80 drm_helper_mode_fill_fb_struct(dev, &vgfb->base, mode_cmd); 303 const struct drm_mode_fb_cmd2 *mode_cmd) 309 if (mode_cmd->pixel_format != DRM_FORMAT_HOST_XRGB8888 && 310 mode_cmd->pixel_format != DRM_FORMAT_HOST_ARGB8888) 314 obj = drm_gem_object_lookup(file_priv, mode_cmd->handles[0]); 322 ret = virtio_gpu_framebuffer_init(dev, virtio_gpu_fb, mode_cmd, obj);
|
/src/sys/external/bsd/drm2/dist/drm/i915/display/ |
intel_fbdev.c | 134 struct drm_mode_fb_cmd2 mode_cmd = {}; local in function:intelfb_alloc 142 mode_cmd.width = sizes->surface_width; 143 mode_cmd.height = sizes->surface_height; 145 mode_cmd.pitches[0] = ALIGN(mode_cmd.width * 147 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, 150 size = mode_cmd.pitches[0] * mode_cmd.height; 166 fb = intel_framebuffer_create(obj, &mode_cmd);
|
intel_display.c | 163 struct drm_mode_fb_cmd2 *mode_cmd); 3395 struct drm_mode_fb_cmd2 mode_cmd = { 0 }; local in function:intel_alloc_initial_plane_obj 3444 mode_cmd.pixel_format = fb->format->format; 3445 mode_cmd.width = fb->width; 3446 mode_cmd.height = fb->height; 3447 mode_cmd.pitches[0] = fb->pitches[0]; 3448 mode_cmd.modifier[0] = fb->modifier; 3449 mode_cmd.flags = DRM_MODE_FB_MODIFIERS; 3451 if (intel_framebuffer_init(to_intel_framebuffer(fb), obj, &mode_cmd)) { 11651 struct drm_mode_fb_cmd2 *mode_cmd) 17073 struct drm_mode_fb_cmd2 mode_cmd = *user_mode_cmd; local in function:intel_user_framebuffer_create [all...] |
intel_display.h | 565 struct drm_mode_fb_cmd2 *mode_cmd);
|
/src/sys/external/bsd/drm2/dist/drm/vmwgfx/ |
vmwgfx_fb.c | 506 struct drm_mode_fb_cmd2 mode_cmd; local in function:vmw_fb_kms_framebuffer 518 mode_cmd.width = var->xres; 519 mode_cmd.height = var->yres; 520 mode_cmd.pitches[0] = ((var->bits_per_pixel + 7) / 8) * mode_cmd.width; 521 mode_cmd.pixel_format = 525 if (cur_fb && cur_fb->width == mode_cmd.width && 526 cur_fb->height == mode_cmd.height && 527 cur_fb->format->format == mode_cmd.pixel_format && 528 cur_fb->pitches[0] == mode_cmd.pitches[0] [all...] |
vmwgfx_kms.c | 894 *mode_cmd, 918 surface->base_size.width < mode_cmd->width || 919 surface->base_size.height < mode_cmd->height || 926 switch (mode_cmd->pixel_format) { 941 drm_get_format_name(mode_cmd->pixel_format, &format_name)); 960 drm_helper_mode_fill_fb_struct(dev, &vfbs->base.base, mode_cmd); 962 vfbs->base.user_handle = mode_cmd->handles[0]; 1136 * @mode_cmd: parameters for the new surface 1148 const struct drm_mode_fb_cmd2 *mode_cmd, 1159 switch (mode_cmd->pixel_format) [all...] |
vmwgfx_kms.h | 443 const struct drm_mode_fb_cmd2 *mode_cmd);
|
/src/sys/dev/scsipi/ |
ss_mustek.c | 271 struct mustek_mode_select_cmd mode_cmd; local in function:mustek_trigger_scanner 326 memset(&mode_cmd, 0, sizeof(mode_cmd)); 327 mode_cmd.opcode = MUSTEK_MODE_SELECT; 328 _lto2b(sizeof(mode_data), mode_cmd.length); 356 error = scsipi_command(periph, (void *)&mode_cmd, sizeof(mode_cmd),
|
/src/sys/external/bsd/drm2/dist/drm/xen/ |
xen_drm_front_kms.c | 60 const struct drm_mode_fb_cmd2 *mode_cmd) 67 fb = drm_gem_fb_create_with_funcs(dev, filp, mode_cmd, &fb_funcs);
|
/src/sys/external/bsd/drm2/dist/drm/qxl/ |
qxl_display.c | 1143 const struct drm_mode_fb_cmd2 *mode_cmd) 1145 return drm_gem_fb_create_with_funcs(dev, file_priv, mode_cmd,
|