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


Intel Publishes More Haswell Graphics Driver Code


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

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.

Latest Linux Hardware Reviews
  1. Mini-Box M350: A Simple, Affordable Mini-ITX Case
  2. Overclocking The AMD AM1 Athlon & Sempron APUs
  3. AMD Athlon 5350 / 5150 & Sempron 3850 / 2650
  4. Upgraded Kernel & Mesa Yield A Big Boost For Athlon R3 Graphics
Latest Linux Articles
  1. Ubuntu 12.04.4 vs. 13.10 vs. 14.04 LTS Desktop Benchmarks
  2. AMD OpenCL Performance With AM1 Kabini APUs
  3. A Quick Look At GCC 4.9 vs. LLVM Clang 3.5
  4. Are AMD Athlon/Sempron APUs Fast Enough For Steam On Linux?
Latest Linux News
  1. Ubuntu 14.04 LTS "Trusty Tahr" Officially Released
  2. Ubuntu 12.04 LTS vs. 14.04 LTS Server Benchmarks
  3. QEMU 2.0 Released With ARM, x86 Enhancements
  4. Running The Unity 8 Preview Session On Ubuntu 14.04 LTS
  5. R600 Gallium3D Disables LLVM Back-End By Default
  6. Fedora 21 Gets GNOME 3.12, PHP 5.6, Mono 3.4
  7. Fedora Workstation Is Making Me Quite Excited
  8. Maynard: A Lightweight Wayland Desktop
  9. Chromium Browser Going Through Growing Pains In Ubuntu 14.04
  10. KDE 4.13 Is Being Released Today With New Features
  11. Trying Out Radeon R9 290 Graphics On Open-Source
  12. Intel Broadwell GT3 Graphics Have Dual BSD Rings
Latest Forum Discussions
  1. After Jack Keane, RuseSoft will briing Ankh 3 to Linux through Desura
  2. Updated and Optimized Ubuntu Free Graphics Drivers
  3. Suspected PHP Proxy Issue
  4. Linux Kernel Developers Fed Up With Ridiculous Bugs In Systemd
  5. The GNOME Foundation Is Running Short On Money
  6. Change installation destination from home directory
  7. Bye bye BSD, Hello Linux: A Sys Admin's Story
  8. New tool for undervolt/overclock AMD K8L and K10 processors