drm/i915: s/is_sdvob/enum port/
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 6 Nov 2015 19:29:59 +0000 (21:29 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 18 Nov 2015 12:34:54 +0000 (14:34 +0200)
commit2a5c08323dec87f9f85acc9949d93437512b1392
treef485fe5a3938a7be8d3de91313a5edec6e399583
parentc48b53054cef3f87595bbad4ba7f5343a80fe5fd
drm/i915: s/is_sdvob/enum port/

Replace the is_sdvob bool and some sdvo_reg checks with enum port. This
makes the SDVO code look more modern, and gets rid of explicit register
offset checks in the code which will hamper register type checking.

v2: Add assert_sdvo_port_valid() (Chris)

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1446838199-3666-1-git-send-email-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_sdvo.c