Home
last modified time | relevance | path

Searched full:scanout (Results 1 – 25 of 131) sorted by relevance

123456

/linux-6.14.4/drivers/gpu/drm/clients/
Ddrm_log.c60 struct drm_log_scanout *scanout; member
92 static void drm_log_clear_line(struct drm_log_scanout *scanout, u32 line) in drm_log_clear_line() argument
94 struct drm_framebuffer *fb = scanout->buffer->fb; in drm_log_clear_line()
95 unsigned long height = scanout->scaled_font_h; in drm_log_clear_line()
99 if (drm_client_buffer_vmap_local(scanout->buffer, &map)) in drm_log_clear_line()
102 drm_client_buffer_vunmap_local(scanout->buffer); in drm_log_clear_line()
103 drm_client_framebuffer_flush(scanout->buffer, &r); in drm_log_clear_line()
106 static void drm_log_draw_line(struct drm_log_scanout *scanout, const char *s, in drm_log_draw_line() argument
109 struct drm_framebuffer *fb = scanout->buffer->fb; in drm_log_draw_line()
111 const struct font_desc *font = scanout->font; in drm_log_draw_line()
[all …]
/linux-6.14.4/include/drm/
Ddrm_panic.h19 * struct drm_scanout_buffer - DRM scanout buffer
28 * drm format of the scanout buffer.
35 * Virtual address of the scanout buffer, either in memory or iomem.
36 * The scanout buffer should be in linear format, and can be directly
43 * @width: Width of the scanout buffer, in pixels.
48 * @height: Height of the scanout buffer, in pixels.
131 * driver prints the pixels into the scanout buffer at panic time.
Ddrm_fb_helper.h41 * struct drm_fb_helper_surface_size - describes fbdev size and scanout surface size
44 * @surface_width: scanout buffer width
45 * @surface_height: scanout buffer height
46 * @surface_bpp: scanout buffer bpp
47 * @surface_depth: scanout buffer depth
49 * Note that the scanout surface width/height may be larger than the fbdev
50 * width/height. In case of multiple displays, the scanout surface is sized
52 * to scanout). But the fbdev width/height is sized to the minimum width/
106 * @fb: Scanout framebuffer object
Ddrm_modeset_helper_vtables.h240 * framebuffer and scanout position. It is optional and used as an
260 * and scanout without sleeping, i.e. from an atomic calling context. It
452 * Returns the current display scanout position from a CRTC and an
467 * Target location for current vertical scanout position.
469 * Target location for current horizontal scanout position.
472 * scanout position query. Can be NULL to skip timestamp.
475 * scanout position query. Can be NULL to skip timestamp.
479 * Returns vpos as a positive number while in active scanout area.
482 * until start of active scanout / end of vblank."
486 * True on success, false if a reliable scanout position counter could
[all …]
/linux-6.14.4/drivers/gpu/drm/i915/gem/
Di915_gem_object_types.h143 * should only ever use uncached for scanout surfaces, otherwise we end
157 * Not used for scanout surfaces.
163 * scanout objects, where the display engine is not coherent with the
179 * Not used for scanout surfaces.
188 * Write-through. Used for scanout surfaces.
433 * scanout surfaces. To handle this the kernel will always flush the
434 * surface out of the CPU caches when preparing it for scanout. Also
435 * note that since scanout surfaces are only ever read by the display
441 * to the display engine not being fully coherent. As a result scanout
444 * that this is likely a scanout surface, and will set @cache_coherent
[all …]
Di915_gem_domain.c266 * on the scanout it will be set to uncached (or equivalent display
268 * that all direct access to the scanout remains coherent.
419 * Prepare buffer for display plane (scanout, cursors, etc). Can be called from
469 * always use map_and_fenceable for all scanout buffers. However, in i915_gem_object_pin_to_display_plane()
/linux-6.14.4/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_smp.h19 * a scanout buffer is a SMP client. Ie. scanout of 3 plane I420 on
22 * Based on the size of the attached scanout buffer, a certain # of
Dmdp5_smp.c114 * presumably happens during the dma from scanout buffer).
216 * happen after scanout completes.
/linux-6.14.4/drivers/gpu/drm/meson/
Dmeson_viu.c21 * VIU Handles the Pixel scanout and the basic Colorspace conversions
24 * - OSD1 RGB565/RGB888/xRGB8888 scanout
26 * - Progressive or Interlace buffer scanout
33 * - YUV4:2:2 Y0CbY1Cr scanout
36 * - Big endian scanout
37 * - X/Y reverse scanout
Dmeson_vpp.c18 * VPP Handles all the Post Processing after the Scanout from the VIU
24 * use it only for interlace scanout
/linux-6.14.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_display.c568 * to avoid hang caused by placement of scanout BO in GTT on certain in amdgpu_display_supported_domains()
960 "Micro tile mode %llu not supported for scanout\n", in check_tiling_flags_gfx6()
1317 /* Handle is imported dma-buf, so cannot be migrated to VRAM for scanout */ in amdgpu_display_user_framebuffer_create()
1513 * Retrieve current video scanout position of crtc on a given gpu, and
1528 * \param *vpos Location where vertical scanout position should be stored.
1529 * \param *hpos Location where horizontal scanout position should go.
1531 * scanout position query. Can be NULL to skip timestamp.
1533 * scanout position query. Can be NULL to skip timestamp.
1535 * Returns vpos as a positive number while in active scanout area.
1538 * until start of active scanout / end of vblank."
[all …]
/linux-6.14.4/drivers/gpu/drm/
Ddrm_vblank.c46 * a new frame the scanout engine has "scanned out" the display image
408 * This is mostly useful for hardware that can obtain the scanout position, but
603 * @mode: display mode containing the scanout timings
608 * CRTC's true scanout timing, so they take things like panel scaling or
639 * Fields of interlaced scanout modes are only half a frame duration. in drm_calc_timestamping_constants()
673 * Callback function to retrieve the scanout position. See
677 * timings and current video scanout position of a CRTC.
682 * match the scanout position reported.
713 /* Scanout position query not supported? Should not happen. */ in drm_crtc_vblank_helper_get_vblank_timestamp_internal()
734 /* Get current scanout position with system timestamp. in drm_crtc_vblank_helper_get_vblank_timestamp_internal()
[all …]
Ddrm_fb_dma_helper.c154 * drm_fb_dma_get_scanout_buffer - Provide a scanout buffer in case of panic
156 * @sb: scanout buffer for the panic handler
Ddrm_vblank_work.c17 * the scanout. Most of the time the safest way to accomplish this is to
29 * needs to perform a task that needs to complete within a specific scanout
/linux-6.14.4/drivers/gpu/drm/radeon/
Dradeon_display.c344 * scanout position we know that the current frame is in radeon_crtc_handle_vblank()
1330 /* Handle is imported dma-buf, so cannot be migrated to VRAM for scanout */ in radeon_user_framebuffer_create()
1771 * Retrieve current video scanout position of crtc on a given gpu, and
1786 * \param *vpos Location where vertical scanout position should be stored.
1787 * \param *hpos Location where horizontal scanout position should go.
1789 * scanout position query. Can be NULL to skip timestamp.
1791 * scanout position query. Can be NULL to skip timestamp.
1793 * Returns vpos as a positive number while in active scanout area.
1796 * until start of active scanout / end of vblank."
1804 * unknown small number of scanlines wrt. real scanout position.
[all …]
/linux-6.14.4/drivers/gpu/drm/virtio/
Dvirtgpu_vq.c759 uint32_t scanout = le32_to_cpu(cmd->scanout); in virtio_gpu_cmd_get_edid_cb() local
763 if (scanout >= vgdev->num_scanouts) in virtio_gpu_cmd_get_edid_cb()
765 output = vgdev->outputs + scanout; in virtio_gpu_cmd_get_edid_cb()
906 int scanout; in virtio_gpu_cmd_get_edids() local
911 for (scanout = 0; scanout < vgdev->num_scanouts; scanout++) { in virtio_gpu_cmd_get_edids()
922 cmd_p->scanout = cpu_to_le32(scanout); in virtio_gpu_cmd_get_edids()
/linux-6.14.4/drivers/gpu/drm/i915/display/
Dintel_fb_pin.c131 * we should always have valid PTE following the scanout preventing in intel_fb_pin_to_ggtt()
154 * happy to scanout from anywhere within its global aperture. in intel_fb_pin_to_ggtt()
186 * If we fail to fence the tiled scanout, then either the in intel_fb_pin_to_ggtt()
Dintel_frontbuffer.h60 * We have one bit per pipe and per scanout plane type.
/linux-6.14.4/Documentation/devicetree/bindings/display/
Damlogic,meson-vpu.yaml32 The Video Input Unit is in charge of the pixel scanout from the DDR memory.
54 tree and provides the scanout clock to the VPP and VIU.
/linux-6.14.4/drivers/gpu/drm/tiny/
DKconfig67 by the Open Firmware before the kernel boots. Scanout buffer, size,
97 by the firmware or bootloader before the kernel boots. Scanout
/linux-6.14.4/Documentation/devicetree/bindings/media/
Dfsl-vdoa.txt6 960 VPU to the conventional raster-scan order for scanout.
/linux-6.14.4/drivers/gpu/drm/xe/display/
Dxe_dsb_buffer.c51 /* Set scanout flag for WC mapping */ in intel_dsb_buffer_create()
/linux-6.14.4/drivers/gpu/drm/msm/
DNOTES23 up gpu cmdstream to update scanout and write FLUSH register after).
/linux-6.14.4/include/uapi/drm/
Domap_drm.h41 /* Scanout buffer, consumable by DSS */
/linux-6.14.4/drivers/gpu/drm/armada/
Darmada_fb.c119 /* Framebuffer objects must have a valid device address for scanout */ in armada_fb_create()

123456