[Intel-gfx] [PATCH] [resend] bug in connector connection status for G33
eallaud at gmail.com
Tue Nov 10 13:58:09 PST 2009
Zhenyu Wang a écrit :
> On 2009.11.10 11:50:04 -0400, Emmanuel wrote:
>> Hi all,
>> I had trouble booting with my G33 MB with KMS on and intel driver.
>> The reason is that even with my LCD TV attached to the VGA output (there
>> is only this one) it would say that there was nothing attached to VGA
>> (looking in the sysfs connector status for example).
>> The attached patch is a temporary work-around: it prevent the intel
>> driver to use detect_hotplug for G33, it uses detect_ddc which works
>> great. I filed a bug report for Ubuntu here:
>> where you have all the needed files.
>> I can test some patches to get the hotplug method to work if needed.
> I think I was doing a patch for VGA detect failure against a broken
> projector here, but later I just found I don't need it, maybe someone
> fixed the projector. ;)
> Could you try if this one helps?
> diff --git a/drivers/gpu/drm/i915/intel_crt.c b/drivers/gpu/drm/i915/intel_crt.c
> index 212e227..e505144 100644
> --- a/drivers/gpu/drm/i915/intel_crt.c
> +++ b/drivers/gpu/drm/i915/intel_crt.c
> @@ -262,8 +262,8 @@ static bool intel_crt_detect_hotplug(struct drm_connector *connector)
> } while (time_after(timeout, jiffies));
> - if ((I915_READ(PORT_HOTPLUG_STAT) & CRT_HOTPLUG_MONITOR_MASK) ==
> - CRT_HOTPLUG_MONITOR_COLOR)
> + if ((I915_READ(PORT_HOTPLUG_STAT) & CRT_HOTPLUG_MONITOR_MASK) !=
> + CRT_HOTPLUG_MONITOR_NONE)
> return true;
> return false;
Works great! VGA status is connected as it should and boot process then
goes to the end normally. X finds the good mode and everything, Thanks!!!
The Karmic guys should patch their kernel fast, I have seens alot of
reports on this.
More information about the Intel-gfx