Bug 17446 - [GEM] regression in DRM module breaks xserver
Summary: [GEM] regression in DRM module breaks xserver
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.3 (2007.09)
Hardware: Other All
: high blocker
Assignee: Eric Anholt
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords: regression
: 17442 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-05 03:17 UTC by Tobias Hain
Modified: 2008-09-12 00:26 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log with drm failure (15.41 KB, text/plain)
2008-09-05 03:17 UTC, Tobias Hain
no flags Details

Description Tobias Hain 2008-09-05 03:17:17 UTC
Created attachment 18692 [details]
Xorg.0.log with drm failure

System : Dell XPS M1330
Chipset: GM965 with 2 * 1GB memory in dual channel configuration
OS : Ubuntu 8.04.1

tested with git tip components of 09/04/2008:
drm: 99f8cce3eae79c9cf5e9897ef1af8eac24b38c09
mesa: 6d9b25e522cb0df87beafef1b25327e6cc4e3221
xserver: 2db1afbf2e56d8743c701d81a5797001ce9e5c52
xf86-video-intel: fca7a4e9a5c73e1c129e94eeccf8fc795f729931

Commit
http://cgit.freedesktop.org/~anholt/linux-2.6/commit/?h=drm-gem-merge&id=7297294597b9be5bb377d996a5bcbcda64417add

breaks my EXA accelerated xserver and results in this image when starting x:
http://img220.imageshack.us/img220/319/brokengemkernellk7.jpg

Xorg.0.log contains:
(EE) intel(0): [drm] failure adding irq handler

commit 1063ef90845d7c84f4799ac34bd23ef37860bdc0 is fine.
Comment 1 Tobias Hain 2008-09-05 03:18:42 UTC
a none GEM intel driver (e.g. version 2.4.2) works fine with drm.ko and i915.ko of this commit.
Comment 2 Gordon Jin 2008-09-07 20:30:24 UTC
Tobias, thanks for the finding.

So it's caused by below commit in anholt's gem kernel:
author	Kristian Høgsberg <krh@redhat.com>	2008-08-20 15:04:27
committer	Eric Anholt <eric@anholt.net>	2008-09-03 14:43:15
tree	bbb9e5a7749e549f66de159585864c179d71d580
parent	1063ef90845d7c84f4799ac34bd23ef37860bdc0 (diff)
i915 gem: install and uninstall irq handler in entervt and leavevt ioctls.
Comment 3 Gordon Jin 2008-09-08 06:57:56 UTC
my team can reproduce this on GM965, G33 and 945G.
Comment 4 Eric Anholt 2008-09-10 15:11:47 UTC
*** Bug 17442 has been marked as a duplicate of this bug. ***
Comment 5 Eric Anholt 2008-09-10 15:16:05 UTC
Fixed in 0f804bfa1e1e972e9b4e3b7c8db61e9877c50f50 of 2d.
Comment 6 lin, jiewen 2008-09-11 20:21:56 UTC
This issue is fixed in master branch ,but not in 2.5-branch .
Comment 7 Gordon Jin 2008-09-12 00:26:59 UTC
So it needs to be cherry-picked to 2.5-branch.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.