[PATCH v5 1/4] drm: Add a new connector atomic property for link status

Sean Paul seanpaul at chromium.org
Thu Dec 8 19:36:25 UTC 2016


<snip>

> diff --git a/drivers/gpu/drm/drm_atomic.c b/drivers/gpu/drm/drm_atomic.c
> index 72fa5b2..34eddb9 100644
> --- a/drivers/gpu/drm/drm_atomic.c
> +++ b/drivers/gpu/drm/drm_atomic.c
> @@ -1087,6 +1087,22 @@ int drm_atomic_connector_set_property(struct drm_connector *connector,
>                  * now?) atomic writes to DPMS property:
>                  */
>                 return -EINVAL;
> +       } else if (property == config->link_status_property) {
> +               /* Never downgrade from GOOD to BAD on userspace's request here,
> +                * only hw issues can do that.
> +                *
> +                * For an atomic property the userspace doesn't need to be able
> +                * to understand all the properties, but needs to be able to
> +                * restore the state itw ants on VT switch. So if the userspace

s/itw ants/it wants/

<snip>


More information about the dri-devel mailing list