History

drm/colorop: Define LUT_1D interpolation

We want to make sure userspace is aware of the 1D LUT interpolation. While linear interpolation is common it might not be supported on all HW. Give driver implementers a way to specify their interpolation.

Harry Wentland committed 1 year ago

Commit 7fa3ee81 parent 68186c76 files · +79 −4Browse files

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

Unified · Split

include/uapi/drm/drm_mode.h+13−0
@@ -944,6 +944,19 @@ enum drm_colorop_type { · 943 unmodified lines
944 DRM_COLOROP_MULTIPLIER,944 DRM_COLOROP_MULTIPLIER,
945};945};
946 946
947/**
948 * enum drm_colorop_lut1d_interpolation_type - type of interpolation for 1D LUTs
949 */
950enum drm_colorop_lut1d_interpolation_type {
951 /**
952 * @DRM_COLOROP_LUT1D_INTERPOLATION_LINEAR:
953 *
954 * Linear interpolation. Values between points of the LUT will be
955 * linearly interpolated.
956 */
957 DRM_COLOROP_LUT1D_INTERPOLATION_LINEAR,
958};
959
947/**960/**
948 * struct drm_plane_size_hint - Plane size hints961 * struct drm_plane_size_hint - Plane size hints
949 * @width: The width of the plane in pixel962 * @width: The width of the plane in pixel

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