]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/gpu/drm/i915/intel_dp.c
drm/i915/dp: Log the DPCD only if we have successfully retrieved one
authorDamien Lespiau <damien.lespiau@intel.com>
Thu, 13 Dec 2012 16:09:02 +0000 (16:09 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 14 Dec 2012 10:17:44 +0000 (11:17 +0100)
commit577c7a505b5601a9a441039dd37543775f9af8f5
treef96bf987981ef27e6603e3ed849c0bf21a04cf72
parent1b4696394aeb8a550f8537e92ae6cc65f444dca0
drm/i915/dp: Log the DPCD only if we have successfully retrieved one

Moving the DPCD just after a successful read will allow to:
  - log all DPCD reads (eDP ones, changes signalled by HPD IRQ)
  - don't log it if we haven't been able to read it

v2: Be sure to log the DPCD when a downstream port does not have HPD
    support and the branch device asserts HPD (Jani Nikula)

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c