drm/radeon/kms: reduce probe latency on digital connectors
authorTvrtko Ursulin <tvrtko.ursulin@onelan.co.uk>
Fri, 16 Mar 2012 16:22:11 +0000 (12:22 -0400)
committerDave Airlie <airlied@redhat.com>
Tue, 20 Mar 2012 08:45:42 +0000 (08:45 +0000)
commit11fe1266253a96c4d4ac9c07918372a98248c62e
tree7cda1dbdfb3a25ddd8587d55aea44477c8d024de
parent4c1b2d2da3451f5c8dd59bd7e05bd9729d2aee05
drm/radeon/kms: reduce probe latency on digital connectors

On a system with one HDMI and one VGA connector the latter
causes output polling to run every ten seconds. This causes
full EDID re-fetch on every poll and approx. 100ms rendering
stalls are experienced by full screen page-flipping applications.
Optimisation is to trust HPD sense on R600+ ASICs and to skip
doing these expensive probes unless HPD sense has changed.

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=47007

agd5f: fix patch and message formatting.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@onelan.co.uk>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_connectors.c