From nobody@FreeBSD.org  Sat Oct  5 03:01:09 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id F0F927A7
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  5 Oct 2013 03:01:09 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id DF546250C
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  5 Oct 2013 03:01:09 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r95319O7051148
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 5 Oct 2013 03:01:09 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r95319RD051071;
	Sat, 5 Oct 2013 03:01:09 GMT
	(envelope-from nobody)
Message-Id: <201310050301.r95319RD051071@oldred.freebsd.org>
Date: Sat, 5 Oct 2013 03:01:09 GMT
From: Yue Wu <ywupub@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: intel GMA 3150 doesn't work with kms(i915kms and xf86-video-intel)
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         182658
>Category:       i386
>Synopsis:       intel GMA 3150 doesn't work with kms(i915kms and xf86-video-intel)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-i386
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 05 03:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Yue Wu
>Release:        FreeBSD 9 stable
>Organization:
China Pharmaceutical University
>Environment:
FreeBSD ywbsd.epc.com 9.2-STABLE FreeBSD 9.2-STABLE #0: Sat Oct  5 08:35:05 CST 2013 root@ywbsd.epc.com:/usr/obj/usr/src/sys/EPC  i386
>Description:
PC is asus eee pc 1005pe, video card is intel GMA 3150.

If I load drm2 and i915kms, tty screen will get black, in this case, run Xorg which complied with WITH_KMS and WITH_NEW_XORG by typing cmd "startx" blindly will start xorg, the screen of xorg works again, but if switching to other ttys, the screen will be no response again, switching to xorg's tty will be fine again.

If I load drm and i915 instead, then xorg which complied with WITH_KMS and WITH_NEW_XORG will not use xf86-video-intel but xf86-video-vesa, even if I specified intel in xorg.conf.
>How-To-Repeat:
Get a asus epc 1005pe, start FreeBSD, kldload i915kms, now screen will be black.

Input cmd "startx" blindly at a tty, then xorg will invoked, the screen gets fine again.

Swithing to other ttys by ctrl-alt-Fn, screen will get no response. switching bac to xorg by ctrl-alt-f9 will get fine again.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
