History

drm/amd/display: Add 3x4 CTM support for plane CTM

Create drm_color_ctm_3x4 to support 3x4-dimension plane CTM matrix and convert DRM CTM to DC CSC float matrix. v3: - rename ctm2 to ctm_3x4 (Harry)

Joshua Ashton committed 2 years ago

Commit 6872a181 parent 3dad6903 files · +34 −4Browse files

Showing the changes to include/uapi (1 of 3 files). Show all

Unified · Split

include/uapi/drm/drm_mode.h+8−0
@@ -846,6 +846,14 @@ struct drm_color_ctm { · 845 unmodified lines
846 __u64 matrix[9];846 __u64 matrix[9];
847};847};
848 848
849struct drm_color_ctm_3x4 {
850 /*
851 * Conversion matrix with 3x4 dimensions in S31.32 sign-magnitude
852 * (not two's complement!) format.
853 */
854 __u64 matrix[12];
855};
856
849struct drm_color_lut {857struct drm_color_lut {
850 /*858 /*
851 * Values are mapped linearly to 0.0 - 1.0 range, with 0x0 == 0.0 and859 * Values are mapped linearly to 0.0 - 1.0 range, with 0x0 == 0.0 and

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t