Lines Matching refs:fb

55 	return to_intel_crtc(crtc)->active && crtc->fb && crtc->mode.clock;
84 struct drm_framebuffer *fb = crtc->fb;
85 struct intel_framebuffer *intel_fb = to_intel_framebuffer(fb);
93 if (fb->pitches[0] < cfb_pitch)
94 cfb_pitch = fb->pitches[0];
134 struct drm_framebuffer *fb = crtc->fb;
135 struct intel_framebuffer *intel_fb = to_intel_framebuffer(fb);
203 struct drm_framebuffer *fb = crtc->fb;
204 struct intel_framebuffer *intel_fb = to_intel_framebuffer(fb);
275 struct drm_framebuffer *fb = crtc->fb;
276 struct intel_framebuffer *intel_fb = to_intel_framebuffer(fb);
331 /* Double check that we haven't switched fb without cancelling
334 if (work->crtc->fb == work->fb) {
339 dev_priv->cfb_fb = work->crtc->fb->base.id;
402 work->fb = crtc->fb;
464 struct drm_framebuffer *fb;
482 * - new fb is too large to fit in compressed buffer
497 if (!crtc || crtc->fb == NULL) {
504 fb = crtc->fb;
505 intel_fb = to_intel_framebuffer(fb);
570 * Note that we make the fundamental assumption that the fb->obj
575 dev_priv->cfb_fb == fb->base.id &&
580 /* We update FBC along two paths, after changing fb/crtc
1112 int pixel_size = crtc->fb->bits_per_pixel / 8;
1186 pixel_size = crtc->fb->bits_per_pixel / 8;
1271 pixel_size = crtc->fb->bits_per_pixel / 8;
1310 pixel_size = crtc->fb->bits_per_pixel / 8; /* BPP */
1497 int pixel_size = crtc->fb->bits_per_pixel / 8;
1568 int cpp = crtc->fb->bits_per_pixel / 8;
1582 int cpp = crtc->fb->bits_per_pixel / 8;
1616 int pixel_size = enabled->fb->bits_per_pixel / 8;
1765 pixel_size = crtc->fb->bits_per_pixel / 8;
2395 p->pri_bytes_per_pixel = crtc->fb->bits_per_pixel / 8;