Lines Matching refs:fb
41 vlv_update_plane(struct drm_plane *dplane, struct drm_framebuffer *fb,
54 int pixel_size = drm_format_plane_cpp(fb->pixel_format, 0);
63 switch (fb->pixel_format) {
119 I915_WRITE(SPSTRIDE(pipe, plane), fb->pitches[0]);
122 linear_offset = y * fb->pitches[0] + x * pixel_size;
126 fb->pitches[0]);
209 ivb_update_plane(struct drm_plane *plane, struct drm_framebuffer *fb,
221 int pixel_size = drm_format_plane_cpp(fb->pixel_format, 0);
232 switch (fb->pixel_format) {
289 I915_WRITE(SPRSTRIDE(pipe), fb->pitches[0]);
292 linear_offset = y * fb->pitches[0] + x * pixel_size;
295 pixel_size, fb->pitches[0]);
400 ilk_update_plane(struct drm_plane *plane, struct drm_framebuffer *fb,
412 int pixel_size = drm_format_plane_cpp(fb->pixel_format, 0);
422 switch (fb->pixel_format) {
464 I915_WRITE(DVSSTRIDE(pipe), fb->pitches[0]);
466 linear_offset = y * fb->pitches[0] + x * pixel_size;
469 pixel_size, fb->pitches[0]);
604 struct drm_framebuffer *fb, int crtc_x, int crtc_y,
623 int pixel_size = drm_format_plane_cpp(fb->pixel_format, 0);
643 intel_fb = to_intel_framebuffer(fb);
670 if (fb->width < 3 || fb->height < 3 || fb->pitches[0] > 16384) {
748 if (format_is_yuv(fb->pixel_format)) {
781 width_bytes > 4096 || fb->pitches[0] > 4096) {
820 intel_plane->update_plane(plane, fb, obj,
946 if (!plane->crtc || !plane->fb)
949 intel_update_plane(plane, plane->crtc, plane->fb,
958 if (!plane->crtc || !plane->fb)