Home
last modified time | relevance | path

Searched refs:drm_fb (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/nouveau/dispnv04/
Dcrtc.c825 struct drm_framebuffer *drm_fb; in nv04_crtc_do_mode_set_base() local
841 drm_fb = passed_fb; in nv04_crtc_do_mode_set_base()
844 drm_fb = crtc->primary->fb; in nv04_crtc_do_mode_set_base()
850 if (nv_crtc->lut.depth != drm_fb->format->depth) { in nv04_crtc_do_mode_set_base()
851 nv_crtc->lut.depth = drm_fb->format->depth; in nv04_crtc_do_mode_set_base()
857 regp->CRTC[NV_CIO_CRE_PIXEL_INDEX] |= (drm_fb->format->depth + 1) / 8; in nv04_crtc_do_mode_set_base()
859 if (drm_fb->format->depth == 16) in nv04_crtc_do_mode_set_base()
865 regp->CRTC[NV_CIO_CR_OFFSET_INDEX] = drm_fb->pitches[0] >> 3; in nv04_crtc_do_mode_set_base()
867 XLATE(drm_fb->pitches[0] >> 3, 8, NV_CIO_CRE_RPC0_OFFSET_10_8); in nv04_crtc_do_mode_set_base()
869 XLATE(drm_fb->pitches[0] / 8, 11, NV_CIO_CRE_42_OFFSET_11); in nv04_crtc_do_mode_set_base()
[all …]
/Linux-v5.4/drivers/gpu/drm/nouveau/
Dnouveau_display.c201 nouveau_user_framebuffer_destroy(struct drm_framebuffer *drm_fb) in nouveau_user_framebuffer_destroy() argument
203 struct nouveau_framebuffer *fb = nouveau_framebuffer(drm_fb); in nouveau_user_framebuffer_destroy()
208 drm_framebuffer_cleanup(drm_fb); in nouveau_user_framebuffer_destroy()
213 nouveau_user_framebuffer_create_handle(struct drm_framebuffer *drm_fb, in nouveau_user_framebuffer_create_handle() argument
217 struct nouveau_framebuffer *fb = nouveau_framebuffer(drm_fb); in nouveau_user_framebuffer_create_handle()
/Linux-v5.4/drivers/gpu/drm/ingenic/
Dingenic-drm.c342 struct drm_framebuffer *drm_fb = crtc->primary->state->fb; in ingenic_drm_crtc_atomic_flush() local
346 finfo = drm_format_info(drm_fb->format->format); in ingenic_drm_crtc_atomic_flush()
/Linux-v5.4/drivers/gpu/drm/i915/
Di915_debugfs.c1514 struct drm_framebuffer *drm_fb; in i915_gem_framebuffer_info() local
1538 drm_for_each_fb(drm_fb, dev) { in i915_gem_framebuffer_info()
1539 struct intel_framebuffer *fb = to_intel_framebuffer(drm_fb); in i915_gem_framebuffer_info()