Home
last modified time | relevance | path

Searched +full:pre +full:- +full:blending (Results 1 – 19 of 19) sorted by relevance

/Linux-v6.1/Documentation/gpu/amdgpu/display/
Ddisplay-manager.rst8 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
11 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
17 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
20 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
26 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c
29 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c
32 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
38 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
41 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
47 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c
[all …]
Ddcn-overview.rst10 .. kernel-figure:: dc_pipeline_overview.svg
19 * **Display Pipe and Plane (DPP)**: This block provides pre-blend pixel
23 * **Multiple Pipe/Plane Combined (MPC)**: This component performs blending of
24 multiple planes, using global or per-pixel alpha.
38 * **Multi-Media HUB (MMHUBBUB)**: Memory controller interface for DMCUB and DWB
43 the Display Micro-Controller Unit - version B (DMCUB), which is handled via
84 ----------------------
100 a one-to-one mapping of the link encoder to PHY, but we can configure the DCN
106 ---------
114 representation and convert them to a DCN specific floating-point format (i.e.,
[all …]
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/inc/hw/
Dmpc.h1 /* Copyright 2012-15 Advanced Micro Devices, Inc.
26 * DOC: mpc-overview
29 * that performs blending of multiple planes, using global and per-pixel alpha.
30 * It also performs post-blending color correction operations according to the
62 * enum mpcc_alpha_blend_mode - define the alpha blend mode regarding pixel
85 * struct mpcc_blnd_cfg - MPCC blending configuration
89 * @pre_multiplied_alpha: whether pixel color values were pre-multiplied by the
98 bool pre_multiplied_alpha; /* alpha pre-multiplied mode flag */
118 /* 0-single plane,2-row subsampling,4-column subsampling,6-checkboard subsampling */
120 /* 0- disable frame alternate, 1- enable frame alternate */
[all …]
/Linux-v6.1/drivers/gpu/drm/
Ddrm_blend.c6 * DRM core plane blending related functions
43 * sub-pixel accuracy, which is scaled up to a pixel-aligned destination
96 * plane-wide opacity, from transparent (0) to opaque (0xffff). It can be
99 * pre-multiplied by the global alpha associated to the plane.
109 * "rotate-<degrees>":
113 * "reflect-<axis>":
117 * reflect-x::
120 * | | -> | |
123 * reflect-y::
126 * | | -> | |
[all …]
Ddrm_connector.c49 * Hence they are reference-counted using drm_connector_get() and
65 * For connectors which are not fixed (like built-in panels) the driver needs to
74 * Note drm_connector_[un]register() first take connector->lock and then
92 { DRM_MODE_CONNECTOR_DVII, "DVI-I" },
93 { DRM_MODE_CONNECTOR_DVID, "DVI-D" },
94 { DRM_MODE_CONNECTOR_DVIA, "DVI-A" },
101 { DRM_MODE_CONNECTOR_HDMIA, "HDMI-A" },
102 { DRM_MODE_CONNECTOR_HDMIB, "HDMI-B" },
130 * drm_get_connector_type_name - return a string for connector type
145 * drm_connector_get_cmdline_mode - reads the user's cmdline mode
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/display/
Damlogic,meson-vpu.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
5 $id: "http://devicetree.org/schemas/display/amlogic,meson-vpu.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
11 - Neil Armstrong <neil.armstrong@linaro.org>
17 DMC|---------------VPU (Video Processing Unit)----------------|------HHI------|
19 D |-------| |----| | | | | HDMI PLL |
20 D | vd2 | VIU | | Video Post | | Video Encoders |<---|-----VCLK |
21 R |-------| |----| Processing | | | | |
22 | osd2 | | | |---| Enci ----------|----|-----VDAC------|
[all …]
/Linux-v6.1/drivers/staging/media/ipu3/include/uapi/
Dintel-ipu3.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /* Copyright (C) 2017 - 2018 Intel Corporation */
11 /* Vendor specific - used for IPU3 camera sub-system */
17 /* from include/uapi/linux/v4l2-controls.h */
26 #define IPU3_UAPI_GRID_START_MASK ((1 << 12) - 1)
34 * struct ipu3_uapi_grid_config - Grid plane config
56 * create a grid-based output, and the data is then divided into "slices".
71 * struct ipu3_uapi_awb_set_item - Memory layout for each cell in AWB
108 * struct ipu3_uapi_awb_raw_buffer - AWB raw buffer
119 * struct ipu3_uapi_awb_config_s - AWB config
[all …]
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn201/
Ddcn201_hwseq.c44 hws->ctx
47 hws->regs->reg
50 dc->ctx->logger
54 hws->shifts->field_name, hws->masks->field_name
59 struct dc_plane_state *plane_state = pipe_ctx->plane_state; in patch_address_for_sbs_tb_stereo()
60 bool sec_split = pipe_ctx->top_pipe && in patch_address_for_sbs_tb_stereo()
61 pipe_ctx->top_pipe->plane_state == pipe_ctx->plane_state; in patch_address_for_sbs_tb_stereo()
63 if (sec_split && plane_state->address.type == PLN_ADDR_TYPE_GRPH_STEREO && in patch_address_for_sbs_tb_stereo()
64 (pipe_ctx->stream->timing.timing_3d_format == in patch_address_for_sbs_tb_stereo()
66 pipe_ctx->stream->timing.timing_3d_format == in patch_address_for_sbs_tb_stereo()
[all …]
/Linux-v6.1/drivers/gpu/drm/vkms/
Dvkms_composer.c1 // SPDX-License-Identifier: GPL-2.0+
18 new_color = (src * 0xffff + dst * (0xffff - alpha)); in pre_mul_blend_channel()
24 * pre_mul_alpha_blend - alpha blending equation
34 * pre-multiplied with the alpha channel values. See more
42 int x_dst = frame_info->dst.x1; in pre_mul_alpha_blend()
43 struct pixel_argb_u16 *out = output_buffer->pixels + x_dst; in pre_mul_alpha_blend()
44 struct pixel_argb_u16 *in = stage_buffer->pixels; in pre_mul_alpha_blend()
45 int x_limit = min_t(size_t, drm_rect_width(&frame_info->dst), in pre_mul_alpha_blend()
46 stage_buffer->n_pixels); in pre_mul_alpha_blend()
58 if (y >= frame_info->dst.y1 && y < frame_info->dst.y2) in check_y_limit()
[all …]
/Linux-v6.1/Documentation/admin-guide/media/
Dimx.rst1 .. SPDX-License-Identifier: GPL-2.0
7 ------------
15 - Image DMA Controller (IDMAC)
16 - Camera Serial Interface (CSI)
17 - Image Converter (IC)
18 - Sensor Multi-FIFO Controller (SMFC)
19 - Image Rotator (IRT)
20 - Video De-Interlacing or Combining Block (VDIC)
26 re-ordering (for example UYVY to YUYV) within the same colorspace, and
27 packed <--> planar conversion. The IDMAC can also perform a simple
[all …]
/Linux-v6.1/drivers/gpu/drm/rcar-du/
Drcar_du_group.c1 // SPDX-License-Identifier: GPL-2.0+
3 * R-Car Display Unit Channels Pair
5 * Copyright (C) 2013-2015 Renesas Electronics Corporation
11 * The R8A7779 DU is split in per-CRTC resources (scan-out engine, blending
12 * unit, timings generator, ...) and device-global resources (start/stop
19 * modeled as a single device with three CRTCs, two sets of "semi-global"
20 * resources, and a few device-global resources.
23 * counterpart in the DU documentation, that models those semi-global resources.
35 return rcar_du_read(rgrp->dev, rgrp->mmio_offset + reg); in rcar_du_group_read()
40 rcar_du_write(rgrp->dev, rgrp->mmio_offset + reg, data); in rcar_du_group_write()
[all …]
/Linux-v6.1/drivers/gpu/drm/sprd/
Dsprd_dpu.c1 // SPDX-License-Identifier: GPL-2.0
8 #include <linux/dma-buf.h>
133 struct dpu_context *ctx = &dpu->ctx; in dpu_wait_stop_done()
136 if (ctx->stopped) in dpu_wait_stop_done()
139 rc = wait_event_interruptible_timeout(ctx->wait_queue, ctx->evt_stop, in dpu_wait_stop_done()
141 ctx->evt_stop = false; in dpu_wait_stop_done()
143 ctx->stopped = true; in dpu_wait_stop_done()
146 drm_err(dpu->drm, "dpu wait for stop done time out!\n"); in dpu_wait_stop_done()
147 return -ETIMEDOUT; in dpu_wait_stop_done()
155 struct dpu_context *ctx = &dpu->ctx; in dpu_wait_update_done()
[all …]
/Linux-v6.1/drivers/gpu/drm/rockchip/
Drockchip_drm_vop.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Author:Mark Yao <mark.yao@rock-chips.com>
46 vop_reg_set(vop, &win->phy->name, win->base, ~0, v, #name)
48 vop_reg_set(vop, &win->phy->scl->name, win->base, ~0, v, #name)
50 vop_reg_set(vop, &win->phy->scl->ext->name, \
51 win->base, ~0, v, #name)
55 if (win_yuv2yuv && win_yuv2yuv->name.mask) \
56 vop_reg_set(vop, &win_yuv2yuv->name, 0, ~0, v, #name); \
61 if (win_yuv2yuv && win_yuv2yuv->phy->name.mask) \
62 vop_reg_set(vop, &win_yuv2yuv->phy->name, win_yuv2yuv->base, ~0, v, #name); \
[all …]
/Linux-v6.1/Documentation/driver-api/media/drivers/
Dcx2341x-devel.rst1 .. SPDX-License-Identifier: GPL-2.0
7 -----------------------
12 .. note:: the memory long words are little-endian ('intel format').
21 .. code-block:: none
23 ivtvctl -O min=0x02000000,max=0x020000ff
26 register space :-).
35 .. code-block:: none
37 0x00000000-0x00ffffff Encoder memory space
38 0x00000000-0x0003ffff Encode.rom
39 ???-??? MPEG buffer(s)
[all …]
/Linux-v6.1/drivers/gpu/drm/nouveau/
Dnouveau_bo.c30 #include <linux/dma-mapping.h>
51 * NV10-NV40 tiling helpers
59 int i = reg - drm->tile.reg; in nv10_bo_update_tile_region()
60 struct nvkm_fb *fb = nvxx_fb(&drm->client.device); in nv10_bo_update_tile_region()
61 struct nvkm_fb_tile *tile = &fb->tile.region[i]; in nv10_bo_update_tile_region()
63 nouveau_fence_unref(&reg->fence); in nv10_bo_update_tile_region()
65 if (tile->pitch) in nv10_bo_update_tile_region()
78 struct nouveau_drm_tile *tile = &drm->tile.reg[i]; in nv10_bo_get_tile_region()
80 spin_lock(&drm->tile.lock); in nv10_bo_get_tile_region()
82 if (!tile->used && in nv10_bo_get_tile_region()
[all …]
/Linux-v6.1/drivers/gpu/drm/amd/include/
Datombios.h2 * Copyright 2006-2007 Advanced Micro Devices, Inc.
107 #define ATOM_SCALER_DISABLE 0 //For Fudo, it's bypass and auto-cengter & no replication
108 #define ATOM_SCALER_CENTER 1 //For Fudo, it's bypass and auto-center & auto replication
109 #define ATOM_SCALER_EXPANSION 2 //For Fudo, it's 2 Tap alpha blending mode
110 #define ATOM_SCALER_MULTI_EX 3 //For Fudo only, it's multi-tap mode only used to drive TV or CV,…
222 UCHAR uaFirmWareSignature[4]; //Signature to distinguish between Atombios and non-atombios,
245 UCHAR uaFirmWareSignature[4]; //Signature to distinguish between Atombios and non-atombios,
427 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_…
433 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_…
440 …ULONG ulClock; //When returen, it's the re-calculated clock based on given Fb_div Post_Di…
[all …]
Datomfirmware.h6 * Description header file of general definitions for OS and pre-OS video drivers
31 * If a change in VBIOS/Driver/Tool's interface is only needed for pre-SoC15 products, then the chan…
32 * If a change is needed for both pre and post SoC15 products, then the change has to be made separa…
115 ATOM_SCALER_DISABLE =0, /*scaler bypass mode, auto-center & no replication*/
116 ATOM_SCALER_CENTER =1, //For Fudo, it's bypass and auto-center & auto replication
117 ATOM_SCALER_EXPANSION =2, /*scaler expansion by 2 tap alpha blending mode*/
201 #define BIOS_VERSION_PREFIX "ATOMBIOSBK-AMD"
244 …tom_string_def atom_bios_string; //Signature to distinguish between Atombios and non-atombios,
603 uint32_t maco_pwrlimit_mw; // bomaco mode power limit in unit of m-watt
604 uint32_t usb_pwrlimit_mw; // power limit when USB is enable in unit of m-watt
[all …]
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer.c65 hws->ctx
67 hws->regs->reg
71 hws->shifts->field_name, hws->masks->field_name
86 const uint32_t ref_clk_mhz = dc_ctx->dc->res_pool->ref_clocks.dchub_ref_clock_inKhz / 1000; in print_microsec()
103 for (i = 0; i < dc->res_pool->pipe_count; i++) { in dcn10_lock_all_pipes()
104 pipe_ctx = &context->res_ctx.pipe_ctx[i]; in dcn10_lock_all_pipes()
105 tg = pipe_ctx->stream_res.tg; in dcn10_lock_all_pipes()
111 if (pipe_ctx->top_pipe || in dcn10_lock_all_pipes()
112 !pipe_ctx->stream || in dcn10_lock_all_pipes()
113 !pipe_ctx->plane_state || in dcn10_lock_all_pipes()
[all …]
/Linux-v6.1/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c175 switch (link->dpcd_caps.dongle_type) { in get_subconnector_type()
194 struct dc_link *link = aconnector->dc_link; in update_subconnector_property()
195 struct drm_connector *connector = &aconnector->base; in update_subconnector_property()
198 if (connector->connector_type != DRM_MODE_CONNECTOR_DisplayPort) in update_subconnector_property()
201 if (aconnector->dc_sink) in update_subconnector_property()
204 drm_object_property_set_value(&connector->base, in update_subconnector_property()
205 connector->dev->mode_config.dp_subconnector_property, in update_subconnector_property()
248 * struct amdgpu_device *adev - [in] desired amdgpu device
249 * int disp_idx - [in] which CRTC to get the counter from
256 if (crtc >= adev->mode_info.num_crtc) in dm_vblank_get_counter()
[all …]