Home
last modified time | relevance | path

Searched full:ctm (Results 1 – 25 of 96) sorted by relevance

1234

/kernel/linux/linux-6.6/drivers/gpu/drm/ci/xfails/
Dmsm-sdm845-fails.txt1 kms_color@ctm-0-25,Fail
2 kms_color@ctm-0-50,Fail
3 kms_color@ctm-0-75,Fail
4 kms_color@ctm-blue-to-red,Fail
5 kms_color@ctm-green-to-red,Fail
6 kms_color@ctm-negative,Fail
7 kms_color@ctm-red-to-blue,Fail
8 kms_color@ctm-signed,Fail
9 kms_color@pipe-A-ctm-0-25,Fail
10 kms_color@pipe-A-ctm-0-5,Fail
[all …]
Di915-apl-fails.txt11 kms_color@ctm-0-25,Fail
12 kms_color@ctm-0-50,Fail
13 kms_color@ctm-0-75,Fail
14 kms_color@ctm-max,Fail
15 kms_color@ctm-negative,Fail
16 kms_color@ctm-red-to-blue,Fail
17 kms_color@ctm-signed,Fail
Dmsm-sc7180-skips.txt4 # Test incorrectly assumes that CTM support implies gamma/degamma
6 # CTM support
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
Dvc4_kms.c31 struct drm_color_ctm *ctm; member
155 struct drm_color_ctm *ctm = ctm_state->ctm; in vc4_ctm_commit() local
159 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[0]), in vc4_ctm_commit()
161 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[3]), in vc4_ctm_commit()
163 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[6]), in vc4_ctm_commit()
166 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[1]), in vc4_ctm_commit()
168 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[4]), in vc4_ctm_commit()
170 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[7]), in vc4_ctm_commit()
173 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[2]), in vc4_ctm_commit()
175 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[5]), in vc4_ctm_commit()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_color.c44 * interface exposes CRTC degamma, CRTC CTM and CRTC regamma while our hardware
47 * Plane CTM -> Plane degamma -> Plane CTM -> Plane regamma -> Plane CTM
68 * Plane DGM Bypass -> Plane CTM Bypass -> Plane RGM Bypass -> ...
69 * CRTC DGM Bypass -> CRTC CTM Bypass -> CRTC RGM Bypass
158 * Converts a DRM CTM to a DC CSC float matrix.
161 static void __drm_ctm_to_dc_matrix(const struct drm_color_ctm *ctm, in __drm_ctm_to_dc_matrix() argument
182 /* gamut_remap_matrix[i] = ctm[i - floor(i/4)] */ in __drm_ctm_to_dc_matrix()
183 val = ctm->matrix[i - (i / 4)]; in __drm_ctm_to_dc_matrix()
323 * of the HW blocks as long as the CRTC CTM always comes before the
328 * The CRTC CTM will be placed in the gamut remap block if it is non-linear.
[all …]
/kernel/linux/linux-5.10/Documentation/trace/coresight/
Dcoresight-ect.rst4 CoreSight Embedded Cross Trigger (CTI & CTM).
15 devices and interconnects them via the Cross Trigger Matrix (CTM) to other
24 0000000 : CTI :<=========>*CTM*<====>: CTI :---+
33 become active. The active channel is propagated to other CTIs via the CTM,
53 All the CTI devices are associated with a CTM. On many systems there will be a
54 single effective CTM (one CTM, or multiple CTMs all interconnected), but it is
55 possible that systems can have nets of CTIs+CTM that are not interconnected by
56 a CTM to each other. On these systems a CTM index is declared to associate
57 CTI devices that are interconnected via a given CTM.
82 * ``ctmid`` : associated CTM - only relevant if system has multiple CTI+CTM
[all …]
/kernel/linux/linux-6.6/Documentation/trace/coresight/
Dcoresight-ect.rst4 CoreSight Embedded Cross Trigger (CTI & CTM).
15 devices and interconnects them via the Cross Trigger Matrix (CTM) to other
24 0000000 : CTI :<=========>*CTM*<====>: CTI :---+
33 become active. The active channel is propagated to other CTIs via the CTM,
53 All the CTI devices are associated with a CTM. On many systems there will be a
54 single effective CTM (one CTM, or multiple CTMs all interconnected), but it is
55 possible that systems can have nets of CTIs+CTM that are not interconnected by
56 a CTM to each other. On these systems a CTM index is declared to associate
57 CTI devices that are interconnected via a given CTM.
82 * ``ctmid`` : associated CTM - only relevant if system has multiple CTI+CTM
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/vc4/
Dvc4_kms.c30 struct drm_color_ctm *ctm; member
139 struct drm_color_ctm *ctm = ctm_state->ctm; in vc4_ctm_commit() local
143 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[0]), in vc4_ctm_commit()
145 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[3]), in vc4_ctm_commit()
147 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[6]), in vc4_ctm_commit()
150 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[1]), in vc4_ctm_commit()
152 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[4]), in vc4_ctm_commit()
154 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[7]), in vc4_ctm_commit()
157 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[2]), in vc4_ctm_commit()
159 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[5]), in vc4_ctm_commit()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_color.c46 * interface exposes CRTC degamma, CRTC CTM and CRTC regamma while our hardware
49 * Plane CTM -> Plane degamma -> Plane CTM -> Plane regamma -> Plane CTM
70 * Plane DGM Bypass -> Plane CTM Bypass -> Plane RGM Bypass -> ...
71 * CRTC DGM Bypass -> CRTC CTM Bypass -> CRTC RGM Bypass
176 * __drm_ctm_to_dc_matrix - converts a DRM CTM to a DC CSC float matrix
177 * @ctm: DRM color transformation matrix
182 static void __drm_ctm_to_dc_matrix(const struct drm_color_ctm *ctm, in __drm_ctm_to_dc_matrix() argument
203 /* gamut_remap_matrix[i] = ctm[i - floor(i/4)] */ in __drm_ctm_to_dc_matrix()
204 val = ctm->matrix[i - (i / 4)]; in __drm_ctm_to_dc_matrix()
378 * of the HW blocks as long as the CRTC CTM always comes before the
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/arm/
Darm,coresight-cti.yaml13 a star topology via the Cross Trigger Matrix (CTM), which is not programmable.
24 CTIs are interconnected in a star topology via the CTM, using a number of
104 arm,cti-ctm-id:
107 Defines the CTM this CTI is connected to, in large systems with multiple
108 separate CTI/CTM nets. Typically multi-socket systems where the CTM is
264 arm,cti-ctm-id = <1>;
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/
Dcoresight-cti.yaml13 a star topology via the Cross Trigger Matrix (CTM), which is not programmable.
25 CTIs are interconnected in a star topology via the CTM, using a number of
102 arm,cti-ctm-id:
105 Defines the CTM this CTI is connected to, in large systems with multiple
106 separate CTI/CTM nets. Typically multi-socket systems where the CTM is
262 arm,cti-ctm-id = <1>;
/kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/
Domap_crtc.c381 static void omap_crtc_cpr_coefs_from_ctm(const struct drm_color_ctm *ctm, in omap_crtc_cpr_coefs_from_ctm() argument
384 cpr->rr = omap_crtc_s31_32_to_s2_8(ctm->matrix[0]); in omap_crtc_cpr_coefs_from_ctm()
385 cpr->rg = omap_crtc_s31_32_to_s2_8(ctm->matrix[1]); in omap_crtc_cpr_coefs_from_ctm()
386 cpr->rb = omap_crtc_s31_32_to_s2_8(ctm->matrix[2]); in omap_crtc_cpr_coefs_from_ctm()
387 cpr->gr = omap_crtc_s31_32_to_s2_8(ctm->matrix[3]); in omap_crtc_cpr_coefs_from_ctm()
388 cpr->gg = omap_crtc_s31_32_to_s2_8(ctm->matrix[4]); in omap_crtc_cpr_coefs_from_ctm()
389 cpr->gb = omap_crtc_s31_32_to_s2_8(ctm->matrix[5]); in omap_crtc_cpr_coefs_from_ctm()
390 cpr->br = omap_crtc_s31_32_to_s2_8(ctm->matrix[6]); in omap_crtc_cpr_coefs_from_ctm()
391 cpr->bg = omap_crtc_s31_32_to_s2_8(ctm->matrix[7]); in omap_crtc_cpr_coefs_from_ctm()
392 cpr->bb = omap_crtc_s31_32_to_s2_8(ctm->matrix[8]); in omap_crtc_cpr_coefs_from_ctm()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/
Dmalidp_crtc.c196 * Check if there is a new CTM and if it contains valid input. Valid here means
206 struct drm_color_ctm *ctm; in malidp_crtc_atomic_check_ctm() local
212 if (!state->ctm) in malidp_crtc_atomic_check_ctm()
215 if (crtc->state->ctm && (crtc->state->ctm->base.id == in malidp_crtc_atomic_check_ctm()
216 state->ctm->base.id)) in malidp_crtc_atomic_check_ctm()
220 * The size of the ctm is checked in in malidp_crtc_atomic_check_ctm()
223 ctm = (struct drm_color_ctm *)state->ctm->data; in malidp_crtc_atomic_check_ctm()
224 for (i = 0; i < ARRAY_SIZE(ctm->matrix); ++i) { in malidp_crtc_atomic_check_ctm()
226 s64 val = ctm->matrix[i]; in malidp_crtc_atomic_check_ctm()
/kernel/linux/linux-6.6/drivers/gpu/drm/arm/
Dmalidp_crtc.c199 * Check if there is a new CTM and if it contains valid input. Valid here means
209 struct drm_color_ctm *ctm; in malidp_crtc_atomic_check_ctm() local
215 if (!state->ctm) in malidp_crtc_atomic_check_ctm()
218 if (crtc->state->ctm && (crtc->state->ctm->base.id == in malidp_crtc_atomic_check_ctm()
219 state->ctm->base.id)) in malidp_crtc_atomic_check_ctm()
223 * The size of the ctm is checked in in malidp_crtc_atomic_check_ctm()
226 ctm = (struct drm_color_ctm *)state->ctm->data; in malidp_crtc_atomic_check_ctm()
227 for (i = 0; i < ARRAY_SIZE(ctm->matrix); ++i) { in malidp_crtc_atomic_check_ctm()
229 s64 val = ctm->matrix[i]; in malidp_crtc_atomic_check_ctm()
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/
Dcoresight-cti.h100 * @ctm_id: which CTM this device is connected to (by default it is
101 * assumed there is a single CTM per SoC, ID 0).
120 * @nr_ctm_channels: number of available CTM channels - from ID register.
135 * @ctigate: gate channel output from CTI to CTM.
168 * @ctidev: Extra information needed by the CTI/CTM framework.
/kernel/linux/linux-6.6/drivers/hwtracing/coresight/
Dcoresight-cti.h100 * @ctm_id: which CTM this device is connected to (by default it is
101 * assumed there is a single CTM per SoC, ID 0).
120 * @nr_ctm_channels: number of available CTM channels - from ID register.
135 * @ctigate: gate channel output from CTI to CTM.
168 * @ctidev: Extra information needed by the CTI/CTM framework.
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/
Dkomeda_color_mgmt.c123 struct drm_color_ctm *ctm; in drm_ctm_to_coeffs() local
129 ctm = ctm_blob->data; in drm_ctm_to_coeffs()
132 coeffs[i] = drm_color_ctm_s31_32_to_qm_n(ctm->matrix[i], 3, 12); in drm_ctm_to_coeffs()
/kernel/linux/linux-6.6/drivers/gpu/drm/arm/display/komeda/
Dkomeda_color_mgmt.c123 struct drm_color_ctm *ctm; in drm_ctm_to_coeffs() local
129 ctm = ctm_blob->data; in drm_ctm_to_coeffs()
132 coeffs[i] = drm_color_ctm_s31_32_to_qm_n(ctm->matrix[i], 3, 12); in drm_ctm_to_coeffs()
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-bus-coresight-devices-cti17 Description: (Read) Display the associated CTM ID
141 Description: (Write) Attach a CTI input trigger to a CTM channel.
147 Description: (Write) Detach a CTI input trigger from a CTM channel.
153 Description: (Write) Attach a CTI output trigger to a CTM channel.
159 Description: (Write) Detach a CTI output trigger from a CTM channel.
/kernel/linux/linux-6.6/Documentation/ABI/testing/
Dsysfs-bus-coresight-devices-cti17 Description: (Read) Display the associated CTM ID
141 Description: (Write) Attach a CTI input trigger to a CTM channel.
147 Description: (Write) Detach a CTI input trigger from a CTM channel.
153 Description: (Write) Attach a CTI output trigger to a CTM channel.
159 Description: (Write) Detach a CTI output trigger from a CTM channel.
/kernel/linux/linux-6.6/drivers/gpu/drm/tidss/
Dtidss_dispc.c2443 static void dispc_k2g_cpr_from_ctm(const struct drm_color_ctm *ctm, in dispc_k2g_cpr_from_ctm() argument
2449 cpr->m[CSC_RR] = dispc_S31_32_to_s2_8(ctm->matrix[0]); in dispc_k2g_cpr_from_ctm()
2450 cpr->m[CSC_RG] = dispc_S31_32_to_s2_8(ctm->matrix[1]); in dispc_k2g_cpr_from_ctm()
2451 cpr->m[CSC_RB] = dispc_S31_32_to_s2_8(ctm->matrix[2]); in dispc_k2g_cpr_from_ctm()
2452 cpr->m[CSC_GR] = dispc_S31_32_to_s2_8(ctm->matrix[3]); in dispc_k2g_cpr_from_ctm()
2453 cpr->m[CSC_GG] = dispc_S31_32_to_s2_8(ctm->matrix[4]); in dispc_k2g_cpr_from_ctm()
2454 cpr->m[CSC_GB] = dispc_S31_32_to_s2_8(ctm->matrix[5]); in dispc_k2g_cpr_from_ctm()
2455 cpr->m[CSC_BR] = dispc_S31_32_to_s2_8(ctm->matrix[6]); in dispc_k2g_cpr_from_ctm()
2456 cpr->m[CSC_BG] = dispc_S31_32_to_s2_8(ctm->matrix[7]); in dispc_k2g_cpr_from_ctm()
2457 cpr->m[CSC_BB] = dispc_S31_32_to_s2_8(ctm->matrix[8]); in dispc_k2g_cpr_from_ctm()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/tidss/
Dtidss_dispc.c2390 static void dispc_k2g_cpr_from_ctm(const struct drm_color_ctm *ctm, in dispc_k2g_cpr_from_ctm() argument
2396 cpr->m[CSC_RR] = dispc_S31_32_to_s2_8(ctm->matrix[0]); in dispc_k2g_cpr_from_ctm()
2397 cpr->m[CSC_RG] = dispc_S31_32_to_s2_8(ctm->matrix[1]); in dispc_k2g_cpr_from_ctm()
2398 cpr->m[CSC_RB] = dispc_S31_32_to_s2_8(ctm->matrix[2]); in dispc_k2g_cpr_from_ctm()
2399 cpr->m[CSC_GR] = dispc_S31_32_to_s2_8(ctm->matrix[3]); in dispc_k2g_cpr_from_ctm()
2400 cpr->m[CSC_GG] = dispc_S31_32_to_s2_8(ctm->matrix[4]); in dispc_k2g_cpr_from_ctm()
2401 cpr->m[CSC_GB] = dispc_S31_32_to_s2_8(ctm->matrix[5]); in dispc_k2g_cpr_from_ctm()
2402 cpr->m[CSC_BR] = dispc_S31_32_to_s2_8(ctm->matrix[6]); in dispc_k2g_cpr_from_ctm()
2403 cpr->m[CSC_BG] = dispc_S31_32_to_s2_8(ctm->matrix[7]); in dispc_k2g_cpr_from_ctm()
2404 cpr->m[CSC_BB] = dispc_S31_32_to_s2_8(ctm->matrix[8]); in dispc_k2g_cpr_from_ctm()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/mediatek/
Dmtk_disp_ccorr.c107 struct drm_property_blob *blob = state->ctm; in mtk_ccorr_ctm_set()
108 struct drm_color_ctm *ctm; in mtk_ccorr_ctm_set() local
118 ctm = (struct drm_color_ctm *)blob->data; in mtk_ccorr_ctm_set()
119 input = ctm->matrix; in mtk_ccorr_ctm_set()
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/
Dmsm_atomic.c192 if ((old_crtc_state->ctm && !new_crtc_state->ctm) || in msm_atomic_check()
193 (!old_crtc_state->ctm && new_crtc_state->ctm)) { in msm_atomic_check()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_crtc.c424 struct drm_color_ctm *ctm; in _dpu_crtc_get_pcc_coeff() local
428 ctm = (struct drm_color_ctm *)state->ctm->data; in _dpu_crtc_get_pcc_coeff()
430 if (!ctm) in _dpu_crtc_get_pcc_coeff()
433 cfg->r.r = CONVERT_S3_15(ctm->matrix[0]); in _dpu_crtc_get_pcc_coeff()
434 cfg->g.r = CONVERT_S3_15(ctm->matrix[1]); in _dpu_crtc_get_pcc_coeff()
435 cfg->b.r = CONVERT_S3_15(ctm->matrix[2]); in _dpu_crtc_get_pcc_coeff()
437 cfg->r.g = CONVERT_S3_15(ctm->matrix[3]); in _dpu_crtc_get_pcc_coeff()
438 cfg->g.g = CONVERT_S3_15(ctm->matrix[4]); in _dpu_crtc_get_pcc_coeff()
439 cfg->b.g = CONVERT_S3_15(ctm->matrix[5]); in _dpu_crtc_get_pcc_coeff()
441 cfg->r.b = CONVERT_S3_15(ctm->matrix[6]); in _dpu_crtc_get_pcc_coeff()
[all …]

1234