/src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/ |
nouveau_dispnv04_crtc.c | 830 struct drm_framebuffer *drm_fb; local in function:nv04_crtc_do_mode_set_base 846 drm_fb = passed_fb; 849 drm_fb = crtc->primary->fb; 855 if (nv_crtc->lut.depth != drm_fb->format->depth) { 856 nv_crtc->lut.depth = drm_fb->format->depth; 862 regp->CRTC[NV_CIO_CRE_PIXEL_INDEX] |= (drm_fb->format->depth + 1) / 8; 864 if (drm_fb->format->depth == 16) 870 regp->CRTC[NV_CIO_CR_OFFSET_INDEX] = drm_fb->pitches[0] >> 3; 872 XLATE(drm_fb->pitches[0] >> 3, 8, NV_CIO_CRE_RPC0_OFFSET_10_8); 874 XLATE(drm_fb->pitches[0] / 8, 11, NV_CIO_CRE_42_OFFSET_11) [all...] |
nouveau_dispnv04_crtc.c | 830 struct drm_framebuffer *drm_fb; local in function:nv04_crtc_do_mode_set_base 846 drm_fb = passed_fb; 849 drm_fb = crtc->primary->fb; 855 if (nv_crtc->lut.depth != drm_fb->format->depth) { 856 nv_crtc->lut.depth = drm_fb->format->depth; 862 regp->CRTC[NV_CIO_CRE_PIXEL_INDEX] |= (drm_fb->format->depth + 1) / 8; 864 if (drm_fb->format->depth == 16) 870 regp->CRTC[NV_CIO_CR_OFFSET_INDEX] = drm_fb->pitches[0] >> 3; 872 XLATE(drm_fb->pitches[0] >> 3, 8, NV_CIO_CRE_RPC0_OFFSET_10_8); 874 XLATE(drm_fb->pitches[0] / 8, 11, NV_CIO_CRE_42_OFFSET_11) [all...] |
nouveau_dispnv04_crtc.c | 830 struct drm_framebuffer *drm_fb; local in function:nv04_crtc_do_mode_set_base 846 drm_fb = passed_fb; 849 drm_fb = crtc->primary->fb; 855 if (nv_crtc->lut.depth != drm_fb->format->depth) { 856 nv_crtc->lut.depth = drm_fb->format->depth; 862 regp->CRTC[NV_CIO_CRE_PIXEL_INDEX] |= (drm_fb->format->depth + 1) / 8; 864 if (drm_fb->format->depth == 16) 870 regp->CRTC[NV_CIO_CR_OFFSET_INDEX] = drm_fb->pitches[0] >> 3; 872 XLATE(drm_fb->pitches[0] >> 3, 8, NV_CIO_CRE_RPC0_OFFSET_10_8); 874 XLATE(drm_fb->pitches[0] / 8, 11, NV_CIO_CRE_42_OFFSET_11) [all...] |
/src/sys/external/bsd/drm2/dist/drm/i915/ |
i915_debugfs.c | 1439 struct drm_framebuffer *drm_fb; local in function:i915_gem_framebuffer_info 1458 drm_for_each_fb(drm_fb, dev) { 1459 struct intel_framebuffer *fb = to_intel_framebuffer(drm_fb);
|
i915_debugfs.c | 1439 struct drm_framebuffer *drm_fb; local in function:i915_gem_framebuffer_info 1458 drm_for_each_fb(drm_fb, dev) { 1459 struct intel_framebuffer *fb = to_intel_framebuffer(drm_fb);
|
i915_debugfs.c | 1439 struct drm_framebuffer *drm_fb; local in function:i915_gem_framebuffer_info 1458 drm_for_each_fb(drm_fb, dev) { 1459 struct intel_framebuffer *fb = to_intel_framebuffer(drm_fb);
|