linux-stable/Documentation/gpu/kms-properties.csv
Maxime Ripard ab52af4ba7
drm/connector: hdmi: Add Broadcast RGB property
The i915 driver has a property to force the RGB range of an HDMI output.
The vc4 driver then implemented the same property with the same
semantics. KWin has support for it, and a PR for mutter is also there to
support it.

Both drivers implementing the same property with the same semantics,
plus the userspace having support for it, is proof enough that it's
pretty much a de-facto standard now and we can provide helpers for it.

Let's plumb it into the newly created HDMI connector.

Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Acked-by: Pekka Paalanen <pekka.paalanen@collabora.com>
Reviewed-by: Sebastian Wick <sebastian.wick@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240527-kms-hdmi-connector-state-v15-18-c5af16c3aae2@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
2024-05-28 10:24:37 +02:00

7.0 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
20“audio”ENUM{ "force-dvi", "off", "auto", "on" }ConnectorTBD
21SDVO-TV“mode”ENUM{ "NTSC_M", "NTSC_J", "NTSC_443", "PAL_B" } etc.ConnectorTBD
22"left_margin"RANGEMin=0, Max= SDVO dependentConnectorTBD
23"right_margin"RANGEMin=0, Max= SDVO dependentConnectorTBD
24"top_margin"RANGEMin=0, Max= SDVO dependentConnectorTBD
25"bottom_margin"RANGEMin=0, Max= SDVO dependentConnectorTBD
26“hpos”RANGEMin=0, Max= SDVO dependentConnectorTBD
27“vpos”RANGEMin=0, Max= SDVO dependentConnectorTBD
28“contrast”RANGEMin=0, Max= SDVO dependentConnectorTBD
29“saturation”RANGEMin=0, Max= SDVO dependentConnectorTBD
30“hue”RANGEMin=0, Max= SDVO dependentConnectorTBD
31“sharpness”RANGEMin=0, Max= SDVO dependentConnectorTBD
32“flicker_filter”RANGEMin=0, Max= SDVO dependentConnectorTBD
33“flicker_filter_adaptive”RANGEMin=0, Max= SDVO dependentConnectorTBD
34“flicker_filter_2d”RANGEMin=0, Max= SDVO dependentConnectorTBD
35“tv_chroma_filter”RANGEMin=0, Max= SDVO dependentConnectorTBD
36“tv_luma_filter”RANGEMin=0, Max= SDVO dependentConnectorTBD
37“dot_crawl”RANGEMin=0, Max=1ConnectorTBD
38SDVO-TV/LVDS“brightness”RANGEMin=0, Max= SDVO dependentConnectorTBD
39CDV gma-500Generic"Broadcast RGB"ENUM{ “Full”, “Limited 16:235” }ConnectorTBD
40PoulsboGeneric“backlight”RANGEMin=0, Max=100ConnectorTBD
41SDVO-TV“mode”ENUM{ "NTSC_M", "NTSC_J", "NTSC_443", "PAL_B" } etc.ConnectorTBD
42"left_margin"RANGEMin=0, Max= SDVO dependentConnectorTBD
43"right_margin"RANGEMin=0, Max= SDVO dependentConnectorTBD
44"top_margin"RANGEMin=0, Max= SDVO dependentConnectorTBD
45"bottom_margin"RANGEMin=0, Max= SDVO dependentConnectorTBD
46“hpos”RANGEMin=0, Max= SDVO dependentConnectorTBD
47“vpos”RANGEMin=0, Max= SDVO dependentConnectorTBD
48“contrast”RANGEMin=0, Max= SDVO dependentConnectorTBD
49“saturation”RANGEMin=0, Max= SDVO dependentConnectorTBD
50“hue”RANGEMin=0, Max= SDVO dependentConnectorTBD
51“sharpness”RANGEMin=0, Max= SDVO dependentConnectorTBD
52“flicker_filter”RANGEMin=0, Max= SDVO dependentConnectorTBD
53“flicker_filter_adaptive”RANGEMin=0, Max= SDVO dependentConnectorTBD
54“flicker_filter_2d”RANGEMin=0, Max= SDVO dependentConnectorTBD
55“tv_chroma_filter”RANGEMin=0, Max= SDVO dependentConnectorTBD
56“tv_luma_filter”RANGEMin=0, Max= SDVO dependentConnectorTBD
57“dot_crawl”RANGEMin=0, Max=1ConnectorTBD
58SDVO-TV/LVDS“brightness”RANGEMin=0, Max= SDVO dependentConnectorTBD
59armadaCRTC"CSC_YUV"ENUM{ "Auto" , "CCIR601", "CCIR709" }CRTCTBD
60"CSC_RGB"ENUM{ "Auto", "Computer system", "Studio" }CRTCTBD
61Overlay"colorkey"RANGEMin=0, Max=0xffffffPlaneTBD
62"colorkey_min"RANGEMin=0, Max=0xffffffPlaneTBD
63"colorkey_max"RANGEMin=0, Max=0xffffffPlaneTBD
64"colorkey_val"RANGEMin=0, Max=0xffffffPlaneTBD
65"colorkey_alpha"RANGEMin=0, Max=0xffffffPlaneTBD
66"colorkey_mode"ENUM{ "disabled", "Y component", "U component" , "V component", "RGB", “R component", "G component", "B component" }PlaneTBD
67"brightness"RANGEMin=0, Max=256 + 255PlaneTBD
68"contrast"RANGEMin=0, Max=0x7fffPlaneTBD
69"saturation"RANGEMin=0, Max=0x7fffPlaneTBD
70exynosCRTC“mode”ENUM{ "normal", "blank" }CRTCTBD
71i2c/ch7006_drvGeneric“scale”RANGEMin=0, Max=2ConnectorTBD
72TV“mode”ENUM{ "PAL", "PAL-M","PAL-N"}, ”PAL-Nc" , "PAL-60", "NTSC-M", "NTSC-J" }ConnectorTBD
73nouveauNV10 Overlay"colorkey"RANGEMin=0, Max=0x01ffffffPlaneTBD
74“contrast”RANGEMin=0, Max=8192-1PlaneTBD
75“brightness”RANGEMin=0, Max=1024PlaneTBD
76“hue”RANGEMin=0, Max=359PlaneTBD
77“saturation”RANGEMin=0, Max=8192-1PlaneTBD
78“iturbt_709”RANGEMin=0, Max=1PlaneTBD
79Nv04 Overlay“colorkey”RANGEMin=0, Max=0x01ffffffPlaneTBD
80“brightness”RANGEMin=0, Max=1024PlaneTBD
81Display“dithering mode”ENUM{ "auto", "off", "on" }ConnectorTBD
82“dithering depth”ENUM{ "auto", "off", "on", "static 2x2", "dynamic 2x2", "temporal" }ConnectorTBD
83“underscan”ENUM{ "auto", "6 bpc", "8 bpc" }ConnectorTBD
84“underscan hborder”RANGEMin=0, Max=128ConnectorTBD
85“underscan vborder”RANGEMin=0, Max=128ConnectorTBD
86“vibrant hue”RANGEMin=0, Max=180ConnectorTBD
87“color vibrance”RANGEMin=0, Max=200ConnectorTBD
88omapGeneric“zorder”RANGEMin=0, Max=3CRTC, PlaneTBD
89qxlGeneric“hotplug_mode_update"RANGEMin=0, Max=1ConnectorTBD
90radeonDVI-I“coherent”RANGEMin=0, Max=1ConnectorTBD
91DAC enable load detect“load detection”RANGEMin=0, Max=1ConnectorTBD
92TV Standard"tv standard"ENUM{ "ntsc", "pal", "pal-m", "pal-60", "ntsc-j" , "scart-pal", "pal-cn", "secam" }ConnectorTBD
93legacy TMDS PLL detect"tmds_pll"ENUM{ "driver", "bios" }-TBD
94Underscan"underscan"ENUM{ "off", "on", "auto" }ConnectorTBD
95"underscan hborder"RANGEMin=0, Max=128ConnectorTBD
96"underscan vborder"RANGEMin=0, Max=128ConnectorTBD
97Audio“audio”ENUM{ "off", "on", "auto" }ConnectorTBD
98FMT Dithering“dither”ENUM{ "off", "on" }ConnectorTBD
99"colorkey"RANGEMin=0, Max=0x01ffffffPlaneTBD