drm/i915/vga: switch to use VGA definitions from video/vga.h
authorJani Nikula <jani.nikula@intel.com>
Wed, 2 Feb 2022 11:25:08 +0000 (13:25 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 2 Feb 2022 15:14:40 +0000 (17:14 +0200)
commitf0bb41fad02e0310fa7b222c7254a3603ecaca1b
tree6b0004575cc7379db11cea5d913ac0108a1c4f27
parent657b15d672f4d89cf0750793473b8963429f8ae3
drm/i915/vga: switch to use VGA definitions from video/vga.h

The video/vga.h has macros for the VGA registers. Switch to use them.

v2: Use direct 0x01 instead of the confusing VGA_SEQ_CLOCK_MODE (Ville)

Suggested-by: Matt Roper <matthew.d.roper@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220202112509.1886660-1-jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_vga.c