drm/i915/lspcon: Add dp_to_lspcon helper()
authorImre Deak <imre.deak@intel.com>
Mon, 21 Nov 2016 19:15:05 +0000 (21:15 +0200)
committerImre Deak <imre.deak@intel.com>
Wed, 23 Nov 2016 11:31:55 +0000 (13:31 +0200)
commitdd75f6dd2e7d5de544e8aa8b75d1e50308cd8561
tree93d90d1c01034a5d32e3c1df7759408946a8c3a6
parentf2b667b658f998d4bba12ca0204c01f34fdb0321
drm/i915/lspcon: Add dp_to_lspcon helper()

We need to get to LSPCON in the next patch, so factor out the helper for
it. While at it also remove the redundant GEN9 check.

Cc: Shashank Sharma <shashank.sharma@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Shashank Sharma <shashank.sharma@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1479755707-29596-3-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_drv.h