Searched refs:drm_fb (Results 1 – 3 of 3) sorted by relevance
784 struct drm_framebuffer *drm_fb; in nv04_crtc_do_mode_set_base() local803 drm_fb = passed_fb; in nv04_crtc_do_mode_set_base()806 drm_fb = crtc->fb; in nv04_crtc_do_mode_set_base()823 if (nv_crtc->lut.depth != drm_fb->depth) { in nv04_crtc_do_mode_set_base()824 nv_crtc->lut.depth = drm_fb->depth; in nv04_crtc_do_mode_set_base()838 regp->CRTC[NV_CIO_CR_OFFSET_INDEX] = drm_fb->pitches[0] >> 3; in nv04_crtc_do_mode_set_base()840 XLATE(drm_fb->pitches[0] >> 3, 8, NV_CIO_CRE_RPC0_OFFSET_10_8); in nv04_crtc_do_mode_set_base()842 XLATE(drm_fb->pitches[0] / 8, 11, NV_CIO_CRE_42_OFFSET_11); in nv04_crtc_do_mode_set_base()849 regp->fb_start += (y * drm_fb->pitches[0]) + (x * drm_fb->bits_per_pixel / 8); in nv04_crtc_do_mode_set_base()853 nouveau_calc_arb(dev, crtc->mode.clock, drm_fb->bits_per_pixel, in nv04_crtc_do_mode_set_base()
40 nouveau_user_framebuffer_destroy(struct drm_framebuffer *drm_fb) in nouveau_user_framebuffer_destroy() argument42 struct nouveau_framebuffer *fb = nouveau_framebuffer(drm_fb); in nouveau_user_framebuffer_destroy()47 drm_framebuffer_cleanup(drm_fb); in nouveau_user_framebuffer_destroy()52 nouveau_user_framebuffer_create_handle(struct drm_framebuffer *drm_fb, in nouveau_user_framebuffer_create_handle() argument56 struct nouveau_framebuffer *fb = nouveau_framebuffer(drm_fb); in nouveau_user_framebuffer_create_handle()
553 struct drm_framebuffer *drm_fb; in nv50_crtc_do_mode_set_base() local570 drm_fb = passed_fb; in nv50_crtc_do_mode_set_base()573 drm_fb = crtc->fb; in nv50_crtc_do_mode_set_base()590 nv_crtc->fb.cpp = drm_fb->bits_per_pixel / 8; in nv50_crtc_do_mode_set_base()607 OUT_RING (evo, (drm_fb->height << 16) | drm_fb->width); in nv50_crtc_do_mode_set_base()