]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Parametrize PANEL_PORT_SELECT_VLV
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 18 Aug 2014 19:15:56 +0000 (22:15 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Sep 2014 09:03:58 +0000 (11:03 +0200)
commit00ece4fb0566656cd566e40dce823e531e9a9eac
tree74078a1f8176bad2606b8480436adb5e56797969
parentd20711ee00f3ccf0b1263ac8ba79adb9d1ec4b66
drm/i915: Parametrize PANEL_PORT_SELECT_VLV

Passing the port as a parameter to PANEL_PORT_SELECT_VLV results in
neater code. Sadly the PCH port select bits aren't suitable for the
same treatment and the resulting macro would be much uglier, so
leave those defines as is.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_dp.c