Skip to content

Commit

Permalink
drm/i915/display: Nuke bogus lspcon check
Browse files Browse the repository at this point in the history
Dropped a irrelevant lspcon check from intel_hdmi_add_properties
function.

Suggested-by: Ville Syrjälä <[email protected]>
Signed-off-by: Uma Shankar <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
  • Loading branch information
uma-intel committed Dec 1, 2020
1 parent 5d36f2b commit 84ab44b
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions drivers/gpu/drm/i915/display/intel_hdmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -2950,21 +2950,12 @@ static void
intel_hdmi_add_properties(struct intel_hdmi *intel_hdmi, struct drm_connector *connector)
{
struct drm_i915_private *dev_priv = to_i915(connector->dev);
struct intel_digital_port *dig_port =
hdmi_to_dig_port(intel_hdmi);

intel_attach_force_audio_property(connector);
intel_attach_broadcast_rgb_property(connector);
intel_attach_aspect_ratio_property(connector);

/*
* Attach Colorspace property for Non LSPCON based device
* ToDo: This needs to be extended for LSPCON implementation
* as well. Will be implemented separately.
*/
if (!dig_port->lspcon.active)
intel_attach_hdmi_colorspace_property(connector);

intel_attach_hdmi_colorspace_property(connector);
drm_connector_attach_content_type_property(connector);

if (INTEL_GEN(dev_priv) >= 10 || IS_GEMINILAKE(dev_priv))
Expand Down

0 comments on commit 84ab44b

Please sign in to comment.