mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 03:23:53 -04:00
drm/connector: hdmi: Add support for output format
Just like BPC, we'll add support for automatic selection of the output format for HDMI connectors. Let's add the needed defaults and fields for now. 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-7-c5af16c3aae2@kernel.org Signed-off-by: Maxime Ripard <mripard@kernel.org>
This commit is contained in:
@@ -45,7 +45,8 @@ int drm_atomic_helper_connector_hdmi_check(struct drm_connector *connector,
|
||||
struct drm_connector_state *new_conn_state =
|
||||
drm_atomic_get_new_connector_state(state, connector);
|
||||
|
||||
if (old_conn_state->hdmi.output_bpc != new_conn_state->hdmi.output_bpc) {
|
||||
if (old_conn_state->hdmi.output_bpc != new_conn_state->hdmi.output_bpc ||
|
||||
old_conn_state->hdmi.output_format != new_conn_state->hdmi.output_format) {
|
||||
struct drm_crtc *crtc = new_conn_state->crtc;
|
||||
struct drm_crtc_state *crtc_state;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user