drm/radeon/kms: Use the standard VESA timeout for DDC channels
authorJean Delvare <jdelvare@suse.de>
Sat, 28 Jan 2012 10:08:58 +0000 (11:08 +0100)
committerDave Airlie <airlied@redhat.com>
Fri, 3 Feb 2012 09:34:32 +0000 (09:34 +0000)
commit9048955748aa14b1dbf068ef3a9288ec15cabc66
treed1a58bbf7799a889722df7cca5ac087160695a30
parent1849ecb22fb3b5d57b65e7369a3957adf9f26f39
drm/radeon/kms: Use the standard VESA timeout for DDC channels

The VESA specification suggests a 2.2 ms timeout on DDC channels.
Use exactly that (as the i915 driver does) instead of hard-coding a
jiffy count.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Reviewed-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_i2c.c