1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

Intel Publishes More Haswell Graphics Driver Code

Intel

Published on 21 March 2012 11:06 PM EDT
Written by Michael Larabel in Intel
15 Comments

While Intel's Ivy Bridge launch is imminent, and I'm still digging through information concerning today's Intel Valleyview code drop that brings Ivy Bridge graphics to their next-generation Atom as they do away with PowerVR graphics for their SoCs, more graphics driver code to enable Haswell support has landed this evening.

Two days ago I originally wrote about open-source Haswell graphics code appearing. The initial code was just a bit worrisome since it added in five Haswell PCI IDs for the graphics processor (two for desktop, two for mobile, and one mobile ultra-book), but none of them were for the much-rumored Haswell GT3 integrated graphics processor. The added IDs were just labelled GT1 and GT2. This initial code also classified Haswell as being a "Gen7" part like Ivy Bridge (and now Valleyview too), but not as "Gen8" hardware, which dampens some hopes of seeing any revolutionary changes over Ivy Bridge graphics.

Also appearing on Monday was a Haswell branch of Mesa to offer up the user-space side changes for Haswell to support OpenGL with this free software library. Those changes too were fairly basic for the "Gen7" Haswell and amounted to just a few dozen lines of code. The Haswell support in Mesa's "i965" DRI driver up to now has just been to add in the same PCI IDs, classify Haswell as being "Gen7", updating a few offsets and other bits, and disabling HiZ support temporarily.

What's hit the public lists this evening now is the most extensive set of graphics-related Haswell patches yet for Intel's open-source DRM (Direct Rendering Manager) Linux graphics kernel driver, like the other patches, they can be found on the intel-gfx list. "To contribute to everyones curiosity and further enrich Phoronix articles :), this is the initial Haswell enablement patchset for basic modesetting support over VGA."

Today's patches add over 800 lines of code as it builds upon the existing Intel Gen7 support within the kernel DRM driver. The 37 patches are being published under an "RFC" (Request For Comments) tag, but will hopefully be in a shape to get them merged for the Linux 3.4 kernel in the next two weeks while it's merge window is open. Otherwise the Haswell graphics could would need to wait around for a few more months before landing in the mainline Linux kernel tree for supporting next year's hardware from Intel.

Here's some comments on today's Intel Haswell open-source Linux graphics driver patches:

- The PCI IDs for the desktop integrated graphics: 0x0402 (GT1 desktop) and 0x0412 (GT2 desktop). The mobile integrated graphics: 0x0406 (GT1 mobile) and 0x0416 (GT2 mobile). These new patches also have the IDs for the server graphics: 0x0416 (GT1 server) and 0x041a (GT2 server). However, there's still no GT3 references with these patches. Haswell's SDV (Software Development Vehicle) has a PCI ID of 0x0c16.

- LynxPoint PCH support is worked on as part of this patch-set. Aside from the graphics, there's already been other Intel Lynx Point support work ongoing for the past few months in the Linux kernel.

- Haswell introduces new power wells. "Starting with Haswell, we have different power wells for different parts of the GPU. This attempts to enable them all."

- Haswell graphics feature Sideband Interface programming. "With Lynx Point, we need to use SBI to communicate with the display clock control."

- Like Ivy Bridge, Haswell will still have support for three pipes (see details on Ivy Bridge triple monitor support).

- The interrupt/IRQ support for Haswell is the same as Ivy Bridge, but different from Valleyview.

- RC6 support for Haswell is currently disabled due to causing system hangs.

Many of the Haswell driver enablement patches were authored by Eugeni Dodonov, one of the newer Intel OTC employees formerly from Mandriva. From some of the comments made publicly, it also seems they're already playing around with some early Haswell engineering hardware, compared to the Valleyview Atom SoC where it seems they're still waiting on silicon to arrive.

There isn't yet any xf86-video-intel DDX driver patches for Haswell, but those shouldn't be noteworthy at all with all of the interesting churn happening within the KMS/DRM driver and Mesa.

The timing of this Haswell push isn't surprising at all, since this successor to Ivy Bridge is due out in about one year's time. It was in April of 2011 when Intel began pushing out Ivy Bridge Linux graphics code and now with the launch being just days away, the IVB driver code is upstream in the kernel and can be found in major Linux distributions for what will hopefully be a pleasant "out of the box" experience.

Like Sandy Bridge and Ivy Bridge, expect the Haswell support to be refined a great deal in the coming months and as the support becomes more feature-complete. Mesa still needs to catch-up to supporting OpenGL 3.2 for Haswell (they're now nearing OpenGL 3.1 compliance), among other work.

However, there's already other performance improvements and other work that will make Ivy Bridge users excited to upgrade later on. When Ivy Bridge hardware is available, it will be tested under Linux on Phoronix. Aside from the graphics, there's also compiler optimizations to look forward to and other Linux features.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux Hardware Reviews
  1. NVIDIA GeForce GTX 970 Offers Great Linux Performance
  2. CompuLab Intense-PC2: An Excellent, Fanless, Mini PC Powered By Intel's i7 Haswell
  3. From The Atom 330 To Haswell ULT: Intel Linux Performance Benchmarks
  4. AMD Radeon R9 285 Tonga Performance On Linux
Latest Linux Articles
  1. AMD Moves Forward With Unified Linux Driver Strategy, New Kernel Driver
  2. MSI: Update Your BIOS From The Linux Desktop
  3. NVIDIA vs. AMD 2D Linux Drivers: Catalyst Is Getting Quite Good At 2D
  4. 15-Way GPU Comparison With Mesa 10.3 + Linux 3.17
Latest Linux News
  1. Ubuntu 16.04 Might Be The Distribution's Last 32-Bit Release
  2. Imagination Releases Full ISA Documentation For PowerVR Rogue GPUs
  3. Features GNOME Developers Want In The Linux Kernel
  4. GTK+ Gains Experimental Overlay Scrollbars
  5. Phoronix Test Suite 5.4 M3 Is Another Hearty Update
  6. GParted 0.20 Improves Btrfs Support
  7. EXT4 In Linux 3.18 Has Clean-ups, Bug Fixes
  8. Emacs 24.4 Has Built-In Web Browser, Improved Multi-Monitor Support
  9. NVIDIA's NVPTX Support For GCC Is Close To Being Merged
  10. KDE's KWin On Wayland Begins Using Libinput
Latest Forum Discussions
  1. Users/Developers Threatening Fork Of Debian GNU/Linux
  2. HOPE: The Ease Of Python With The Speed Of C++
  3. Proof that strlcpy is un-needed
  4. Bye bye BSD, Hello Linux: A Sys Admin's Story
  5. Updated and Optimized Ubuntu Free Graphics Drivers
  6. NVIDIA Presents Its Driver Plans To Support Mir/Wayland & KMS On Linux
  7. AMD Is Restructuring Again, Losing 7% Of Employees
  8. Open-Source AMD Fusion E-350 Support Takes A Dive