diff options
| author | Ville Syrjälä <[email protected]> | 2015-08-26 19:55:05 +0000 |
|---|---|---|
| committer | Jani Nikula <[email protected]> | 2015-09-02 12:49:20 +0000 |
| commit | 79a2b161c12a1b751f53a7698494cb722530bca5 (patch) | |
| tree | 51475dc0effbcef25ba32d681de55e87eff8a3e1 /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c | |
| parent | drm/atomic: Fix bookkeeping with TEST_ONLY, v3. (diff) | |
| download | kernel-79a2b161c12a1b751f53a7698494cb722530bca5.tar.gz kernel-79a2b161c12a1b751f53a7698494cb722530bca5.zip | |
drm/dp: Define AUX_RETRY_INTERVAL as 500 us
Currently we react to native and i2c defers by waiting either 400-500 us
or 500-600 us, depending on which code path we take. Consolidate them
all to one define AUX_RETRY_INTERVAL which defines the minimum interval.
Since we've been using two different intervals pick the longer of them
and define AUX_RETRY_INTERVAL as 500 us. For the maximum just use
AUX_RETRY_INTERVAL+100 us.
I want to have a define for this so that I can use it when calculating
the estimated duration of i2c-over-aux transfers. Without a define it
would be very easy to change the sleep duration and neglect to update
the i2c-over-aux estimates.
Cc: Simon Farnsworth <[email protected]>
Cc: [email protected]
Signed-off-by: Ville Syrjälä <[email protected]>
Reviewed-by: Simon Farnsworth <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c')
0 files changed, 0 insertions, 0 deletions
