]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcca581983df0c34aec71e5b5363ffb3d303459e9
tree93d90d1c01034a5d32e3c1df7759408946a8c3a6
parent799c94cbe5b1e1b51db1beb29ff151da5f8b8613
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