drm/i915: Use the GM45 VGA hotplug workaround on G45 as well.

Although spec say CRT_HOTPLUG_ACTIVATION_PERIOD_64 is only useful for
mobile platform, it is also required to detect vga on G4x desktops correctly.
Tested on G45/G43/Q45 platforms with no regressions.

It fixed freedesktop.org bug #21120 and part of bug #21210

Signed-off-by: Ma Ling <ling.ma@intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>

authored by Ma Ling and committed by Eric Anholt e92597cf 425d244c

+1 -1
+1 -1
drivers/gpu/drm/i915/intel_crt.c
··· 161 161 hotplug_en &= CRT_FORCE_HOTPLUG_MASK; 162 162 hotplug_en |= CRT_HOTPLUG_FORCE_DETECT; 163 163 164 - if (IS_GM45(dev)) 164 + if (IS_G4X(dev)) 165 165 hotplug_en |= CRT_HOTPLUG_ACTIVATION_PERIOD_64; 166 166 167 167 hotplug_en |= CRT_HOTPLUG_VOLTAGE_COMPARE_50;