[PATCH v2 1/5] drm/udl: Remove DRM_CONNECTOR_POLL_HPD

Jani Nikula jani.nikula at linux.intel.com
Fri May 10 12:01:39 UTC 2024


On Wed, 10 Apr 2024, Thomas Zimmermann <tzimmermann at suse.de> wrote:
> DisplayLink devices do not generate hotplug events. Remove the poll
> flag DRM_CONNECTOR_POLL_HPD, as it may not be specified together with
> DRM_CONNECTOR_POLL_CONNECT or DRM_CONNECTOR_POLL_DISCONNECT.
>
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
> Fixes: afdfc4c6f55f ("drm/udl: Fixed problem with UDL adpater reconnection")
> Cc: Robert Tarasov <tutankhamen at chromium.org>
> Cc: Alex Deucher <alexander.deucher at amd.com>
> Cc: Dave Airlie <airlied at redhat.com>
> Cc: Sean Paul <sean at poorly.run>
> Cc: Thomas Zimmermann <tzimmermann at suse.de>
> Cc: dri-devel at lists.freedesktop.org
> Cc: <stable at vger.kernel.org> # v4.15+

Reviewed-by: Jani Nikula <jani.nikula at intel.com>

> ---
>  drivers/gpu/drm/udl/udl_modeset.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/udl/udl_modeset.c b/drivers/gpu/drm/udl/udl_modeset.c
> index 7702359c90c22..751da3a294c44 100644
> --- a/drivers/gpu/drm/udl/udl_modeset.c
> +++ b/drivers/gpu/drm/udl/udl_modeset.c
> @@ -527,8 +527,7 @@ struct drm_connector *udl_connector_init(struct drm_device *dev)
>  
>  	drm_connector_helper_add(connector, &udl_connector_helper_funcs);
>  
> -	connector->polled = DRM_CONNECTOR_POLL_HPD |
> -			    DRM_CONNECTOR_POLL_CONNECT |
> +	connector->polled = DRM_CONNECTOR_POLL_CONNECT |
>  			    DRM_CONNECTOR_POLL_DISCONNECT;
>  
>  	return connector;

-- 
Jani Nikula, Intel


More information about the dri-devel mailing list