[Intel-gfx] [PATCH] drm/i915: Set activation periods as 64 cdclk for VGA hot plug detection on G4x platform

Ma Ling ling.ma at intel.com
Wed May 13 08:46:12 CEST 2009


Although spec say CRT_HOTPLUG_ACTIVATION_PERIOD_64(1 << 8) is only useful for mobile platform
it is also required to detect vga on G4x platform correctly. Have tested G45/G43/Q45 platforms
, no regression on them.

It fixed bug #21120 and part of bug #21210

Signed-off-by: Ma Ling <ling.ma at intel.com>
---
 drivers/gpu/drm/i915/intel_crt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_crt.c b/drivers/gpu/drm/i915/intel_crt.c
index 9bdd959..19148c3 100644
--- a/drivers/gpu/drm/i915/intel_crt.c
+++ b/drivers/gpu/drm/i915/intel_crt.c
@@ -161,7 +161,7 @@ static bool intel_crt_detect_hotplug(struct drm_connector *connector)
 	hotplug_en &= CRT_FORCE_HOTPLUG_MASK;
 	hotplug_en |= CRT_HOTPLUG_FORCE_DETECT;
 
-	if (IS_GM45(dev))
+	if (IS_G4X(dev))
 		hotplug_en |= CRT_HOTPLUG_ACTIVATION_PERIOD_64;
 
 	hotplug_en |= CRT_HOTPLUG_VOLTAGE_COMPARE_50;
-- 
1.5.4.4






More information about the Intel-gfx mailing list