linux/Documentation/gpu/kms-properties.csv
Stanislav Lisovskiy 50525c332b drm: content-type property for HDMI connector
Added content_type property to drm_connector_state
in order to properly handle external HDMI TV content-type setting.

v2:
 * Moved helper function which attaches content type property
   to the drm core, as was suggested.
   Removed redundant connector state initialization.

v3:
 * Removed caps in drm_content_type_enum_list.
   After some discussion it turned out that HDMI Spec 1.4
   was wrongly assuming that IT Content(itc) bit doesn't affect
   Content type states, however itc bit needs to be manupulated
   as well. In order to not expose additional property for itc,
   for sake of simplicity it was decided to bind those together
   in same "content type" property.

v4:
 * Added it_content checking in intel_digital_connector_atomic_check.
   Fixed documentation for new content type enum.

v5:
 * Moved patch revision's description to commit messages.

v6:
 * Minor naming fix for the content type enumeration string.

v7:
 * Fix parameter name for documentation and parameter alignment
   in order not to get warning. Added Content Type description to
   new HDMI connector properties section.

v8:
 * Thrown away unneeded numbers from HDMI content-type property
   description. Switch to strings desription instead of plain
   definitions.

v9:
 * Moved away hdmi specific content-type enum from
   drm_connector_state. Content type property should probably not
   be bound to any specific connector interface in
   drm_connector_state.
   Same probably should be done to hdmi_picture_aspect_ration enum
   which is also contained in drm_connector_state. Added special
   helper function to get derive hdmi specific relevant infoframe
   fields.

v10:
 * Added usage description to HDMI properties kernel doc.

v11:
 * Created centralized function for filling HDMI AVI infoframe, based
   on correspondent DRM property value.

Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180515135928.31092-2-stanislav.lisovskiy@intel.com
[vsyrjala: clean up checkpatch multiple blank lines warnings]
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
2018-05-17 18:58:35 +03:00

7.6 KiB

