diff options
| author | Melissa Wen <[email protected]> | 2023-11-16 19:58:10 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-12-14 20:26:15 +0000 |
| commit | b8b92c1bd7788b1f13d547ee2ce8a93baf55b814 (patch) | |
| tree | 6db2d7cf96b481f21db9ab066008717060eee705 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | |
| parent | drm/amd/display: copy 3D LUT settings from crtc state to stream_update (diff) | |
| download | kernel-b8b92c1bd7788b1f13d547ee2ce8a93baf55b814.tar.gz kernel-b8b92c1bd7788b1f13d547ee2ce8a93baf55b814.zip | |
drm/amd/display: add plane CTM driver-specific property
Plane CTM for pre-blending color space conversion. Only enable
driver-specific plane CTM property on drivers that support both pre- and
post-blending gamut remap matrix, i.e., DCN3+ family. Otherwise it
conflits with DRM CRTC CTM property.
Reviewed-by: Harry Wentland <[email protected]>
Signed-off-by: Melissa Wen <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h')
| -rw-r--r-- | drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h index 7706d412d206..2d5af83d40b5 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h @@ -785,6 +785,13 @@ struct dm_plane_state { */ __u64 hdr_mult; /** + * @ctm: + * + * Color transformation matrix. The blob (if not NULL) is a &struct + * drm_color_ctm_3x4. + */ + struct drm_property_blob *ctm; + /** * @shaper_lut: shaper lookup table blob. The blob (if not NULL) is an * array of &struct drm_color_lut. */ |
