drm/i915/dp: Print full branch/sink descriptor
authorImre Deak <imre.deak@intel.com>
Tue, 25 Oct 2016 13:12:39 +0000 (16:12 +0300)
committerImre Deak <imre.deak@intel.com>
Wed, 26 Oct 2016 09:41:00 +0000 (12:41 +0300)
commit7b3fc170d6a6ac1d1622178a2db317671cb89b9c
tree8dc39855345e07c49adc11cd2016d7233e5e9f2c
parent5e8966774253778b861d5c0cbdaf66535233c873
drm/i915/dp: Print full branch/sink descriptor

Extend the branch/sink descriptor info with the missing device ID
field. While at it also read out all the descriptor registers in one
transfer and make the debug print more compact.

v2: (Jani)
- Cache the descriptor in intel_dp.
- Split out this change into a separate patch.
v3: (Jani)
- Fix return value check of __intel_dp_read_desc().
- Use %pE instead of %s to print the device ID.

Cc: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1477401159-15098-1-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_drv.h