[Intel-gfx] [PATCH 02/14] drm: handle HDP and polled connectors separately
Adam Jackson
ajax at redhat.com
Fri May 25 10:26:46 PDT 2012
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
More information about the dri-devel
mailing list