Opened 14 years ago

Closed 13 years ago

Last modified 13 years ago

#6202 closed enhancement (fixed)

Intel Extreme Driver Does Not Work With Intel Atom D510

Reported by: atomozero Owned by: axeld
Priority: normal Milestone: R1
Component: Drivers/Graphics/intel_extreme Version: R1/alpha2
Keywords: intel_extreme atom d510 videocard Cc: umccullough
Blocked By: Blocking:
Platform: All

Description

work only vesa mode :(

device Display controller (VGA compatible controller, VGA controller) [3|0|0]

vendor 8086: Intel Corporation device a001: N10 Family Integrated Graphics Controller

KERN: intel_extreme: init_hardware()

Attachments (6)

syslog (365.0 KB ) - added by atomozero 14 years ago.
listdev.intel.D510 (2.3 KB ) - added by atomozero 14 years ago.
intel_extreme_atom_20101128_1.patch (10.7 KB ) - added by umccullough 13 years ago.
Fixed version of brecht's patch, missing constant values added from linux driver
intel_extreme_atom.patch (11.2 KB ) - added by brecht 13 years ago.
fixes some bugs in the PLL code
syslog_atom_n10.txt (119.4 KB ) - added by umccullough 13 years ago.
syslog after successful boot with intel_extreme and Intel N10 support
intel_n10.png (196.3 KB ) - added by umccullough 13 years ago.
Screenshot showing the details

Download all attachments as: .zip

Change History (23)

by atomozero, 14 years ago

Attachment: syslog added

by atomozero, 14 years ago

Attachment: listdev.intel.D510 added

comment:1 by stippi, 14 years ago

Type: bugenhancement

comment:2 by tonestone57, 14 years ago

Component: - GeneralDrivers/Graphics/intel_extreme
Owner: changed from nobody to axeld

This uses the GMA 3150 which should be similar to GMA 3100. http://en.wikipedia.org/wiki/Intel_GMA#Specifications

Adding in device id might get intel_extreme driver to work with this graphic chip.

comment:3 by umccullough, 13 years ago

Cc: umccullough added

comment:4 by umccullough, 13 years ago

Simply adding the deviceid to the intel_extreme driver and agp_gart did not seem to work. Seems to end up at a black screen with my monitor complaining about a bad video mode.

comment:5 by umccullough, 13 years ago

I'll send $25 USD via paypal to anyone who can get intel_extreme to work and provide native resolution support on the N10 graphics chipset (deviceid 0xa001) of my Atom box. Consider this a "mini-bounty" of sorts - or at the very least, a thank you gift :)

comment:6 by brecht, 13 years ago

The GMA3150 is integrated with the Atom. The N400 and D4/500 datasheets at (1) contains some information about the GMA3150 control register, which seems to be compatible to the G33's. The changeset that adds support for the GMA3150 can be found at (2). This might contain some hints as to what needs to be changed.

(1) http://www.intel.com/products/processor/atom/techdocs.htm

(2) http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=f53bdad1412f841075232455837578f00709c6ef

Version 0, edited 13 years ago by brecht (next)

comment:7 by brecht, 13 years ago

patch: 01

comment:8 by umccullough, 13 years ago

Applied locally, looks like a few constants were missed:

/home/umccullough/haiku/haiku/trunk/src/add-ons/accelerants/intel_extreme/mode.cpp: In function `void retrieve_current_mode(display_mode &, long unsigned int)':
/home/umccullough/haiku/haiku/trunk/src/add-ons/accelerants/intel_extreme/mode.cpp:413: `DISPLAY_PLL_M2_DIVISOR_MASK_IGD' undeclared (first use this function)
/home/umccullough/haiku/haiku/trunk/src/add-ons/accelerants/intel_extreme/mode.cpp:413: (Each undeclared identifier is reported only once
/home/umccullough/haiku/haiku/trunk/src/add-ons/accelerants/intel_extreme/mode.cpp:413: for each function it appears in.)
/home/umccullough/haiku/haiku/trunk/src/add-ons/accelerants/intel_extreme/mode.cpp:415: `DISPLAY_PLL_N_DIVISOR_MASK_IGD' undeclared (first use this function)
/home/umccullough/haiku/haiku/trunk/src/add-ons/accelerants/intel_extreme/mode.cpp: In function `status_t intel_set_display_mode(display_mode *)':
/home/umccullough/haiku/haiku/trunk/src/add-ons/accelerants/intel_extreme/mode.cpp:775: parse error before `;'
/home/umccullough/haiku/haiku/trunk/src/add-ons/accelerants/intel_extreme/mode.cpp:963: parse error before `)'

I'll see if I can clean that up and test it a bit.

by umccullough, 13 years ago

Fixed version of brecht's patch, missing constant values added from linux driver

comment:9 by umccullough, 13 years ago

Oops, did you update the patch as well?

Using the version of the patch I just attached here, it compiles (there were some syntax issues as well), but it produces a black screen on boot still, and my monitor claims the mode is wrong.

If I get a chance, I'll locate my serial cable and provide some debug output.

comment:10 by brecht, 13 years ago

Can you provide the output of the following:

setpci -v -d 8086:a001 10.L
setpci -v -d 8086:a001 18.L
setpci -v -d 8086:a001 1C.L

You can find setpci here.

comment:11 by umccullough, 13 years ago

Results are here:

~/Desktop> setpci -v -d 8086:a001 10.L
0000:00:02.0 @10 = fea80000
~/Desktop> setpci -v -d 8086:a001 18.L
0000:00:02.0 @18 = d0000008
~/Desktop> setpci -v -d 8086:a001 1C.L
0000:00:02.0 @1c = fe900000
~/Desktop> 

by brecht, 13 years ago

Attachment: intel_extreme_atom.patch added

fixes some bugs in the PLL code

comment:12 by brecht, 13 years ago

The new patch fixes some errors I made in porting the Linux driver code. There's probably more left, though. Please attach your syslog using the current patch.

comment:13 by umccullough, 13 years ago

Will test tonight - and if it works, you'll need to send me the email address you use for PayPal privately :D

comment:14 by umccullough, 13 years ago

Wonderful - it works! :)

I'm posting this comment from my Atom D510 machine using 1920x1200 and the intel_extreme driver...

I tested GLTeapot and a couple resolution changes, but I did not test media player/overlay support since I didn't have any videos handy.

syslog and screenshot coming shortly.

Brecht, I (gladly!) owe you $25 :)

by umccullough, 13 years ago

Attachment: syslog_atom_n10.txt added

syslog after successful boot with intel_extreme and Intel N10 support

by umccullough, 13 years ago

Attachment: intel_n10.png added

Screenshot showing the details

comment:15 by axeld, 13 years ago

The naming is a bit inconsistent (DISPLAY_PLL_IGD_POST1_DIVISOR_MASK vs. DISPLAY_PLL_N_DIVISOR_MASK_IGD -- the latter should be DISPLAY_PLL_IGD_N_DIVISOR_MASK instead), but the rest looks like the necessary evil. Nice work Brecht!

comment:16 by brecht, 13 years ago

Resolution: fixed
Status: newclosed

Patch with consistent naming is applied in hrev40319.

comment:17 by atomozero, 13 years ago

thx!!!! _

Note: See TracTickets for help on using tickets.