drm/i915: Extend gpio read/write to other cores
authorDeepak M <m.deepak@intel.com>
Thu, 4 Feb 2016 16:55:15 +0000 (18:55 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 4 Feb 2016 17:11:17 +0000 (19:11 +0200)
commitdfb19ed20c322616a73b212c96f2e0309e35cd1a
tree23df911d8b61196d5a135e54cf5697affe423029
parent10182e77f52f1f703c9e5fea3656446aa850ebda
drm/i915: Extend gpio read/write to other cores

Make the gpio read/write functions more generic iosf sideband read/write
functions, taking the iosf port as argument.

v2: rebase
v3: rebase
v4 by Jani: address Ville's review
v5 by Jani: drop the PCI_DEVFN change (Ville)

Signed-off-by: Deepak M <m.deepak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1454604915-17142-1-git-send-email-jani.nikula@intel.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_dsi_panel_vbt.c
drivers/gpu/drm/i915/intel_sideband.c