drm/dp: Add counters in the drm_dp_aux struct for I2C NACKs and DEFERs
authorTodd Previte <tprevite@gmail.com>
Tue, 4 Nov 2014 22:17:35 +0000 (15:17 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 5 Nov 2014 13:03:22 +0000 (14:03 +0100)
commite9cf6194ab0cdb8f40f1eca7b230751c2289557e
tree9ba4a35167b2d05e9c0daa2daca995aed20802a7
parentb74c6c92f2839206a3714a00af53b4bdc24c7224
drm/dp: Add counters in the drm_dp_aux struct for I2C NACKs and DEFERs

These counters are used for Displayort compliance testing to detect error
conditions when executing tests 4.2.2.4 and 4.2.2.5 in the Displayport Link
CTS specificaiton. They determine whether to use the preferred/requested
mode or the failsafe mode during these tests.

V2:
- Addressed previous review feedback
- Updated commit message
- Changed from uint8_t to uint32_t

Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Todd Previte <tprevite@gmail.com>
[danvet: s/uint32_t/unsigned/ for clearer intent. Also drop the i915
from the subject, it's all core stuff.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_dp_helper.c
include/drm/drm_dp_helper.h