drm_color_ctm_3x4 is some undocumented amgdpu private uapi and thus has no business being in drm_mode.h. At least move it to some amdgpu specific header, albeit with the wrong namespace as maybe something somewhere is using this already?
Showing the changes to include/uapi (2 of 2 files). Show all
Unified · Split
| @@ -1269,6 +1269,15 @@ struct drm_amdgpu_info_gpuvm_fault { · 1268 unmodified lines | ||
| 1269 | 1269 | #define AMDGPU_FAMILY_GC_10_3_7 151 /* GC 10.3.7 */ |
| 1270 | 1270 | #define AMDGPU_FAMILY_GC_11_5_0 150 /* GC 11.5.0 */ |
| 1271 | 1271 | |
| 1272 | +/* FIXME wrong namespace! */ | |
| 1273 | +struct drm_color_ctm_3x4 { | |
| 1274 | + /* | |
| 1275 | + * Conversion matrix with 3x4 dimensions in S31.32 sign-magnitude | |
| 1276 | + * (not two's complement!) format. | |
| 1277 | + */ | |
| 1278 | + __u64 matrix[12]; | |
| 1279 | +}; | |
| 1280 | + | |
| 1272 | 1281 | #if defined(__cplusplus) |
| 1273 | 1282 | } |
| 1274 | 1283 | #endif |
| @@ -846,14 +846,6 @@ struct drm_color_ctm { · 845 unmodified lines | ||
| 846 | 846 | __u64 matrix[9]; |
| 847 | 847 | }; |
| 848 | 848 | |
| 849 | −struct 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 | − | |
| 857 | 849 | struct drm_color_lut { |
| 858 | 850 | /* |
| 859 | 851 | * Values are mapped linearly to 0.0 - 1.0 range, with 0x0 == 0.0 and |