Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_dpt.c199 struct drm_framebuffer *drm_fb; in intel_dpt_resume() local
205 drm_for_each_fb(drm_fb, &i915->drm) { in intel_dpt_resume()
206 struct intel_framebuffer *fb = to_intel_framebuffer(drm_fb); in intel_dpt_resume()
226 struct drm_framebuffer *drm_fb; in intel_dpt_suspend() local
233 drm_for_each_fb(drm_fb, &i915->drm) { in intel_dpt_suspend()
234 struct intel_framebuffer *fb = to_intel_framebuffer(drm_fb); in intel_dpt_suspend()
Dintel_display_debugfs.c110 struct drm_framebuffer *drm_fb; in i915_gem_framebuffer_info() local
128 drm_for_each_fb(drm_fb, &dev_priv->drm) { in i915_gem_framebuffer_info()
129 struct intel_framebuffer *fb = to_intel_framebuffer(drm_fb); in i915_gem_framebuffer_info()
/linux-6.6.21/drivers/gpu/drm/nouveau/dispnv04/
Dcrtc.c834 struct drm_framebuffer *drm_fb; in nv04_crtc_do_mode_set_base() local
849 drm_fb = passed_fb; in nv04_crtc_do_mode_set_base()
851 drm_fb = crtc->primary->fb; in nv04_crtc_do_mode_set_base()
854 nvbo = nouveau_gem_object(drm_fb->obj[0]); in nv04_crtc_do_mode_set_base()
857 if (nv_crtc->lut.depth != drm_fb->format->depth) { in nv04_crtc_do_mode_set_base()
858 nv_crtc->lut.depth = drm_fb->format->depth; in nv04_crtc_do_mode_set_base()
864 regp->CRTC[NV_CIO_CRE_PIXEL_INDEX] |= (drm_fb->format->depth + 1) / 8; in nv04_crtc_do_mode_set_base()
866 if (drm_fb->format->depth == 16) in nv04_crtc_do_mode_set_base()
872 regp->CRTC[NV_CIO_CR_OFFSET_INDEX] = drm_fb->pitches[0] >> 3; in nv04_crtc_do_mode_set_base()
874 XLATE(drm_fb->pitches[0] >> 3, 8, NV_CIO_CRE_RPC0_OFFSET_10_8); in nv04_crtc_do_mode_set_base()
[all …]