Searched refs:pitches (Results 1 - 15 of 15) sorted by relevance

/freebsd-11-stable/sys/dev/drm2/radeon/
H A Dradeon_fb.c123 mode_cmd->pitches[0] = radeon_align_pitch(rdev, mode_cmd->width, bpp,
128 size = mode_cmd->pitches[0] * height;
159 mode_cmd->pitches[0]);
243 drm_fb_helper_fill_fix(info, fb->pitches[0], fb->depth);
257 DRM_INFO(" pitch is %d\n", fb->pitches[0]);
H A Dradeon_legacy_crtc.c452 pitch_pixels = target_fb->pitches[0] / (target_fb->bits_per_pixel / 8);
H A Datombios_crtc.c1227 fb_pitch_pixels = target_fb->pitches[0] / (target_fb->bits_per_pixel / 8);
1396 fb_pitch_pixels = target_fb->pitches[0] / (target_fb->bits_per_pixel / 8);
H A Dradeon_display.c426 pitch_pixels = fb->pitches[0] / (fb->bits_per_pixel / 8);
/freebsd-11-stable/sys/arm/nvidia/drm2/
H A Dtegra_fb.c145 mode_cmd.pitches[0] = roundup(sizes->surface_width * bpp,
149 size = mode_cmd.pitches[0] * mode_cmd.height;
179 drm_fb_helper_fill_fix(info, fb->drm_fb.pitches[0], fb->drm_fb.depth);
298 size = (height - 1) * cmd->pitches[i] +
H A Dtegra_dc.c273 win->stride[i] = fb->drm_fb.pitches[i];
/freebsd-11-stable/sys/dev/drm2/i915/
H A Dintel_fb.c72 mode_cmd.pitches[0] = roundup2(mode_cmd.width * ((sizes->surface_bpp + 7) /
77 size = mode_cmd.pitches[0] * mode_cmd.height;
116 drm_fb_helper_fill_fix(info, fb->pitches[0], fb->depth);
H A Dintel_sprite.c124 I915_WRITE(SPRSTRIDE(pipe), fb->pitches[0]);
127 linear_offset = y * fb->pitches[0] + x * pixel_size;
130 pixel_size, fb->pitches[0]);
289 I915_WRITE(DVSSTRIDE(pipe), fb->pitches[0]);
292 linear_offset = y * fb->pitches[0] + x * pixel_size;
295 pixel_size, fb->pitches[0]);
H A Dintel_display.c2105 linear_offset = y * fb->pitches[0] + x * (fb->bits_per_pixel / 8);
2111 fb->pitches[0]);
2118 obj->gtt_offset, linear_offset, x, y, fb->pitches[0]);
2119 I915_WRITE(DSPSTRIDE(plane), fb->pitches[0]);
2200 linear_offset = y * fb->pitches[0] + x * (fb->bits_per_pixel / 8);
2204 fb->pitches[0]);
2208 obj->gtt_offset, linear_offset, x, y, fb->pitches[0]);
2209 I915_WRITE(DSPSTRIDE(plane), fb->pitches[0]);
6660 mode_cmd.pitches[0] = intel_framebuffer_pitch_for_width(mode_cmd.width,
6683 if (fb->pitches[
[all...]
H A Dintel_pm.c93 if (fb->pitches[0] < cfb_pitch)
94 cfb_pitch = fb->pitches[0];
H A Di915_irq.c1509 crtc->y * crtc->fb->pitches[0] +
/freebsd-11-stable/sys/dev/drm2/
H A Ddrm_mode.h301 * buffer objects with offets and pitches per plane.
314 __u32 pitches[4]; /* pitch for each plane */ member in struct:drm_mode_fb_cmd2
H A Ddrm_crtc_helper.c911 fb->pitches[i] = mode_cmd->pitches[i];
H A Ddrm_crtc.c2159 r.pitches[0] = or->pitch;
2300 if ((uint64_t) height * r->pitches[i] + r->offsets[i] > UINT_MAX)
2303 if (r->pitches[i] < width * cpp) {
2304 DRM_DEBUG_KMS("bad pitch %u for plane %d\n", r->pitches[i], i);
2472 r->pitch = fb->pitches[0];
H A Ddrm_crtc.h257 unsigned int pitches[4]; member in struct:drm_framebuffer

Completed in 133 milliseconds