1Owner Module/DriversGroupProperty NameTypeProperty ValuesObject attachedDescription/Restrictions
2DVI-I“subconnector”ENUM{ “Unknown”, “DVI-D”, “DVI-A” }ConnectorTBD
3“select subconnector”ENUM{ “Automatic”, “DVI-D”, “DVI-A” }ConnectorTBD
4TV“subconnector”ENUM{ "Unknown", "Composite", "SVIDEO", "Component", "SCART" }ConnectorTBD
5“select subconnector”ENUM{ "Automatic", "Composite", "SVIDEO", "Component", "SCART" }ConnectorTBD
6“mode”ENUM{ "NTSC_M", "NTSC_J", "NTSC_443", "PAL_B" } etc.ConnectorTBD
7“left margin”RANGEMin=0, Max=100ConnectorTBD
8“right margin”RANGEMin=0, Max=100ConnectorTBD
9“top margin”RANGEMin=0, Max=100ConnectorTBD
10“bottom margin”RANGEMin=0, Max=100ConnectorTBD
11“brightness”RANGEMin=0, Max=100ConnectorTBD
12“contrast”RANGEMin=0, Max=100ConnectorTBD
13“flicker reduction”RANGEMin=0, Max=100ConnectorTBD
14“overscan”RANGEMin=0, Max=100ConnectorTBD
15“saturation”RANGEMin=0, Max=100ConnectorTBD
16“hue”RANGEMin=0, Max=100ConnectorTBD
17Virtual GPU“suggested X”RANGEMin=0, Max=0xffffffffConnectorproperty to suggest an X offset for a connector
18“suggested Y”RANGEMin=0, Max=0xffffffffConnectorproperty to suggest an Y offset for a connector
19Optional"aspect ratio"ENUM{ "None", "4:3", "16:9" }ConnectorTDB
20Optional"content type"ENUM{ "No Data", "Graphics", "Photo", "Cinema", "Game" }ConnectorTBD
21i915Generic"Broadcast RGB"ENUM{ "Automatic", "Full", "Limited 16:235" }ConnectorWhen this property is set to Limited 16:235 and CTM is set, the hardware will be programmed with the result of the multiplication of CTM by the limited range matrix to ensure the pixels normaly in the range 0..1.0 are remapped to the range 16/255..235/255.
22“audio”ENUM{ "force-dvi", "off", "auto", "on" }ConnectorTBD
23SDVO-TV“mode”ENUM{ "NTSC_M", "NTSC_J", "NTSC_443", "PAL_B" } etc.ConnectorTBD
24"left_margin"RANGEMin=0, Max= SDVO dependentConnectorTBD
25"right_margin"RANGEMin=0, Max= SDVO dependentConnectorTBD
26"top_margin"RANGEMin=0, Max= SDVO dependentConnectorTBD
27"bottom_margin"RANGEMin=0, Max= SDVO dependentConnectorTBD
28“hpos”RANGEMin=0, Max= SDVO dependentConnectorTBD
29“vpos”RANGEMin=0, Max= SDVO dependentConnectorTBD
30“contrast”RANGEMin=0, Max= SDVO dependentConnectorTBD
31“saturation”RANGEMin=0, Max= SDVO dependentConnectorTBD
32“hue”RANGEMin=0, Max= SDVO dependentConnectorTBD
33“sharpness”RANGEMin=0, Max= SDVO dependentConnectorTBD
34“flicker_filter”RANGEMin=0, Max= SDVO dependentConnectorTBD
35“flicker_filter_adaptive”RANGEMin=0, Max= SDVO dependentConnectorTBD
36“flicker_filter_2d”RANGEMin=0, Max= SDVO dependentConnectorTBD
37“tv_chroma_filter”RANGEMin=0, Max= SDVO dependentConnectorTBD
38“tv_luma_filter”RANGEMin=0, Max= SDVO dependentConnectorTBD
39“dot_crawl”RANGEMin=0, Max=1ConnectorTBD
40SDVO-TV/LVDS“brightness”RANGEMin=0, Max= SDVO dependentConnectorTBD
41CDV gma-500Generic"Broadcast RGB"ENUM{ “Full”, “Limited 16:235” }ConnectorTBD
42"Broadcast RGB"ENUM{ “off”, “auto”, “on” }ConnectorTBD
43PoulsboGeneric“backlight”RANGEMin=0, Max=100ConnectorTBD
44SDVO-TV“mode”ENUM{ "NTSC_M", "NTSC_J", "NTSC_443", "PAL_B" } etc.ConnectorTBD
45"left_margin"RANGEMin=0, Max= SDVO dependentConnectorTBD
46"right_margin"RANGEMin=0, Max= SDVO dependentConnectorTBD
47"top_margin"RANGEMin=0, Max= SDVO dependentConnectorTBD
48"bottom_margin"RANGEMin=0, Max= SDVO dependentConnectorTBD
49“hpos”RANGEMin=0, Max= SDVO dependentConnectorTBD
50“vpos”RANGEMin=0, Max= SDVO dependentConnectorTBD
51“contrast”RANGEMin=0, Max= SDVO dependentConnectorTBD
52“saturation”RANGEMin=0, Max= SDVO dependentConnectorTBD
53“hue”RANGEMin=0, Max= SDVO dependentConnectorTBD
54“sharpness”RANGEMin=0, Max= SDVO dependentConnectorTBD
55“flicker_filter”RANGEMin=0, Max= SDVO dependentConnectorTBD
56“flicker_filter_adaptive”RANGEMin=0, Max= SDVO dependentConnectorTBD
57“flicker_filter_2d”RANGEMin=0, Max= SDVO dependentConnectorTBD
58“tv_chroma_filter”RANGEMin=0, Max= SDVO dependentConnectorTBD
59“tv_luma_filter”RANGEMin=0, Max= SDVO dependentConnectorTBD
60“dot_crawl”RANGEMin=0, Max=1ConnectorTBD
61SDVO-TV/LVDS“brightness”RANGEMin=0, Max= SDVO dependentConnectorTBD
62armadaCRTC"CSC_YUV"ENUM{ "Auto" , "CCIR601", "CCIR709" }CRTCTBD
63"CSC_RGB"ENUM{ "Auto", "Computer system", "Studio" }CRTCTBD
64Overlay"colorkey"RANGEMin=0, Max=0xffffffPlaneTBD
65"colorkey_min"RANGEMin=0, Max=0xffffffPlaneTBD
66"colorkey_max"RANGEMin=0, Max=0xffffffPlaneTBD
67"colorkey_val"RANGEMin=0, Max=0xffffffPlaneTBD
68"colorkey_alpha"RANGEMin=0, Max=0xffffffPlaneTBD
69"colorkey_mode"ENUM{ "disabled", "Y component", "U component" , "V component", "RGB", “R component", "G component", "B component" }PlaneTBD
70"brightness"RANGEMin=0, Max=256 + 255PlaneTBD
71"contrast"RANGEMin=0, Max=0x7fffPlaneTBD
72"saturation"RANGEMin=0, Max=0x7fffPlaneTBD
73exynosCRTC“mode”ENUM{ "normal", "blank" }CRTCTBD
74i2c/ch7006_drvGeneric“scale”RANGEMin=0, Max=2ConnectorTBD
75TV“mode”ENUM{ "PAL", "PAL-M","PAL-N"}, ”PAL-Nc" , "PAL-60", "NTSC-M", "NTSC-J" }ConnectorTBD
76nouveauNV10 Overlay"colorkey"RANGEMin=0, Max=0x01ffffffPlaneTBD
77“contrast”RANGEMin=0, Max=8192-1PlaneTBD
78“brightness”RANGEMin=0, Max=1024PlaneTBD
79“hue”RANGEMin=0, Max=359PlaneTBD
80“saturation”RANGEMin=0, Max=8192-1PlaneTBD
81“iturbt_709”RANGEMin=0, Max=1PlaneTBD
82Nv04 Overlay“colorkey”RANGEMin=0, Max=0x01ffffffPlaneTBD
83“brightness”RANGEMin=0, Max=1024PlaneTBD
84Display“dithering mode”ENUM{ "auto", "off", "on" }ConnectorTBD
85“dithering depth”ENUM{ "auto", "off", "on", "static 2x2", "dynamic 2x2", "temporal" }ConnectorTBD
86“underscan”ENUM{ "auto", "6 bpc", "8 bpc" }ConnectorTBD
87“underscan hborder”RANGEMin=0, Max=128ConnectorTBD
88“underscan vborder”RANGEMin=0, Max=128ConnectorTBD
89“vibrant hue”RANGEMin=0, Max=180ConnectorTBD
90“color vibrance”RANGEMin=0, Max=200ConnectorTBD
91omapGeneric“zorder”RANGEMin=0, Max=3CRTC, PlaneTBD
92qxlGeneric“hotplug_mode_update"RANGEMin=0, Max=1ConnectorTBD
93radeonDVI-I“coherent”RANGEMin=0, Max=1ConnectorTBD
94DAC enable load detect“load detection”RANGEMin=0, Max=1ConnectorTBD
95TV Standard"tv standard"ENUM{ "ntsc", "pal", "pal-m", "pal-60", "ntsc-j" , "scart-pal", "pal-cn", "secam" }ConnectorTBD
96legacy TMDS PLL detect"tmds_pll"ENUM{ "driver", "bios" }-TBD
97Underscan"underscan"ENUM{ "off", "on", "auto" }ConnectorTBD
98"underscan hborder"RANGEMin=0, Max=128ConnectorTBD
99"underscan vborder"RANGEMin=0, Max=128ConnectorTBD
100Audio“audio”ENUM{ "off", "on", "auto" }ConnectorTBD
101FMT Dithering“dither”ENUM{ "off", "on" }ConnectorTBD
102"colorkey"RANGEMin=0, Max=0x01ffffffPlaneTBD