Re: [v3 2/3] drm: Add DP colorspace property

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Uma Shankar (2018-11-20 14:22:10)
> @@ -1457,6 +1480,18 @@ int drm_mode_create_colorspace_property(struct drm_connector *connector)
>                         return -ENOMEM;
>  
>                 dev->mode_config.hdmi_colorspace_property = prop;
> +       } else if (connector->connector_type == DRM_MODE_CONNECTOR_eDP ||
> +               connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort) {
> +               if (dev->mode_config.dp_colorspace_property)
> +                       return 0;
> +
> +               prop = drm_property_create_enum(dev, DRM_MODE_PROP_ENUM,
> +                                               "DP_Colorspace", dp_colorspace,
> +                                               ARRAY_SIZE(dp_colorspace));
> +               if (!prop)
> +                       return -ENOMEM;

Why different names for DP/HDMI?
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux