drm/i915/dp: do not proceed with autotests if we don't ACK them
authorJani Nikula <jani.nikula@intel.com>
Fri, 20 Jan 2017 17:04:06 +0000 (19:04 +0200)
committerJani Nikula <jani.nikula@intel.com>
Tue, 24 Jan 2017 13:27:34 +0000 (15:27 +0200)
commit5ec63bbdf527d26606c8ba9d3a841755d3887fbe
treef7e0eafd670cb18057a158f624466a10d3dadc8e
parent241455172b8683f65a325490baf2d8dd683b3832
drm/i915/dp: do not proceed with autotests if we don't ACK them

There is no point in setting intel_dp->compliance.test_type, and
proceeding with the autotests, if we're about to NAK the request. Some
drive-by cleanups while at it.

v2: look at the ACK bit, as the result may also contain
    TEST_EDID_CHECKSUM_WRITE

Cc: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
Tested-by: Manasi Navare <manasi.d.navare@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1484931846-25390-1-git-send-email-jani.nikula@intel.com
drivers/gpu/drm/i915/intel_dp.c