[PATCH 02/14] drm: handle HDP and polled connectors separately

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

 



On 5/24/12 3:26 PM, Daniel Vetter wrote:
> Instead of reusing the polling code for hdp handling, split them up.
> This has a few consequences:
> - Don't touch HDP capable connectors in the poll loop.
> - Only touch HDP capable connectors in drm_helper_hpd_irq_event.
> - Run the HDP handling directly instead of going through a work item -
>    all callers already call drm_helper_hpd_irq_event from process
>    context without holding the mode_config mutex.

"HPD".

> -		/* if this is HPD or polled don't check it -
> -		   TV out for instance */
> -		if (!connector->polled)
> +		/* Ignore HDP capable connectors and connectors where we don't
> +		 * want any hotplug detection at all for polling. */
> +		if (!connector->polled || connector->polled == DRM_CONNECTOR_POLL_HPD)

Here too.  Also in the subject.

- ajax


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux