diff options
author | Maxime Ripard <mripard@kernel.org> | 2024-05-27 15:58:09 +0200 |
---|---|---|
committer | Maxime Ripard <mripard@kernel.org> | 2024-05-28 10:24:38 +0200 |
commit | 027d435906490812d4568ff371a8b63c24a36bcd (patch) | |
tree | 4402a379e90d90f7f71edc1aa5bec3603d119530 /include | |
parent | 73af58c1b441701a740b9157123b2ffd14aa3e0d (diff) |
drm/connector: hdmi: Add RGB Quantization Range to the connector state
HDMI controller drivers will need to figure out the RGB range they need
to configure based on a mode and property values. Let's expose that in
the HDMI connector state so drivers can just use that value.
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240527-kms-hdmi-connector-state-v15-20-c5af16c3aae2@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/drm/drm_connector.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/drm/drm_connector.h b/include/drm/drm_connector.h index 207635715466..dcad2d46fabe 100644 --- a/include/drm/drm_connector.h +++ b/include/drm/drm_connector.h @@ -1071,6 +1071,12 @@ struct drm_connector_state { enum drm_hdmi_broadcast_rgb broadcast_rgb; /** + * @is_full_range: Is the output supposed to use a full + * RGB Quantization Range or not? + */ + bool is_limited_range; + + /** * @output_bpc: Bits per color channel to output. */ unsigned int output_bpc; |