Home
last modified time | relevance | path

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

/Linux-v5.15/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.c45 * Hence they are reference-counted using drm_connector_get() and
61 * For connectors which are not fixed (like built-in panels) the driver needs to
80 { DRM_MODE_CONNECTOR_DVII, "DVI-I" },
81 { DRM_MODE_CONNECTOR_DVID, "DVI-D" },
82 { DRM_MODE_CONNECTOR_DVIA, "DVI-A" },
89 { DRM_MODE_CONNECTOR_HDMIA, "HDMI-A" },
90 { DRM_MODE_CONNECTOR_HDMIB, "HDMI-B" },
118 * drm_get_connector_type_name - return a string for connector type
133 * drm_connector_get_cmdline_mode - reads the user's cmdline mode
136 * The kernel supports per-connector configuration of its consoles through
[all …]
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/inc/hw/
Dmpc.h1 /* Copyright 2012-15 Advanced Micro Devices, Inc.
58 * MPCC blending configuration
63 bool pre_multiplied_alpha; /* alpha pre-multiplied mode flag */
83 /* 0-single plane,2-row subsampling,4-column subsampling,6-checkboard subsampling */
85 /* 0- disable frame alternate, 1- enable frame alternate */
87 /* 0- disable field alternate, 1- enable field alternate */
89 /* 0-no force,2-force frame polarity from top,3-force frame polarity from bottom */
91 /* 0-no force,2-force field polarity from top,3-force field polarity from bottom */
111 * MPCC connection and blending configuration for a single MPCC instance.
118 struct mpcc_blnd_cfg blnd_cfg; /* The blending configuration for this MPCC */
[all …]
/Linux-v5.15/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 <narmstrong@baylibre.com>
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-v5.15/drivers/gpu/drm/vkms/
Dvkms_composer.c1 // SPDX-License-Identifier: GPL-2.0+
17 int src_offset = composer->offset + (y * composer->pitch) in get_pixel_from_buffer()
18 + (x * composer->cpp); in get_pixel_from_buffer()
26 * compute_crc - Compute CRC value on output frame
39 int x_src = composer->src.x1 >> 16; in compute_crc()
40 int y_src = composer->src.y1 >> 16; in compute_crc()
41 int h_src = drm_rect_height(&composer->src) >> 16; in compute_crc()
42 int w_src = drm_rect_width(&composer->src) >> 16; in compute_crc()
59 pre_blend = (src * 255 + dst * (255 - alpha)); in blend_channel()
68 * alpha_blend - alpha blending equation
[all …]
/Linux-v5.15/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
50 * create a grid-based output, and the data is then divided into "slices".
80 * struct ipu3_uapi_awb_raw_buffer - AWB raw buffer
91 * struct ipu3_uapi_awb_config_s - AWB config
111 * struct ipu3_uapi_awb_config - AWB config wrapper
[all …]
/Linux-v5.15/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-v5.15/drivers/gpu/drm/rcar-du/
Drcar_du_group.c1 // SPDX-License-Identifier: GPL-2.0+
3 * rcar_du_group.c -- 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-v5.15/drivers/gpu/drm/rockchip/
Drockchip_drm_vop.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Author:Mark Yao <mark.yao@rock-chips.com>
44 vop_reg_set(vop, &win->phy->name, win->base, ~0, v, #name)
46 vop_reg_set(vop, &win->phy->scl->name, win->base, ~0, v, #name)
48 vop_reg_set(vop, &win->phy->scl->ext->name, \
49 win->base, ~0, v, #name)
53 if (win_yuv2yuv && win_yuv2yuv->name.mask) \
54 vop_reg_set(vop, &win_yuv2yuv->name, 0, ~0, v, #name); \
59 if (win_yuv2yuv && win_yuv2yuv->phy->name.mask) \
60 vop_reg_set(vop, &win_yuv2yuv->phy->name, win_yuv2yuv->base, ~0, v, #name); \
[all …]
/Linux-v5.15/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-v5.15/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-v5.15/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 nd 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-v5.15/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c145 switch (link->dpcd_caps.dongle_type) { in get_subconnector_type()
164 struct dc_link *link = aconnector->dc_link; in update_subconnector_property()
165 struct drm_connector *connector = &aconnector->base; in update_subconnector_property()
168 if (connector->connector_type != DRM_MODE_CONNECTOR_DisplayPort) in update_subconnector_property()
171 if (aconnector->dc_sink) in update_subconnector_property()
174 drm_object_property_set_value(&connector->base, in update_subconnector_property()
175 connector->dev->mode_config.dp_subconnector_property, in update_subconnector_property()
228 * struct amdgpu_device *adev - [in] desired amdgpu device
229 * int disp_idx - [in] which CRTC to get the counter from
236 if (crtc >= adev->mode_info.num_crtc) in dm_vblank_get_counter()
[all …]
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer.c63 hws->ctx
65 hws->regs->reg
69 hws->shifts->field_name, hws->masks->field_name
84 const uint32_t ref_clk_mhz = dc_ctx->dc->res_pool->ref_clocks.dchub_ref_clock_inKhz / 1000; in print_microsec()
101 for (i = 0; i < dc->res_pool->pipe_count; i++) { in dcn10_lock_all_pipes()
102 pipe_ctx = &context->res_ctx.pipe_ctx[i]; in dcn10_lock_all_pipes()
103 tg = pipe_ctx->stream_res.tg; in dcn10_lock_all_pipes()
109 if (pipe_ctx->top_pipe || in dcn10_lock_all_pipes()
110 !pipe_ctx->stream || !pipe_ctx->plane_state || in dcn10_lock_all_pipes()
111 !tg->funcs->is_tg_enabled(tg)) in dcn10_lock_all_pipes()
[all …]