[PATCH 06/14] drm: kill unnecessary calls to connector->detect

2012-05-24 Thread Daniel Vetter
Only call that function if something has actually changed (i.e. in the output polling or hdp handling functions) or when userspace asks for the information and DRM_CONNECTOR_POLL_FORCE is set. Let's see how many bugs this uncovers. v2: Run ->detect if the current connector status is 'unknown' -

[PATCH 06/14] drm: kill unnecessary calls to connector-detect

2012-05-24 Thread Daniel Vetter
Only call that function if something has actually changed (i.e. in the output polling or hdp handling functions) or when userspace asks for the information and DRM_CONNECTOR_POLL_FORCE is set. Let's see how many bugs this uncovers. v2: Run -detect if the current connector status is 'unknown' -