<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Eugeni&#039;s blog</title>
	<atom:link href="http://dodonov.net/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://dodonov.net/blog</link>
	<description>My view on technology, open-source, Linux and other cool things.</description>
	<lastBuildDate>Fri, 22 Jun 2012 23:06:13 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Ivy Bridge programming manuals are now available</title>
		<link>http://dodonov.net/blog/2012/06/22/ivy-bridge-programming-manuals-are-now-available/</link>
		<comments>http://dodonov.net/blog/2012/06/22/ivy-bridge-programming-manuals-are-now-available/#comments</comments>
		<pubDate>Fri, 22 Jun 2012 18:24:19 +0000</pubDate>
		<dc:creator>eugeni</dc:creator>
				<category><![CDATA[devel]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[intel]]></category>

		<guid isPermaLink="false">http://dodonov.net/blog/?p=1315</guid>
		<description><![CDATA[Hi folks, For everyone&#8217;s joy and amusement, Intel Ivy Bridge programming manuals are now available at the intellinuxgraphics.org site. This time, the documentation is split across 4 volumes, and consists of 17 pdf files. Comparing with last year&#8217;s Sandy Bridge documentation release, there is 1 additional part focused specifically on L3 cache and URB, a <a href='http://dodonov.net/blog/2012/06/22/ivy-bridge-programming-manuals-are-now-available/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Hi folks,</p>

<p>For everyone&#8217;s joy and amusement, Intel Ivy Bridge programming manuals are now available at the <a href="http://intellinuxgraphics.org/documentation.html" onclick="urchinTracker('/outgoing/intellinuxgraphics.org/documentation.html?referer=');">intellinuxgraphics.org</a> site.</p>

<p>This time, the documentation is split across 4 volumes, and consists of 17 pdf files. Comparing with last year&#8217;s Sandy Bridge documentation release, there is 1 additional part focused specifically on <strong>L3 cache and URB</strong>, a specific section about <strong>GT interface programming</strong>, another part covering <strong>multi-format transcoder</strong>, a new section specifically for <strong>PCI registers</strong> and one additional section focused on <strong>execution units</strong> details.</p>

<p>For the ones of you not feeling like clicking on the very first link in this post, these are the contents of this documentation release:</p>

<ul>
            <li><a href="http://www.intellinuxgraphics.org/documentation/IVB/IHD_OS_Vol1_Part1.pdf" onclick="urchinTracker('/outgoing/www.intellinuxgraphics.org/documentation/IVB/IHD_OS_Vol1_Part1.pdf?referer=');">Volume 1 Part 1: Graphics Core</a></li>
            <li><a href="http://www.intellinuxgraphics.org/documentation/IVB/IHD_OS_Vol1_Part2.pdf" onclick="urchinTracker('/outgoing/www.intellinuxgraphics.org/documentation/IVB/IHD_OS_Vol1_Part2.pdf?referer=');">Volume 1 Part 2: Graphics Core &#8211; MMIO, Media Registers &#038; Programming Environment</a></li>
        <li><a href="http://www.intellinuxgraphics.org/documentation/IVB/IHD_OS_Vol1_Part3.pdf" onclick="urchinTracker('/outgoing/www.intellinuxgraphics.org/documentation/IVB/IHD_OS_Vol1_Part3.pdf?referer=');">Volume 1 Part 3: Graphics Core &#8211; Memory Interface and Commands for the Render Engine</a></li>
            <li><a href="http://www.intellinuxgraphics.org/documentation/IVB/IHD_OS_Vol1_Part4.pdf" onclick="urchinTracker('/outgoing/www.intellinuxgraphics.org/documentation/IVB/IHD_OS_Vol1_Part4.pdf?referer=');">Volume 1 Part 4: Graphics Core &#8211; Blitter Engine</a></li>
            <li><a href="http://www.intellinuxgraphics.org/documentation/IVB/IHD_OS_Vol1_Part5.pdf" onclick="urchinTracker('/outgoing/www.intellinuxgraphics.org/documentation/IVB/IHD_OS_Vol1_Part5.pdf?referer=');">Volume 1 Part 5: Graphics Core &#8211; Video Codec Engine Command Streamer</a></li>
            <li><a href="http://www.intellinuxgraphics.org/documentation/IVB/IHD_OS_Vol1_Part6.pdf" onclick="urchinTracker('/outgoing/www.intellinuxgraphics.org/documentation/IVB/IHD_OS_Vol1_Part6.pdf?referer=');">Volume 1 Part 6: GT Interface Register</a></li>
            <li><a href="http://www.intellinuxgraphics.org/documentation/IVB/IHD_OS_Vol1_Part7.pdf" onclick="urchinTracker('/outgoing/www.intellinuxgraphics.org/documentation/IVB/IHD_OS_Vol1_Part7.pdf?referer=');">Volume 1 Part 7: L3$/URB</a></li>
            <li><a href="http://www.intellinuxgraphics.org/documentation/IVB/IHD_OS_Vol2_Part1.pdf" onclick="urchinTracker('/outgoing/www.intellinuxgraphics.org/documentation/IVB/IHD_OS_Vol2_Part1.pdf?referer=');">Volume 2 Part 1: 3D/Media &#8211; 3D Pipeline</a></li>
            <li><a href="http://www.intellinuxgraphics.org/documentation/IVB/IHD_OS_Vol2_Part2.pdf" onclick="urchinTracker('/outgoing/www.intellinuxgraphics.org/documentation/IVB/IHD_OS_Vol2_Part2.pdf?referer=');">Volume 2 Part 2: Media and General Purpose Pipeline</a></li>
            <li><a href="http://www.intellinuxgraphics.org/documentation/IVB/IHD_OS_Vol2_Part3.pdf" onclick="urchinTracker('/outgoing/www.intellinuxgraphics.org/documentation/IVB/IHD_OS_Vol2_Part3.pdf?referer=');">Volume 2 Part 3: Multi-Format Transcoder &#8211; MFX</a></li>
            <li><a href="http://www.intellinuxgraphics.org/documentation/IVB/IHD_OS_Vol3_Part1.pdf" onclick="urchinTracker('/outgoing/www.intellinuxgraphics.org/documentation/IVB/IHD_OS_Vol3_Part1.pdf?referer=');">Volume 3 Part 1: VGA and Extended VGA Registers</a></li>
            <li><a href="http://www.intellinuxgraphics.org/documentation/IVB/IHD_OS_Vol3_Part2.pdf" onclick="urchinTracker('/outgoing/www.intellinuxgraphics.org/documentation/IVB/IHD_OS_Vol3_Part2.pdf?referer=');">Volume 3 Part 2: PCI Registers</a></li>
            <li><a href="http://www.intellinuxgraphics.org/documentation/IVB/IHD_OS_Vol3_Part3.pdf" onclick="urchinTracker('/outgoing/www.intellinuxgraphics.org/documentation/IVB/IHD_OS_Vol3_Part3.pdf?referer=');">Volume 3 Part 3: North Display Engine</a></li>
            <li><a href="http://www.intellinuxgraphics.org/documentation/IVB/IHD_OS_Vol3_Part4.pdf" onclick="urchinTracker('/outgoing/www.intellinuxgraphics.org/documentation/IVB/IHD_OS_Vol3_Part4.pdf?referer=');">Volume 3 Part 4: South Display Engine</a></li>
        <li><a href="http://www.intellinuxgraphics.org/documentation/IVB/IHD_OS_Vol4_Part1.pdf" onclick="urchinTracker('/outgoing/www.intellinuxgraphics.org/documentation/IVB/IHD_OS_Vol4_Part1.pdf?referer=');">Volume 4 Part 1: Subsystem and Cores &#8211; Shared Functions</a></li>
            <li><a href="http://www.intellinuxgraphics.org/documentation/IVB/IHD_OS_Vol4_Part2.pdf" onclick="urchinTracker('/outgoing/www.intellinuxgraphics.org/documentation/IVB/IHD_OS_Vol4_Part2.pdf?referer=');">Volume 4 Part 2: Subsystem and Cores &#8211; Message Gateway, URB, Video Motion Estimation, Pixel Interpolator</a></li>
            <li><a href="http://www.intellinuxgraphics.org/documentation/IVB/IHD_OS_Vol4_Part3.pdf" onclick="urchinTracker('/outgoing/www.intellinuxgraphics.org/documentation/IVB/IHD_OS_Vol4_Part3.pdf?referer=');">Volume 4 Part 3: Execution Unit ISA</a></li>
            </ul>

<p>If you always wanted to understand the internals of a GPU, learn about the amazing world of MMIO registers programming and have control over your GPU, this is your chance <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>

<p>Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://dodonov.net/blog/2012/06/22/ivy-bridge-programming-manuals-are-now-available/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Updated PGP key</title>
		<link>http://dodonov.net/blog/2012/06/12/updated-pgp-key/</link>
		<comments>http://dodonov.net/blog/2012/06/12/updated-pgp-key/#comments</comments>
		<pubDate>Tue, 12 Jun 2012 13:43:19 +0000</pubDate>
		<dc:creator>eugeni</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dodonov.net/blog/?p=1310</guid>
		<description><![CDATA[Hi, I noticed that my current PGP key was getting close to its expiration date, and it was also created back in 2008, when security was not that fancy as today (yes, it still was DSA 1024 bits. Yes, I don&#8217;t have any excuse for still using that, even considering the fact that I used <a href='http://dodonov.net/blog/2012/06/12/updated-pgp-key/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>

<p>I noticed that my current PGP key was getting close to its expiration date, and it was also created back in 2008, when security was not that fancy as today (yes, it still was DSA 1024 bits. Yes, I don&#8217;t have any excuse for still using that, even considering the fact that I used it like 10 times in all those years. But yes, I finally got to fix it now). So today, I&#8217;ve switched to a shiny new GPG key:</p>

<pre><code>pub   2048R/B84A5081 2012-06-12 [expires: 2022-06-10]
      Key fingerprint = 1FD0 C0DB 2044 314A DF46  9C36 F13E ADA4 B84A 5081
</code></pre>

<p>So in case you were using one of my old keys:</p>

<pre><code>pub   1024D/0A292828 2008-05-08 [revoked: 2012-06-12]
      Key fingerprint = 8441 D93F 4CBA A266 45EF  3596 AE49 27EB 0A29 2828
</code></pre>

<p>or</p>

<pre><code>pub   1024D/CF6C0F93 2009-01-22 [revoked: 2012-06-12]
      Key fingerprint = 1B7C 4A3D EDEC C46D CC52  6FFE AB2F 0267 CF6C 0F93
</code></pre>

<p>Please switch to a new one. It should be available on most keyservers shortly, and also at <a href="http://eugeni.dodonov.net/pubkey.asc" onclick="urchinTracker('/outgoing/eugeni.dodonov.net/pubkey.asc?referer=');">http://eugeni.dodonov.net/pubkey.asc</a> directly.</p>
]]></content:encoded>
			<wfw:commentRss>http://dodonov.net/blog/2012/06/12/updated-pgp-key/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>i915 in the 3.4 (and looking towards the 3.5) Kernel statistics</title>
		<link>http://dodonov.net/blog/2012/05/27/i915-in-the-3-4-and-looking-towards-the-3-5-kernel-statistics/</link>
		<comments>http://dodonov.net/blog/2012/05/27/i915-in-the-3-4-and-looking-towards-the-3-5-kernel-statistics/#comments</comments>
		<pubDate>Sun, 27 May 2012 22:48:26 +0000</pubDate>
		<dc:creator>eugeni</dc:creator>
				<category><![CDATA[devel]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[writing]]></category>

		<guid isPermaLink="false">http://dodonov.net/blog/?p=1304</guid>
		<description><![CDATA[Hi folks, So, Kernel 3.4 got released a couple of days ago, and the merge window has reopened for the 3.5 Kernel release. We have put lots (and I mean it!) of work towards making a huge progress in the Intel Linux Graphics kernel driver for the 3.4 kernel, but things look yet even more <a href='http://dodonov.net/blog/2012/05/27/i915-in-the-3-4-and-looking-towards-the-3-5-kernel-statistics/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Hi folks,</p>

<p>So, Kernel 3.4 got released a couple of days ago, and the merge window has reopened for the 3.5 Kernel release.</p>

<p>We have put lots (and I mean it!) of work towards making a huge progress in the Intel Linux Graphics kernel driver for the 3.4 kernel, but things look yet even more brighter for the next one &#8211; namely, 3.5!</p>

<p>As a picture speaks louder than 1000 words, I&#8217;ve done a simple chart comparing the number of changes in the <strong>drivers/gpu/drm/i915</strong> directory over the Linux Kernel releases since the <strong>2.6.30</strong> release some years ago:</p>

<div id="attachment_1305" class="wp-caption aligncenter" style="width: 310px"><a href="http://dodonov.net/blog/wp-content/uploads/2012/05/i915.png"><img src="http://dodonov.net/blog/wp-content/uploads/2012/05/i915-300x225.png" alt="Linux Kernel commits rate between 2.6.31 up to 3.5.0 (so far)" title="i915" width="300" height="225" class="size-medium wp-image-1305" /></a><p class="wp-caption-text">Linux Kernel commits rate between 2.6.31 up to 3.5.0 (so far)</p></div>

<p>Between <strong>3.3</strong> and <strong>3.4</strong> Kernel versions, we had an astonishing number of <strong>152</strong> commits related to the <strong>drivers/gpu/drm/i915</strong> directory (e.g., the Intel graphics driver in the kernel). This number looks impressive &#8211; but it is pale if we compare it to the <strong>343</strong> commits we had so far for the <strong>3.5</strong> Linux kernel merge window</p>

<p>So far, we are just <strong>2</strong> patches away from the all-time high of the <strong>2.6.37</strong> Kernel &#8211; and we are just getting into the <strong>3.5</strong> Kernel development cycle yet.</p>

<p>In case it is easier to read the absolute numbers instead of graphs, here is the full picture, generated from the <code>git log --oneline &lt;&lt;kerner_version&gt;&gt;^1..&lt;kernel_version&gt;&gt; drivers/gpu/drm/i915</code> command, for all the kernels between <strong>2.6.29</strong> and <strong>3.5</strong> (up to date):</p>

<pre><code>2.6.30  98
2.6.31  122
2.6.32  119
2.6.33  144
2.6.34  69
2.6.35  155
2.6.36  184
2.6.37  345
2.6.38  247
2.6.39  113
3.0.0   109
3.1.0   131
3.2.0   126
3.3.0   78
3.4.0   152
3.5.0(next) 343
</code></pre>

<p>I&#8217;ll try to cover some of the highlights of the next Kernel release in the next post (ppgtt? haswell? valley view? DRI1 ? RC6? I2C? VBT? Those are just some of the keywords) &#8211; but this kinda answers the question whether the Intel Linux Graphics driver is alive.</p>

<p>Yes, it is.</p>

<p>And it rocks <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
]]></content:encoded>
			<wfw:commentRss>http://dodonov.net/blog/2012/05/27/i915-in-the-3-4-and-looking-towards-the-3-5-kernel-statistics/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>April updates from the Intel Linux Graphics land</title>
		<link>http://dodonov.net/blog/2012/04/30/april-updates-from-the-intel-linux-graphics-land/</link>
		<comments>http://dodonov.net/blog/2012/04/30/april-updates-from-the-intel-linux-graphics-land/#comments</comments>
		<pubDate>Mon, 30 Apr 2012 23:30:18 +0000</pubDate>
		<dc:creator>eugeni</dc:creator>
				<category><![CDATA[devel]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mesa]]></category>
		<category><![CDATA[wayland]]></category>
		<category><![CDATA[x.org]]></category>

		<guid isPermaLink="false">http://dodonov.net/blog/?p=1289</guid>
		<description><![CDATA[Another month is at end, and it looks like a good timing for another update about the Intel Linux Graphics project. As usual, starting with Kernel, I can say that this way a very, very busy month, and we had more kernel patches during this time than I can remember from the past. Several patchbombs <a href='http://dodonov.net/blog/2012/04/30/april-updates-from-the-intel-linux-graphics-land/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Another month is at end, and it looks like a good timing for another update about the Intel Linux Graphics project.</p>

<p>As usual, starting with <strong>Kernel</strong>, I can say that this way a very, very busy month, and we had more kernel patches during this time than I can remember from the past. Several patchbombs came through, such as:</p>

<ul>
<li>Several rounds of <strong>Ben</strong>&#8216;s patches for <strong>timed GPU execution, or BO waits</strong>. Those patches add the ability to specify the desired timeout parameter to the core GPU functions, and allow the userspace to specify how log to wait until they are done &#8211; instead of waiting for them indefinitely. It is a nice addition to the way userspace cooperates with the Kernel part for the GPU-related tasks, and a helpful addition to support the <strong>GL_ARB_sync</strong> OpenGL extension.</li>
<li>Also from <strong>Ben</strong>, we had some patches that fixed a couple of <strong>sparse warnings</strong>. They should not change anything functionality or performance-wise, but they make the driver code more elegant <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</li>
<li>From <strong>Daniel Vetter</strong>, we had a 22-patch series for <strike>dragon slaughtering</strike> consolidation of the legacy <strong>DRI1</strong> code paths. Those patches do a huge cleanup and properly split the <strong>DRI1</strong> and <strong>DRI2</strong> calls in a way that everything related to <strong>DRI1</strong> should belong to the <strong>i915_dma.c</strong> module now.</li>
<li><strong>Chris Wilson</strong> and <strong>Jesse Barnes</strong> have been working on a better way to handle the <strong>PCH PLLs</strong> separately from the display pipes. This patch greatly simplifies the interaction with the components of the GPU located on the chipset, and allows to allocate or re-use different PLLs on-demand. This came particularly handy for my <strong>Haswell</strong> enablement efforts, where most of the things are being done by the <strong>CPU</strong> part of the graphics subsystem, and <strong>PCH</strong> is used for non-essential tasks.</li>
<li>Also from <strong>Chris Wilson</strong>, we had a 28-patch series for reusing the stolen memory early in the GPU initialization. Stolen memory is being allocated by BIOS for its need, and previously, when Kernel GPU driver was loaded, most of the memory was re-initialized. With those new patches, it is possible to reuse BIOS-allocated objects and even allocate frame buffer from the stolen memory. Yet another step towards a faster and flicker-less boot!</li>
<li><strong>Ben Widawsky</strong> has sent his patches for <strong>L3 cache remapping</strong>. Those patches account for the row-level remapping of cache content when a parity error is detected, and this task is carried transparently to the software. On Ivy Bridge (which those patches are targeted), this situation is detected by means of an interrupt, and when this interrupt gets to the i915 kernel driver, it is able to cope with it and keep track of the failed bits. In other words, you may think on it as on a some sort of badblocks handling which is used for hard disks disks, but for L3 cache. Except that the L3 errors are much, <strong>much</strong> rare to occur.</li>
<li>Some <strong>power</strong> subsystem refactoring came from me, where all the power-related components of the driver (rc6, watermarks, framebuffer compression, power monitoring and turbo-related bits) got moved into the <strong>intel_pm.c</strong> module; and <strong>Daniel Vetter</strong> has also complemented this new module with additional power-related items I missed in my original move.</li>
<li>As another major patchbombing, I&#8217;ve send another round of <strong>Haswell</strong> GPU enablement patches, which add a new <strong>intel_ddi.c</strong> module, improve support for HDMI outputs, and address most of the comments I&#8217;ve received for the past months about those patches.</li>
<li>And finally, still on Intel Linux Graphics page but on an entirely different hardware, <strong>Alan Cox</strong> has sent a round of updated kernel patches for <strong>GMA500</strong> support to inclusion into the <strong>drm-next</strong> tree.</li>
</ul>

<p>Besides those major patch series, we had several patches for <strong>i8xx interrupts handling</strong> and <strong>gen2</strong> fixes (which also helps to answer the question whether the old <strong>i8xx</strong> graphics cards are still supported <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ), improvements in <strong>page flipping</strong>, <strong>turbo initialization</strong>, <strong>Sandy Bridge GPU hangs</strong> in Google Maps/Earth, proper <strong>IPS polling</strong> which should be limited to Gen5 architecture now, <strong>pineview clock gating</strong> and several <strong>backlight</strong> fixes, besides all the other smaller ones.</p>

<p>On <strong>2D</strong> driver side, the major news of the past month was the release of <strong>Glamor 0.4</strong> acceleration backend. The biggest changes are the support for <strong>DRI2</strong> and <strong>texture from pixmap</strong> functionalities, co-existance with <strong>AIGLX</strong>, many performance optimizations for <strong>pixmap uploading/downloading</strong>, full <strong>GLES2</strong> color formats support and a new texture cache pool mechanism to reduce texture/fbo creating and destruction overhead and considerable improve overall performance.</p>

<p>Still on the <strong>2D</strong> side of things, a new <strong>Cairo 1.12.2</strong> release went out. This is a largely bugfixing release, which fixed a large number of issues which were found out since the <strong>Cairo 1.12</strong> got released. <strong>Chris Wilson</strong> has also carried out a performance evaluation of <strong>Cairo 1.12.2</strong> with different backends in his <a href="http://ickle.wordpress.com/2012/04/30/cairo-1-12-2-released/" onclick="urchinTracker('/outgoing/ickle.wordpress.com/2012/04/30/cairo-1-12-2-released/?referer=');">blog</a>.</p>

<p>On <strong>Mesa</strong> side, lots of bugs were fixed, as usual, and among the most interesting updates for the past months that I caught were:</p>

<ul>
<li>Support for <strong>RGBX_8888</strong> format used in Android native buffers from <strong>Sean Kelley</strong>.</li>
<li>Support for additional <strong>gbm</strong> interfaces from <strong>Ander</strong>, used to allow <strong>weston</strong> compositor to reuse KMS framebuffer objects instead of creating and destroying them for each rendered frame.</li>
<li>Addition of the DRI image v4 extensions to <strong>MESA_drm_image</strong>, and support for additional <strong>DRI image</strong> formats from <strong>Gwenole</strong>.</li>
<li>Also from <strong>Gwenole</strong>, 5-patch series for the DRI2 changes to add support for the new Wayland and VA/EGL proposals to handle YUV buffers, and differentiate progressive/interlaced contents.</li>
<li>A couple of fixes for mipmap offsets when used with HiZ and separate stencil buffers, from <strong>Paul Berry</strong>.</li>
<li>Lots of work on <strong>GLSL</strong> support, from <strong>Eric</strong>, <strong>Ken</strong>, <strong>Ian</strong> and <strong>Paul</strong>.</li>
<li>And finally, still from <strong>Gwenole</strong>, came a patch series to allow <strong>caching</strong> data regions according to a given offset.</li>
</ul>

<p>Moving to <strong>Wayland</strong>, the patches that caught my attention were:</p>

<ul>
<li>Collabora&#8217;s <strong>Pekka Paalanen</strong>&#8216;s patches for adding Android support for Wayland (which were already covered by <a href="http://www.phoronix.com/scan.php?page=news_item&amp;px=MTA5MzA" onclick="urchinTracker('/outgoing/www.phoronix.com/scan.php?page=news_item_amp_px=MTA5MzA&amp;referer=');">phoronix</a> as well).</li>
<li><strong>Ander&#8217;s</strong> patches for reusing KMS framebuffer objects.</li>
<li><strong>Gwenole</strong>&#8216;s patches that added support for querying for the list of supported <strong>surface formats</strong>, support for <strong>YUV buffers</strong> and <strong>generic buffer formats</strong>.</li>
<li>And <strong>Tiago Vignatti</strong>&#8216;s patches for <strong>xwayland</strong> improvements, customizable <strong>modifier key biddings</strong>.</li>
</ul>

<p>And, last but not least, we&#8217;ve gone through the list of the open freedesktop.org and kernel.org bugzillas, and managed to scrub dozens of fixes in the past few weeks, solving a huge variety of issues &#8211; from <strong>i8xx</strong>-specific bugs up to recent <strong>GPU turbo</strong> issues after idle on newer machines. If you have a bug open with us, take a look if it is still active &#8211; chances are that many of the issues you could have were already gone <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . And if it still there, it would be a great time to check it again and verify if the <strong>drm-intel-next</strong> tree is still affected by it. As <strong>Kernel 3.5</strong> merge window gets closer, it is a very good timing to try to address the remaining issues prior to its opening.</p>

<p>That&#8217;s all for now &#8211; stay tuned for future news from the Intel Linux Graphics land, and enjoy the International Workers&#8217; Day meanwhile &#8211; if your country considers it as a holiday, of course <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> !</p>
]]></content:encoded>
			<wfw:commentRss>http://dodonov.net/blog/2012/04/30/april-updates-from-the-intel-linux-graphics-land/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mid-April updates from intel linux graphics land</title>
		<link>http://dodonov.net/blog/2012/04/14/mid-april-updates-from-intel-linux-graphics-land/</link>
		<comments>http://dodonov.net/blog/2012/04/14/mid-april-updates-from-intel-linux-graphics-land/#comments</comments>
		<pubDate>Sat, 14 Apr 2012 22:03:45 +0000</pubDate>
		<dc:creator>eugeni</dc:creator>
				<category><![CDATA[devel]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mesa]]></category>
		<category><![CDATA[x.org]]></category>

		<guid isPermaLink="false">http://dodonov.net/blog/?p=1279</guid>
		<description><![CDATA[As Starks used to say, &#8220;Winter is coming&#8221;. So in this sense, time has come for another round of updates from the Intel Linux Graphics project. This time, it took me less time than on previous round of updates, so I think I&#8217;ll be able to give you some more details about some of the <a href='http://dodonov.net/blog/2012/04/14/mid-april-updates-from-intel-linux-graphics-land/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>As Starks used to say, &#8220;Winter is coming&#8221;. So in this sense, time has come for another round of updates from the Intel Linux Graphics project.</p>

<p>This time, it took me less time than on previous round of updates, so I think I&#8217;ll be able to give you some more details about some of the most interesting changes I&#8217;ve spotted for the past weeks.</p>

<p>Starting with the <strong>Kernel</strong>, many and many patches has landed into the intel-gfx mailing list. Among some of the most interesting were:</p>

<ul>
<li>Another round of <strong>Valley View</strong> enabling patches from <strong>Jesse Barnes</strong>. Some of both Valley View and Haswell architecture patches were already included into the <strong>drm-intel-next</strong> branch by Daniel Vetter, but obviously most of the things are still being worked on. Valley View patches are getting really close to their final form, but some of the changes come from the fact that its architecture handles most of the display-related operations in a very orthogonal way to the other GPUs we have. So we&#8217;ll still see more rounds of patchbombing on ValleyView front.</li>
<li><strong>Daniel Vetter</strong> sent another round of patches for <strong>PPGTT</strong> handling, most of which were already included in his <strong>drm-intel-next</strong> tree by now. Besides those, <strong>Daniel</strong> came with another round of Sandy Bridge hardware-related workarounds for the kernel as well. None of those were (apparently) hit by our usual code paths in Kernel, but in order to prevent possible future problems it is better to be safe than sorry on this matter.</li>
<li><strong>Jesse</strong> also came with a patch series which reworked and simplified some shared code paths in the driver, mostly related to the Display Port support and interaction with the <strong>PCH</strong>-based items (e.g., parts of the display that are based on the chipset and not on the CPU itself).</li>
<li><strong>Chris Wilson</strong> sent some patches for properly handle some Graphics <strong>interrupts</strong> corner cases, some additional debugging patches, additional <strong>LVDS</strong>-related fixes and a large number of patches that improve the way GPU rings interact between each other.</li>
<li><strong>Adam Jackson</strong> from Redhat, <strong>Rodrigo Vivi</strong>, <strong>Paulo Zanoni</strong> and <strong>Takashi Iwai</strong> from SuSE have been working on supporting new video modes that we weren&#8217;t handling properly (such as modes that are not properly described in EDID metadata that monitors report even when those modes are actually supported by them). Those patches resulted in a series of very interesting discussions about how to handle such cases as well, including all the scary terms like <strong>CVT</strong>, <strong>DMT</strong>, <strong>EDID</strong>, <strong>GTF2</strong>, <strong>GTF</strong>, <strike>and all the other <strong>WTF</strong>-like terms</strike> and all the related stuff.</li>
<li><strong>Ben Widawsky</strong> posted some patches for proper <strong>cache-level parity</strong> handling and better <strong>RC6</strong> visibility from userspace, by using the <strong>sysfs</strong> facilities.</li>
<li>Last but not least, I&#8217;ve sent out the 3rd round of <strong>Haswell</strong> enablement patches. Phoronix already did a great coverage of them in the past weeks, so as the major highlights of this new series is support of digital outputs (like HDMI and DVI), and some additional tweaks to make things work better in overall. This time, the patchbombing was of mere 29 patches thanks to Daniel Vetter who had already included around as many patches into his <strong>drm-intel-next-queued</strong> tree last week. It was an <strong>amazingly</strong> interesting experience for me to work on this hardware enablement, and it is great to see the results of this work out in the wild. And of course, I&#8217;d like to thank <strong>Jesse</strong> for helping me with most of the hardest issues I had, and <strong>Ben</strong> for his help when I got completely stuck on some of them <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</li>
<li>And finally, still related to the Intel Graphics but also to all the other drm-based Linux projects, <strong>Paulo Zanoni</strong> have been working on an <strong>infoframes</strong> programming tool, which was finally included into the intel-gpu-tools suite; <strong>underscan</strong> properties support and on <strong>generic CRTC properties</strong> development.</li>
</ul>

<p>Moving to <strong>Mesa</strong>, lots of patches on all the areas as well. The most interesting ones related to the Intel GPUs that I managed to look at were:</p>

<ul>
<li><strong>Eric Anholt&#8217;s</strong> work on <strong>GLSL 1.40</strong> support and performance tuning in shaders for Intel GPUs. The <strong>GLSL 1.40</strong> support is a big step for the open-source GL library, and it will be a very welcomed addition for the next GL versions support. And performance-related patches are always a nice thing to have <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</li>
<li><strong>Ian Romanick</strong> sent the patches that rework the initial uniform handling in Mesa.</li>
<li>And <strong>Neil Roberts</strong> came with some patches that improve wayland-specific Mesa code paths.</li>
</ul>

<p>Besides those changes, we had hundreds of patches that I left out of the scope of this update. Lots of activities are going on on many <strong>Mesa</strong>-related development, and the progress of this open-source GL implementation is looking great!</p>

<p>On <strong>2D</strong> driver side, lots of patches entered the <strong>xf86-video-intel</strong> project for the past weeks, mostly related to the <strong>SNA</strong> acceleration backend, but also some <strong>glyph</strong>-related fixes and other bugfixes for <strong>UXA</strong>. All of them came from <strong>Chris Wilson</strong>, who is doing an unbelievable job on the project for the past years!</p>

<p>On <strong>Wayland</strong> project, as usual, lots of activity was going on. Among the most interesting developments was the addition of piglit support to the project by <strong>Chad Versace</strong>, which allows to run the piglit tests under GLX, Wayland and X11/EGL while selecting the desired window system at runtime.</p>

<p>And finally, on a related project, <strong>Jeremy Huddleston</strong> has released the first maintenance release for <strong>xorg-server</strong>, which fixes many input-related issues together with some RandR fixes and small memory leaks.</p>

<p>I guess that&#8217;s it for today. Stay tuned for future updates, and enjoy the next season of <strong>The Game of Thrones</strong> meanwhile (which works amazingly well on my Intel-based card with vaapi acceleration by the way <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ).</p>
]]></content:encoded>
			<wfw:commentRss>http://dodonov.net/blog/2012/04/14/mid-april-updates-from-intel-linux-graphics-land/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Compensating for long time with no news with lots and lots of them</title>
		<link>http://dodonov.net/blog/2012/04/01/compensating-for-long-time-with-no-news-with-lots-and-lots-of-them/</link>
		<comments>http://dodonov.net/blog/2012/04/01/compensating-for-long-time-with-no-news-with-lots-and-lots-of-them/#comments</comments>
		<pubDate>Sun, 01 Apr 2012 15:12:14 +0000</pubDate>
		<dc:creator>eugeni</dc:creator>
				<category><![CDATA[devel]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Linux-Planet]]></category>
		<category><![CDATA[x.org]]></category>

		<guid isPermaLink="false">http://dodonov.net/blog/?p=1270</guid>
		<description><![CDATA[Yeah, I know that it has been quite a while since I last time wrote about news from the Intel Linux Graphics land. But as an excuse for such a long delay, I can say that it wasn&#8217;t because we had nothing to comment about &#8211; but on the contrary, we had sooo many things <a href='http://dodonov.net/blog/2012/04/01/compensating-for-long-time-with-no-news-with-lots-and-lots-of-them/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Yeah, I know that it has been quite a while since I last time wrote about news from the Intel Linux Graphics land. But as an excuse for such a long delay, I can say that it wasn&#8217;t because we had nothing to comment about &#8211; but on the contrary, we had <strong>sooo</strong> many things happening that I really could get a free time to write something.</p>

<p>With so many happenings in the past weeksˆWmonths, it is hard to know where to start. But I&#8217;ll try to cover the most relevant events which happened since the last update.</p>

<div align="center">
<a href="http://www.flickr.com/photos/eugeni_dodonov/6819586128/" title="Golf course at Skamania Loudge by eugeni_dodonov, on Flickr" onclick="urchinTracker('/outgoing/www.flickr.com/photos/eugeni_dodonov/6819586128/?referer=');"><img src="http://farm8.staticflickr.com/7203/6819586128_0058ab6a46.jpg" width="375" height="500" alt="Golf course at Skamania Loudge"></a>
</div>

<p>As one of the coolest things which happened in the past month, I must mention the <strong>OSTS 2012</strong> conference. OSTS stands for Open-source Technology Summit, and it is an Intel-internal (with some guests of course, among them, naturally, Linus Torvalds himself <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ) event which aims at gathering all the Intel open-source developers in one amazingly beautiful place between the states of Oregon and Washington. The event takes place in <a href="http://www.skamania.com/" onclick="urchinTracker('/outgoing/www.skamania.com/?referer=');">Skamania Loudge</a>, one of the most beautiful places I&#8217;ve been to, and it happened on the first week of March.</p>

<p>While there, I finally had a chance to discover the rest of the team in person (yeah, it is really nice to have people faces matching the names who were just voices on the phone and irc handles in the past). And, of course, it was a huge opportunity to discuss many of the projects we&#8217;ve been working on in person (alongside discussing the politics, open-source, football, french history and pretty much everything else <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ).</p>

<div align="center">
<a href="http://www.flickr.com/photos/eugeni_dodonov/6819041630/" title="Distant lonely mountain by eugeni_dodonov, on Flickr" onclick="urchinTracker('/outgoing/www.flickr.com/photos/eugeni_dodonov/6819041630/?referer=');"><img src="http://farm8.staticflickr.com/7186/6819041630_6b107be4a4.jpg" width="500" height="375" alt="Distant lonely mountain"></a>
</div>

<p>Besides technical stuff, the conference itself was amazing, and it is great that Intel organizes it and makes it such a success &#8211; I really hope to be able to attend the future iterations of it as well.</p>

<p>But back to the news, let me cover some of the major highlights of the Intel Linux Graphics project which we had in the past month or so.</p>

<p>First of all, the <strong>2012.02</strong> Intel Linux Graphics stack release was <a href="http://intellinuxgraphics.org/2012.02.html" onclick="urchinTracker('/outgoing/intellinuxgraphics.org/2012.02.html?referer=');">released</a>, bringing a full-featured Ivy Bridge platform support on the hardware side and OpenGL 3.0 compatibility on the software one. The support for GL 3.0 is a huge leap forward for open-source graphics landscape, and I&#8217;d like to congratulate all the developers who were working on it for the past months. You did an amazing job guys, congratulations for shaping the open-source world and making it move ahead in such a great pace!</p>

<p>One day after the <strong>12.02</strong> stack release, <strong>Chris Wilson</strong> has released xf86-video-intel <strong>2.18</strong>, featuring hundreds of new commits and improvements. But the work on the 2D driver by no means stops at this point &#8211; we already have lots and lots of new commits there, most of which are related to the <strong>SNA</strong> technology. It is still considered experimental, but at the same time it is already quite ahead of the UXA backend in many trends.</p>

<p>Still on the <strong>2D</strong> support side, Chris Wilson has also released <strong>Cairo</strong> 1.11.4 and, a couple of days later, stable <strong>Cairo 1.12</strong> version. This is the first major Cairo version in years, and it comes with an amazing set of features and performance improvements in all aspects.  Check those <a href="http://ickle.wordpress.com/2012/03/28/cairo-1-12-let-the-releases-roll/" onclick="urchinTracker('/outgoing/ickle.wordpress.com/2012/03/28/cairo-1-12-let-the-releases-roll/?referer=');">two</a> <a href="http://ickle.wordpress.com/2012/03/30/cairo-performance-on-ion/" onclick="urchinTracker('/outgoing/ickle.wordpress.com/2012/03/30/cairo-performance-on-ion/?referer=');">articles</a> on Chris Wilson <a href="http://ickle.wordpress.com/" onclick="urchinTracker('/outgoing/ickle.wordpress.com/?referer=');">blog</a> for some of the highlights of those releases.</p>

<p>Moving to the kernel project, we have an amazing number of features as well. Within a couple of hours from each other, <strong>Jesse Barnes</strong> has published his first set of patches for the <a href="http://lists.freedesktop.org/archives/intel-gfx/2012-March/015571.html" onclick="urchinTracker('/outgoing/lists.freedesktop.org/archives/intel-gfx/2012-March/015571.html?referer=');">Valley View</a> support, and I&#8217;ve sent my patches for <a href="http://lists.freedesktop.org/archives/intel-gfx/2012-March/015629.html" onclick="urchinTracker('/outgoing/lists.freedesktop.org/archives/intel-gfx/2012-March/015629.html?referer=');">Haswell</a> enablement. Both series of patches has already received a couple of iterations of updates, and have already been covered by <a href="http://phoronix.com/" onclick="urchinTracker('/outgoing/phoronix.com/?referer=');">phoronix</a> reviews. Another major step towards full Open-Source support in not yet released GPUs!</p>

<p>Still on Kernel, <strong>Daniel Vetter</strong> has released a couple of snapshots of his <strong>drm-intel-next</strong> tree, and initial patches for the <strong>3.4</strong> kernel has already landed in Linus Torvald&#8217;s tree. And yet, while the next version of kernel is still taking place, we already have a a huge amount of patches getting ready for the one after it &#8211; the <strong>3.5</strong> one. Among those, are the <strong>logical context switching</strong> patches from Ben Widawsky, <strong>gtt handling</strong> improvements, <strong>lvds</strong> improvements, more <strong>Sandy Bridge</strong> and <strong>Ivy Bridge</strong> workarounds, improved <strong>semaphores</strong> for display plane, enablement (hopefully final) of <strong>RC6</strong> by default for Sandy Bridge, and many many others. Things are looking great, and the development pace is amazing. I&#8217;ll try to cover more details of those patches in one of the next blog posts.</p>

<p>And to finish with the Kernel side of the story, <strong>Dave Airlie</strong> has managed to nail-down the long-standing issues we had while suspending, which resulted in random filesystem corruption and other nasty side effects. The patch was already sent to Linus, so things on the suspend-resume side are looking sweet again.</p>

<p>On <strong>Mesa</strong> side, <strong>Eric Anholt</strong> has sent the initial GLSL 1.40 patches. GLSL 1.40 is a bit different from its 1.30 counterpart in the sense that there is not much use for it outside the <strong>OpenGL 3.1</strong>, which is not there yet. Meanwhile, <strong>Mesa 8.0.2</strong> was released, with additional bug fixes and improvements in this stable edition of it. So far, <strong>Mesa 8.0</strong> looks very impressive, from both stability and performance point of view. Once again, amazing job guys!</p>

<p>Besides those news, we had thousands of new patches meanwhile, which I won&#8217;t be able to cover in this post. The development goes on and on, and so far 2012 looks quite promising for the Intel Linux Graphics project.</p>

<div align="center">
<a href="http://www.flickr.com/photos/eugeni_dodonov/6959292417/" title="Snow on a bridge. by eugeni_dodonov, on Flickr" onclick="urchinTracker('/outgoing/www.flickr.com/photos/eugeni_dodonov/6959292417/?referer=');"><img src="http://farm8.staticflickr.com/7209/6959292417_7d779bfa82.jpg" width="375" height="500" alt="Snow on a bridge."></a>
</div>

<p>And, last but not least, this probably will be my last post while I have <strong>0x1E</strong> years of age. In a couple of hours, I&#8217;ll have to go through a bit-shifting in age, coming to a very nicely looking number of <strong>0x1F</strong> years (which looks yet more amazing in binary, being represented by a beautiful number of <strong>0b11111</strong>). Almost coming of age by now <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
]]></content:encoded>
			<wfw:commentRss>http://dodonov.net/blog/2012/04/01/compensating-for-long-time-with-no-news-with-lots-and-lots-of-them/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Another round of updates coming your way</title>
		<link>http://dodonov.net/blog/2012/02/16/another-round-of-updates-coming-your-way/</link>
		<comments>http://dodonov.net/blog/2012/02/16/another-round-of-updates-coming-your-way/#comments</comments>
		<pubDate>Thu, 16 Feb 2012 21:14:04 +0000</pubDate>
		<dc:creator>eugeni</dc:creator>
				<category><![CDATA[devel]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://dodonov.net/blog/?p=1266</guid>
		<description><![CDATA[Another week has passed, and time has come to write some more updates from the Intel Linux Graphics land. As the major news, as you all already know, Mesa 8.0 was released, bringing GL 3.0 and GLSL 1.30 support combined with multitude of fixes and enhancements all over the place. For Intel i965-based graphics cards, <a href='http://dodonov.net/blog/2012/02/16/another-round-of-updates-coming-your-way/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Another week has passed, and time has come to write some more updates from the Intel Linux Graphics land.</p>

<p>As the major news, as you all already know, <strong>Mesa 8.0</strong> was released, bringing <strong>GL 3.0</strong> and <strong>GLSL 1.30</strong> support combined with multitude of fixes and enhancements all over the place. For Intel i965-based graphics cards, for instance, this means a very nice boost in performance (specially on <strong>Ivy Bridge</strong> platform), lots of stability fixes and, of course, complete GL 3.0 feature set.</p>

<p>Besides <strong>Mesa</strong>, <strong>Kernel</strong> project was also amazingly active for the past few weeks.</p>

<ul>
<li>Daniel Vetter has updated his <strong>drm-intel-next</strong> tree, with a nice set of changes. Most notable of those is the support for <strong>PPGTT</strong> &#8211; which stands for Per-process Graphics Translation Table. In other words, this means that each process is able to map his own region of the GPU memory, and should not interfere with all the other ones using the GPU at the same time. This results in better performance (due to the reduced need to re-mapping addresses, and due to the fact that PPGTT entities are GPU-cacheable) and, of course, much enhanced stability.</li>
<li>This new round of patches also includes a much improved <strong>interlaced</strong> modes support. These patches represent a very nice thing in our open-source community &#8211; they started with a simple request on the mailing list, which then transformed into a bugzilla entry, and after weeks of Daniel, Paulo, and many other developers working on those fixes, resulted in a amazing series of patches which greatly enhances the support for interlaced modes in Intel GPUs. This is how Open-Source community works &#8211; and this is awesome!</li>
<li>Swizzling support for Sandy and Ivy Bridge architectures, which can also improve the performance for many use cases.</li>
<li>Lots of bugfixes and improved debugging support.</li>
</ul>

<p>Besides those patches, the notable patch-sets of the past weeks were:</p>

<ul>
<li>Ben Widawsky&#8217;s <strong>logical context switching</strong> patches. On a high-level overview of this feature, we can describe is at a feature which adds support for having a per-context set of GPU items the processes have access to. So it adds the possibility of having a different context id for each set of operations. This way, what processes in one context_id do should not affect the processes in another set. For <strong>GL_ARB_Robustness</strong> OpenGL extension, for example, it could prevent one WebGL applications from taking down all the other users of the GPU for example; and for <strong>GL_EXT_Transform_feedback</strong> it would allow each process to have a way to store its own feedback data for different stages of the pipeline &#8211; such as vertex shaders, geometry shaders, and so on.</li>
<li>I have sent some patches for <strong>RC6</strong> feature debugging, and apparently they have solved all the remaining problems with <strong>RC6</strong> support on <strong>Sandy Bridge</strong>. So hopefully, one year after the platform launch, its remaining ghosts are finally being put to rest.</li>
</ul>

<p>On other projects, the most notable news I managed to catch in the past weeks were some <strong>xrandr</strong> patches from Bryce Harrington from Canonical, some <strong>DRI2</strong> enhancement patches from Mario Kleiner and input and synaptics patches from Chase Douglas on the X.org development project.</p>

<p>And finally, on <strong>Wayland</strong>, lots of development activity has been going on as well &#8211; most notable patches were from <strong>Ander</strong> about drag and drop icons, and patches from Juan Zhao which added support for window maximization to the core protocol.</p>
]]></content:encoded>
			<wfw:commentRss>http://dodonov.net/blog/2012/02/16/another-round-of-updates-coming-your-way/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Time for some news</title>
		<link>http://dodonov.net/blog/2012/02/09/time-for-some-news-2/</link>
		<comments>http://dodonov.net/blog/2012/02/09/time-for-some-news-2/#comments</comments>
		<pubDate>Thu, 09 Feb 2012 20:06:58 +0000</pubDate>
		<dc:creator>eugeni</dc:creator>
				<category><![CDATA[devel]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mesa]]></category>
		<category><![CDATA[x.org]]></category>

		<guid isPermaLink="false">http://dodonov.net/blog/?p=1258</guid>
		<description><![CDATA[Time flies by quickly, and another couple of weeks has past. So time for your regular news from the Intel Linux Graphics land! Starting with the hot topic of the past years, Wayland 0.85 has just been released! This release marks the first milestone in the road to a stable 1.0 Wayland and Weston release. <a href='http://dodonov.net/blog/2012/02/09/time-for-some-news-2/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Time flies by quickly, and another couple of weeks has past. So time for your regular news from the Intel Linux Graphics land!</p>

<p>Starting with the hot topic of the past years, <a href="http://lists.freedesktop.org/archives/wayland-devel/2012-February/002072.html" onclick="urchinTracker('/outgoing/lists.freedesktop.org/archives/wayland-devel/2012-February/002072.html?referer=');">Wayland 0.85</a> has just been released! This release marks the first milestone in the road to a stable 1.0 <strong>Wayland</strong> and <strong>Weston</strong> release. After it, we&#8217;ll have a <strong>0.90</strong> release, which would be the one to mark API freeze and will begin the preparation to the final <strong>1.0</strong> release. Of course, additional releases could happen meanwhile. Wayland has evolved a lot for the past years, so make sure to check it out.</p>

<p>Besides <strong>Wayland</strong>, lots of activities have been going on with all the projects.</p>

<p>On <strong>kernel</strong> side, <strong>Daniel Vetter</strong> has sent out his new <strong>drm-intel-next</strong> tree, which features lots of fixes from Ben, Eric and Chris, improvements to swizzling handling, fence accounting improvements, <strong>VTd</strong> workarounds for Ironlake, simplified debugfs handling code and an improved <strong>i915_error_state</strong> logging.</p>

<p>Besides those improvements, lots of attention was directed towards interlaced modes support on Intel GPUs, which resulted in a large series of patches from <strong>Paulo Zanoni</strong> and <strong>Daniel Vetter</strong> that should improve support for interlaced and non-interlaced modes and made them, well, work correctly <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . If you have been experiencing any sort of problems with such modes, please, try the patches and verify if they solve the issues. Chances are that they will, but if they won&#8217;t, please, let us know!</p>

<p>Among other interesting patches in kernel for the past few weeks, <strong>Ivy Bridge</strong> hard-hang fixes are among the most notable ones. Those patches toggle a couple of work-arounds for issues which randomly affected some of the Ivy Bridge machines &#8211; and resulted in complete system hangs. Due to their random nature, and specially due to the fact that they mostly affected low-resolution modes (chances to hang your machine in a <strong>320&#215;240</strong> resolutions were noticeable much higher than in any other resolution), we had hard time to track them previously. In fact, we only managed to reproduce them consistently in the last week &#8211; and luckily we were able to come with patches which apparently fixed most of the problems. The patches will probably be included into <strong>3.3</strong> kernel via the <strong>drm-intel-fixes</strong> branch, and if they won&#8217;t cause any other issues we&#8217;ll backport them to <strong>3.2</strong> kernel as well.</p>

<p>Another interesting patch is the one which applies the <strong>missed IRQ</strong> fix (a.k.a., the <strong>voodoo</strong> patch <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ) to Sandy Bridge platform as well. So far, we had a couple of reports which mentioned that a very similar issue to the one which was fixed on Ivy Bridge last month was happening on Sandy Bridge as well. If you are suffering from this issue, please, give it a try and let us know if it solved the issue to you or transformed it into anything else (like a GPU hang which happened on one of the machines instead of missed IRQ. Those results would be even more interesting, as they could tell us what we are missing and how to fix the problem for good).</p>

<p>Additionally, lots of development was targeted on improving the <strong>semaphores</strong> issues detection and avoidance, and for better debugging support in the <strong>i915_error_state</strong> log. Usually, this log is all that remains of a GPU hang &#8211; so the more information we can get from there, the better.</p>

<p>And finally, aiming at finally discovering what root-causes all the <strong>rc6</strong> issues out there, I sent out a <a href="http://lists.freedesktop.org/archives/intel-gfx/2012-February/015004.html" onclick="urchinTracker('/outgoing/lists.freedesktop.org/archives/intel-gfx/2012-February/015004.html?referer=');">patch</a> which allows to hopefully isolate the issue. Leann Ogasawara from Canonical was also kind enough to pre-build <strong>Ubuntu</strong> kernels with this patch &#8211; so if you are affected by a <strong>RC6</strong> issue, and are running Ubuntu &#8211; please, <a href="http://people.canonical.com/~ogasawara/eugeni/rc6/" onclick="urchinTracker('/outgoing/people.canonical.com/_ogasawara/eugeni/rc6/?referer=');">give them a try!</a>!</p>

<p>On <strong>Mesa</strong> side, things are moving very quickly towards the <strong>Mesa 8.0</strong> release. The <strong>8.0-RC2</strong> version was already released, and final <strong>8.0</strong> version is expected to happen in a very near future. Who knows, perhaps by the time you&#8217;ll be reading this line, it will already be among us <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Mesa <strong>8.0</strong> release looks very exciting so far &#8211; besides the GL 3.0 extensions and GLSL 1.30 support, it also brings amazing performance and stability improvements. Hopefully you&#8217;ll be able to see it with your own eyes when the next stable release will be out &#8211; or, if you don&#8217;t want to wait that long, or want to use your very last chance to report any major show-stopper bugs in the <strong>8.0</strong> branch &#8211; now is the time.</p>

<p>On the <strong>xf86-video-intel</strong> side, as usual, hundreds of patches were committed by Chris Wilson, mostly targeting the <strong>SNA</strong> backend, and also the <strong>Glamor</strong> integration. Since the beginning of the year, git log already shows <strong>380</strong> new patches. Out of those, <strong>368</strong> are SNA-specific for now. Phoronix has run yet another round of SNA testing in the past weeks with some <a href="http://www.phoronix.com/scan.php?page=article&amp;item=intel_sna_2012&amp;num=1" onclick="urchinTracker('/outgoing/www.phoronix.com/scan.php?page=article_amp_item=intel_sna_2012_amp_num=1&amp;referer=');">interesting results</a>. Things are getting very interested with this backend.</p>

<p>And finally, moving to the <strong>intel-gpu-tools</strong> project, two new tools were proposed in the past few days &#8211; one for testing different panel fitter settings (<strong>intel_panel_fitter</strong>, from Paulo Zanoni); and another to demonstrate the sprite features, available for SNB/IVB platform, which uses 3 new IOCTLs included in the latest <strong>drm</strong> subsystem: GETPLANERESOURCES, GETPLANE, and SETPLANE. Planes and sprites support are ones of the latest additions to the core <strong>drm</strong> subsystem, and in my opinion they certainly are among the most interesting items there. I believe that more and more applications will be using them at some point (like the 1st one mentioned in this post &#8211; yes, the one which starts with &#8216;<strong>W</strong>&#8216;), which is great.</p>
]]></content:encoded>
			<wfw:commentRss>http://dodonov.net/blog/2012/02/09/time-for-some-news-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Updates from the Intel Linux Graphics land</title>
		<link>http://dodonov.net/blog/2012/01/29/updates-from-the-intel-linux-graphics-land/</link>
		<comments>http://dodonov.net/blog/2012/01/29/updates-from-the-intel-linux-graphics-land/#comments</comments>
		<pubDate>Sun, 29 Jan 2012 15:11:34 +0000</pubDate>
		<dc:creator>eugeni</dc:creator>
				<category><![CDATA[devel]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[mesa]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[x.org]]></category>

		<guid isPermaLink="false">http://dodonov.net/blog/?p=1252</guid>
		<description><![CDATA[The real life and work issues had eaten most of my time for the past 2 weeks, but things seem to be geting back to normal now. So time for semi-regular updates from the Intel Linux Graphics land. Starting with kernel, many notable changes happened in the past weeks. To make our -next merge window <a href='http://dodonov.net/blog/2012/01/29/updates-from-the-intel-linux-graphics-land/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>The real life and work issues had eaten most of my time for the past 2 weeks, but things seem to be geting back to normal now. So time for semi-regular updates from the Intel Linux Graphics land.</p>

<p>Starting with <strong>kernel</strong>, many notable changes happened in the past weeks. To make our -next merge window process go faster, a new process was adopted for the kernel patch and branch handling process. Let me elaborate a bit more about how this is going to work.</p>

<p>For the past months, we had the <strong>drm-intel-next</strong> branch (containing patches intended to go into the next merge window &#8211; e.g., when the <strong>3.3</strong> kernel is being developed, this is the branch which contains patches intended to be included in the <strong>3.4</strong> kernel version), and also <strong>drm-intel-fixes</strong> branch (containing patches for the currently developed kernel &#8211; e.g., patches which fix issues which were added during the past merge window. So for instance, those are the patches which go into <strong>3.3-rcN</strong> kernel versions after the merge window). Both of those patches were maintained by <strong>Keith Packard</strong>.</p>

<p>However, the amount of patches combined with other tasks resulted in a somewhat slower patch queuing process. So <strong>Daniel Vetter</strong> has volunteered himself to maintain the <strong>drm-intel-next</strong> branch from now on, reviewing, queuing and managing the patches intended to get into the next kernel merge window (for now, those are targeting the <strong>3.4</strong> kernel version).</p>

<p>At the same time, <strong>Keith Packard</strong> will continue to maintain the <strong>drm-intel-fixes</strong> branch, managing and carrying stability patches for the current kernel.</p>

<p>And finally, to improve the testing and availability of newer features for older kernel versions, I&#8217;ve started my own <strong>drm-intel-backports</strong> set of branches, for <strong>3.0</strong>, <strong>3.1</strong> and <strong>3.2</strong> kernel versions &#8211; containing all the latest and greatest patches from the latest kernel releases. Of course, those patches do not follow the usual kernel stable development model, so they introduce new features, capabilities and possible issues. But for the brave souls out there willing to see and test the absolutely latest development in our drivers on top of their kernels, it should be a great chance to do so.</p>

<p>(I assume that I was not that fast with the <strong>drm-intel-backports</strong> patch merging process in the past 2 weeks, so for now it only contains patches from the <strong>3.2</strong> kernel branch. I intend to backport the <strong>3.3</strong> and <strong>3.4-next</strong> patches for all those versions in the coming days. Also, apparently those backported patches do not work correctly with pre-Ironlake chipsets on 3.0 kernel, and there are some display-related issues on top of <strong>3.1</strong> one &#8211; I&#8217;ll look into it as well. Sorry for the delay &#8211; but the real life interfered with my patching capability for the past weeks&#8230;)</p>

<p>Besides those changes, we had a large number of notable kernel advances in the past weeks:</p>

<ul>
<li>One of the most interesting features is the support for <strong>interlaced</strong> modes in the Intel Linux Graphics cards. A great work by Peter Ross, Daniel Vetter and Paulo Zanoni resulted in a series of patches which provided support for interlaced modes. These patches will be queued for inclusion in the <strong>3.4</strong> kernel &#8211; but when I&#8217;ll get back to my <strong>-backports</strong> series of patches, I&#8217;ll certainly include them into the <strong>3.[012]</strong> series as well.</li>
<li>More <strong>Ivy bridge 3-display pipes</strong> issues were fixed, such as the hibernation problem with 3rd pipe being active.</li>
<li>Stabilizing the almost-ready-to-launch <strong>Ivy bridge</strong> platform, the hopefully final forcewake-related fixes were included in both <strong>drm-intel-next</strong> and <strong>drm-intel-fixes</strong> branches, and were also cherry-picked by Greg to be included in the stable <strong>3.2</strong> kernel as well. This should solve the remaining missing interrupts problems we were experiencing.</li>
<li>Initial patches to support the hardware context switching were sent by <strong>Ben Widawsky</strong>, and are accessible <a href="http://cgit.freedesktop.org/~bwidawsk/drm-intel/?h=context-support" onclick="urchinTracker('/outgoing/cgit.freedesktop.org/_bwidawsk/drm-intel/?h=context-support&amp;referer=');">in his own freedesktop.org repository for testing</a>. Hardware-supported context switching allows to save the hardware registers and state for each process, so it could essentially help the GL_EXT_transform_feedback extension and advanced geometry shading state passing between different stages. And, of course, it can also improve the stability &#8211; hardware would ensure that different processes would not interfere with each other in a harmful way.</li>
<li>And almost a hundred pending patches were picked by Daniel Vetter for his new <strong>drm-intel-next</strong> branch. The next merge window certainly looks interesting for the Intel Linux Graphics support in this sense&#8230;</li>
</ul>

<p>On <strong>Mesa</strong> side, the <strong>8.0</strong> release is getting really close. After the <strong>8.0-rc1</strong> release a couple of weeks ago, lots of patches were picked into the <strong>8.0</strong> branch, improving the stability, performance, and fixing many rendering issues &#8211; especially on the Ivy Bridge platform. More excitingly, the communication between Mesa and Unigine developers resulted in better support for open-source drivers in the just released <strong>Oil Rush</strong> game. It is really great to see such cooperation &#8211; and Unigine-based game certainly is one of the most advanced graphical releases of past years on Linux.</p>

<p>Speaking about the Mesa development, this final stabilization phase prior to the <strong>8.0</strong> release is a great chance for you to report issues, bugs and problems before the release which is expected in a few days from now. So if you observe any last-minute problems and regressions with <strong>Mesa 8.0</strong> branch &#8211; please, let us know! This next release looks really impressive from the technical side, but your help in additional testing is more than welcome.</p>

<p>On <strong>Wayland</strong> side, lots of different patches and features were received in the past weeks. Wayland and Weston development goes on with great pace &#8211; and the ones of you to attend <strong>FOSDEM</strong> next week will have some really interesting stuff to gaze upon. But I won&#8217;t spoil the surprise <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>

<p>On <strong>Xserver</strong> development, the <strong>1.12 RC2</strong> and <strong>1.11.4</strong> releases were unleashed last week, together with a new <strong>glproto</strong>, <strong>util-macros</strong> and <strong>xkeyboard-config</strong> versions. The development continues non-stop, with hundreds of patches and discussions happening in the mailing lists.</p>

<p>And finally, the <strong>phoronix</strong> feedback I got from you over the past weeks <a href="http://www.phoronix.com/scan.php?page=news_item&amp;px=MTA0MjI" onclick="urchinTracker('/outgoing/www.phoronix.com/scan.php?page=news_item_amp_px=MTA0MjI&amp;referer=');">was amazing</a>. Thank you all for all your questions and suggestions &#8211; it was really nice to hear what you have in mind, what you like (and dislike) in our drivers and what direction we should be heading. I&#8217;ll try to answer the last remaining questions in the next few day, and will summarize everything on a dedicated blog post.</p>
]]></content:encoded>
			<wfw:commentRss>http://dodonov.net/blog/2012/01/29/updates-from-the-intel-linux-graphics-land/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Phoronix survey about Intel Linux Graphics</title>
		<link>http://dodonov.net/blog/2012/01/14/phoronix-survey-about-intel-linux-graphics/</link>
		<comments>http://dodonov.net/blog/2012/01/14/phoronix-survey-about-intel-linux-graphics/#comments</comments>
		<pubDate>Sat, 14 Jan 2012 22:28:08 +0000</pubDate>
		<dc:creator>eugeni</dc:creator>
				<category><![CDATA[devel]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[intel]]></category>

		<guid isPermaLink="false">http://dodonov.net/blog/?p=1248</guid>
		<description><![CDATA[For the ones of you who haven&#8217;t read Phoronix lately &#8211; Michael is running a survey about Intel Linux Graphics drivers for the past few days. So far it got 10 pages of amazingly interesting comments (which I was trying to answer as time and my fingertips permitted). 95 comments as of now to be <a href='http://dodonov.net/blog/2012/01/14/phoronix-survey-about-intel-linux-graphics/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>For the ones of you who haven&#8217;t read Phoronix lately &#8211; Michael is running a <a href="http://www.phoronix.com/scan.php?page=news_item&amp;px=MTA0MjI" onclick="urchinTracker('/outgoing/www.phoronix.com/scan.php?page=news_item_amp_px=MTA0MjI&amp;referer=');">survey about Intel Linux Graphics drivers</a> for the past few days.</p>

<p>So far it got 10 pages of amazingly interesting comments (which I was trying to answer as time and my fingertips permitted). 95 comments as of now to be fair (sorry, 96 already &#8211; my bad <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ). Make sure to check it out.</p>

<p>In the end, I&#8217;ll try to summarize all my replies in the thread here. But it will be a long read by the looks of it.</p>
]]></content:encoded>
			<wfw:commentRss>http://dodonov.net/blog/2012/01/14/phoronix-survey-about-intel-linux-graphics/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Bleeding edge i915 for stable kernels</title>
		<link>http://dodonov.net/blog/2012/01/11/bleeding-edge-i915-for-stable-kernels/</link>
		<comments>http://dodonov.net/blog/2012/01/11/bleeding-edge-i915-for-stable-kernels/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 19:57:23 +0000</pubDate>
		<dc:creator>eugeni</dc:creator>
				<category><![CDATA[devel]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://dodonov.net/blog/?p=1238</guid>
		<description><![CDATA[One of the most frequent complains questions related to the Intel Linux Graphics drivers I&#8217;ve received in the past few months was: &#8220;Why Intel devs work only on the most bleeding edge, and do not give enough attention the us stable users&#8221;? Yes, this question affects all the components of the stack &#8211; kernel, mesa, <a href='http://dodonov.net/blog/2012/01/11/bleeding-edge-i915-for-stable-kernels/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>One of the most frequent <strike>complains</strike> questions related to the Intel Linux Graphics drivers I&#8217;ve received in the past few months was: &#8220;Why Intel devs work only on the most bleeding edge, and do not give enough attention the us stable users&#8221;?</p>

<p>Yes, this question affects all the components of the stack &#8211; kernel, mesa, libdrm, 2D driver, and so on, but the answer to this is quite simple &#8211; this is how software gets developed. New features go into new releases, and stable releases receive bugfixes and stability improvements at most. And this is not much of an issue to the userspace components anyway &#8211; with all the <strong>LD_LIBRARY_PATH</strong> flexibility it is possible to have multiple versions of the libraries installed without any issue. But as for the kernel, indeed, it is not that easy. So most of the times, those questions were directed at the kernel part of our driver &#8211; namely, the tiny <strong>i915.ko</strong> module which is responsible for making the graphical heart of Intel-based GPU beat.</p>

<p>Even for the kernel, this is not exactly true &#8211; Greg&#8217;s stable trees do include most of the critical fixes for our drivers since always. But it is true to some point &#8211; most of the newest development and patching happens within the usual Linux development window &#8211; and those patches and features are then merged to the release candidates of a future kernel during the merge window. And for the kernel, it is not that easy to have multiple kernels around at the same time without having to reboot between them here and again.</p>

<p>So therefore, I thought on giving a small gift to the users who are not still ready to jump into the latest and greatest kernels releases &#8211; but still want to enjoy the goodies brought with the latest versions of the graphics driver. So I prepared two kernel branches on my freedesktop.org kernel repository:</p>

<ul>
<li><a href="http://cgit.freedesktop.org/~eugeni/kernel/log/?h=3.1-drm-intel-backports" onclick="urchinTracker('/outgoing/cgit.freedesktop.org/_eugeni/kernel/log/?h=3.1-drm-intel-backports&amp;referer=');">3.0-drm-intel-backports</a> &#8212; latest 3.0.x kernel with all the <strong>i915</strong> patches from latest kernel release. Right now, it is <strong>3.0.16</strong> + <strong>195</strong> backported patches. Diffstat reports <strong>78 files changed, 4988 insertions(+), 2176 deletions(-)</strong>.</li>
<li><a href="http://cgit.freedesktop.org/~eugeni/kernel/log/?h=3.1-drm-intel-backports" onclick="urchinTracker('/outgoing/cgit.freedesktop.org/_eugeni/kernel/log/?h=3.1-drm-intel-backports&amp;referer=');">3.1-drm-intel-backports</a> &#8212; latest 3.1.x kernel with all the <strong>i915</strong> patches from latest kernel release. Right now, it is <strong>3.1.8</strong> + <strong>104</strong> backported patches. Diffstat reports <strong>74 files changed, 3147 insertions(+), 1589 deletions(-)</strong>.</li>
</ul>

<p>Besides driver backports, the patches which affect multiple drivers (like, <strong>i915</strong>, <strong>nouveau</strong> and <strong>r128</strong>) were also backported in full in those branches. And all the required build and API dependencies (like <strong>HDMI/DP ELD</strong> or <strong>drm/gem</strong> API changes) are also included in full.</p>

<p>I&#8217;ll try to keep those branches maintained on a semi-periodic basis and synchronized with the latest updates both from <strong>-stable</strong> branches, and from newest kernel releases.</p>

<p>Of course, let me put an obligatory support and stability statement:</p>

<p><strong>Those branches are not supported officially, are experimental and can be unstable or even broken sometimes (in which case, if you&#8217;d be kind enough to let me know about that, I&#8217;d try to fix them ASAP). So use them at your own risk.</strong></p>

<p>Other than that, have fun <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
]]></content:encoded>
			<wfw:commentRss>http://dodonov.net/blog/2012/01/11/bleeding-edge-i915-for-stable-kernels/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>New year, new stuff</title>
		<link>http://dodonov.net/blog/2012/01/06/new-year-new-stuff/</link>
		<comments>http://dodonov.net/blog/2012/01/06/new-year-new-stuff/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 16:21:46 +0000</pubDate>
		<dc:creator>eugeni</dc:creator>
				<category><![CDATA[devel]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mesa]]></category>

		<guid isPermaLink="false">http://dodonov.net/blog/?p=1233</guid>
		<description><![CDATA[So, holidays came to an end, and it is time to get started with the 2012 series of &#8220;tales from the Intel Linux Graphics land&#8221;. But as the year has just started, it is still time to cover some amazing gifts which Santa ClausDaniel Vetter brought to you all right in time for Christmas. Yes, <a href='http://dodonov.net/blog/2012/01/06/new-year-new-stuff/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>So, holidays came to an end, and it is time to get started with the 2012 series of &#8220;tales from the Intel Linux Graphics land&#8221;.</p>

<p>But as the year has just started, it is still time to cover some amazing gifts which <stroke>Santa Claus</stroke>Daniel Vetter brought to you all right in time for Christmas. Yes, I am talking about the new <strong>intel-gpu-tools 1.1</strong> release!</p>

<p>This new release comes after 2 years from the <strong>1.0.2</strong> release (which came out back in 2009), and accumulates an astonishing amount of changes:</p>

<ul>
<li><strong>Diffstat</strong> reports that <strong>138</strong> files were changed, having <strong>29694</strong> insertions and <strong>3524</strong> deletions.</li>
<li>Lots of new instructions and registers decoding logic was added in <strong>intel_error_decode</strong> and <strong>intel_reg_dumper</strong> tools</li>
<li>Many changes in <strong>intel_gpu_top</strong>, which can now run non-interactively for monitoring GPU usage statistics</li>
<li>Different display and mode setting tests</li>
<li>And, probably the most interesting feature out there, the introduction of a full-feature test suite for Intel and DRM testing.</li>
</ul>

<p>Let me stop a bit on this latest feature, and explain it in a more detailed form. Starting with the 1.1 version of <strong>intel-gpu-toops</strong>, the package provides a complete testing suite for most of the known issues and problems that have been caught in our graphics drivers for Linux for the past years. So when you run <strong>make test</strong> (as root) in the intel-gpu-tools directory, this will start a long pile of test cases, testing most parts of the GPU.</p>

<p>Ideally, all tests should pass &#8211; this means that your current kernel and userspace libraries are not affected by any known kernel (or userspace) issue. Some tests can fail &#8211; usually this comes with an explanation of why it fails (either on the test output or in <strong>dmesg</strong>). And some tests can fail in a very evil way, hanging the GPU or the entire machine. A specific category of tests (<strong>HANG</strong> tests), which are not run by default, are designed to test specific corner cases which should make your machine hang for good; and some tests are written specifically to caught performance regressions and hick-ups.</p>

<p>Still wonder why is this interesting? Well, I can think on one obvious huge bonuses we get from this test suite &#8211; if you are experiencing an issue, you can run the <strong>make test</strong> suite, and verify if it is a new genuine bug, or something that was already caught by a test case. And obviously, this is an easy way to find and track regressions on the kernel and drm level.</p>

<p>So, to sum it all up &#8211; if you want to give a quick try and check if your kernel/userspace/distribution configuration is affected by any known issue in the driver, just run the testsuite. If it passes, you are good to go. If it does not passes, well, you already know that something is not right and needs investigation.</p>

<p>Besides <strong>intel-gpu-tools</strong>, Mesa work continues towards the remaining <strong>GL 3.0</strong> features. During last few days of 2011, <strong>Eric Anholt</strong> sent some patches for adding hardware support to <strong>GL_EXT_transform_feedback</strong> bits present on the Ivy Bridge architecture. Besides those changes, hundreds of patches and discussions take place on the mesa-dev mailing list &#8211; the most user-notable change comes from the fact that <strong>XCB</strong> is now mandatory. I guess we have a clear winner in the <strong>XCB</strong> vs <strong>XLIB</strong> match in 2012..</p>

<p>On <strong>Kernel</strong> side, with the release of 3.2 version of the kernel, next merge windows has opened and already received some patches for <strong>3.3</strong> kernel series. Besides the usual fixes and new features which I already covered in previous posts, several alternatives were proposed by <strong>Chris Wilson</strong> and <strong>Eric Anholt</strong> to solve the mysterious <strong>missed IRQ</strong> issue which affects Ivy Bridge (and some Sandy Bridge) machines. The winner in this competition, however, was <strong>Daniel Vetter</strong>, who came with a simple patch that not only had solved the issues in a nice way, but also allowed us to remove several work-arounds which were added in the past. So far, all my Ivy Bridge machines are up and running for some days without any problems &#8211; which is totally awesome!</p>

<p>Moving to other projects, notable changes which were introduced in the past weeks were the move of <strong>intel_decode</strong> facility for decoding GPU batch buffers from <strong>intel-gpu-tools</strong> to <strong>libdrm</strong> library by <strong>Eric Anholt</strong>; patches from <strong>Paulo Zanoni</strong> to support new screen rotation feature of VPro; additional patches for improved <strong>Glamor</strong> performance from <strong>Zhigang Gong</strong>; support for building <strong>libdrm</strong> on <strong>Android</strong> from <strong>Chad Versace</strong>; Kristian Høgsberg created a new W-prefixed project for Wayland (namely, <strong>Weston</strong>, which is a different town in Massachusetts state. I actually got to get through it once when I was in the US back in 2005, working on a remote boot and software streaming project for mstech, which was further acquired by Ardence, which was further acquired in Citrix.. fun to see how the world goes in circles <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ).</p>

<p>So I think that&#8217;s it for now. For the ones who are still in the new year holidays, enjoy the rest of your holidays; and for the ones who are already back into to the real life &#8211; welcome to 2012! <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://dodonov.net/blog/2012/01/06/new-year-new-stuff/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Happy 2012 to you all</title>
		<link>http://dodonov.net/blog/2011/12/31/happy-2012-to-you-all-4/</link>
		<comments>http://dodonov.net/blog/2011/12/31/happy-2012-to-you-all-4/#comments</comments>
		<pubDate>Sun, 01 Jan 2012 00:26:17 +0000</pubDate>
		<dc:creator>eugeni</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[mandriva]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[review]]></category>

		<guid isPermaLink="false">http://dodonov.net/blog/?p=1228</guid>
		<description><![CDATA[Yeah, 2011 is coming to the end, and had already switched place with 2012 in most countries already. For me, 2011 was extremely busy, exhausting but also very fruitful. I started it in a completely different situation from 2010, when I was a mere developer in Mandriva company. And during the course of 2010 and, <a href='http://dodonov.net/blog/2011/12/31/happy-2012-to-you-all-4/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Yeah, 2011 is coming to the end, and had already switched place with 2012 in most countries already.</p>

<div class="wp-caption alignnone" style="width: 510px"><img title="13253762543831.jpg" class="alignnone" alt="image" src="http://dodonov.net/blog/wp-content/uploads/2011/12/wpid-13253762543831.jpg" /><p class="wp-caption-text">Somewhere on the road to curitiba, starting 2011....</p></div>

<p>For me, 2011 was extremely busy, exhausting but also very fruitful. I started it in a completely different situation from 2010, when I was a mere developer in Mandriva company. And during the course of 2010 and, later, 2011, I got the chance to work as engineering team leader for Conectiva, then development manager and, finally, technical diretor for Mandriva. And, after this experience, I got to move into Intel, working with even more challenging and amazing projects.</p>

<p>So yes, it was a hugely crazy and great experience. Thank you 2011 &#8211; despite all the problems and obstacles, you was great after all if we sum up everything.</p>

<p>See you all in 2012!</p>
]]></content:encoded>
			<wfw:commentRss>http://dodonov.net/blog/2011/12/31/happy-2012-to-you-all-4/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Holidays news from Intel Linux Graphics land</title>
		<link>http://dodonov.net/blog/2011/12/20/holidays-news-from-intel-linux-graphics-land/</link>
		<comments>http://dodonov.net/blog/2011/12/20/holidays-news-from-intel-linux-graphics-land/#comments</comments>
		<pubDate>Tue, 20 Dec 2011 13:42:16 +0000</pubDate>
		<dc:creator>eugeni</dc:creator>
				<category><![CDATA[devel]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Linux-Planet]]></category>
		<category><![CDATA[mageia]]></category>
		<category><![CDATA[mandriva]]></category>
		<category><![CDATA[mesa]]></category>
		<category><![CDATA[x.org]]></category>

		<guid isPermaLink="false">http://dodonov.net/blog/?p=1202</guid>
		<description><![CDATA[Yeah, I admit that my semi-periodic updates about Intel Linux Graphics got more &#8220;seldom-periodic&#8221; than &#8220;truly-periodic&#8221; for the past weeks. But have no fear &#8211; they are back! And I am still on my self-appointed bi-weekly schedule estimate. This is what&#8217;s good about semi-periodic schedule &#8211; one never can run too much out of it <a href='http://dodonov.net/blog/2011/12/20/holidays-news-from-intel-linux-graphics-land/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Yeah, I admit that my semi-periodic updates about Intel Linux Graphics got more &#8220;seldom-periodic&#8221; than &#8220;truly-periodic&#8221; for the past weeks. But have no fear &#8211; they are back! And I am still on my self-appointed bi-weekly schedule estimate. This is what&#8217;s good about semi-periodic schedule &#8211; one never can run too much out of it <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>

<p>So starting with the coolest news &#8211; the <strong>Mesa</strong> team is getting close to the GL 3.0 milestone! Yeah, with latest <strong>GL_ext_transform_feedback</strong> patches from <strong>Paul Berry</strong>, the last major piece of GL 3.0 spec is getting into place. There are still some extensions missing and lots of smaller tasks to be done, but it is possible to say that <em>we are almost there</em>. I think that this is really exciting for both us, and for all the Linux and open-source users in the world &#8211; so yeah &#8211; we&#8217;ve been good boys and girls during the year and Santa Claus gift has materialized itself in form of almost-full GL 3.0 support in Mesa.</p>

<p>Who knows, maybe prior to the Chinese new year we&#8217;ll receive the 2nd part of this gift (in other words, <strong>mesa 8.0</strong> release <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ).</p>

<p>On <strong>kernel</strong> side, the <strong>3.2-rc6</strong> release brought lots of awesome changes to our drivers. Yes, I am talking about everyone&#8217;s favorite <strong>rc6</strong> and <strong>semaphores</strong> features. They are on by default on <strong>Ivy Bridge</strong> architecture, and are also enabled on <strong>Sandy Bridge</strong> if <strong>VTd</strong> is disabled. So most of you should enjoy greatly improved battery life, considerable faster performance and also enhanced stability within the <strong>i915</strong> driver when <strong>Linux 3.2</strong> will be released.</p>

<p>Besides those patches, work has started on collecting patches for the <strong>3.3</strong> merge window. <strong>Daniel Vetter</strong> sent his pending patches in a form of tiny <strong>43</strong>-patches series. Those patches bring <strong>PPGTT</strong> support, improve <strong>debugfs</strong> handling, enhance <strong>pread/pwrite</strong> performance, fix <strong>swizzling</strong> for SNB/IVB, improve <strong>forcewake</strong> operations and enhance debugging support for cases when GPU rings get stuck.</p>

<p><strong>Ben</strong> has also sent his patches for scheduling/throttling, but they haven&#8217;t received much interest except from myself and phoronix <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Those patches add support for more fine-grained GPU scheduling and rings load distribution between individual process. I am really interested in this work, and I hope that they will be accepted into the main kernel in the foreseeable future.</p>

<p>Also on kernel, <strong>Rodrigo Vivi</strong> and <strong>Paulo Zanoni</strong> sent out some patches which finally fix some corner cases for <strong>TV-out</strong> and <strong>SDVO</strong> outputs. This certainly should make many users happy out there just in time for Christmas.</p>

<p>And finally, for the kernel size, <strong>Chris Wilson</strong> came with a patch which works around the <strong>missed IRQs</strong> issues on Ivy Bridge platform. With this patch, and with semaphores being enabled on <strong>Ivy Bridge</strong> by default, I am very happy to say that we don&#8217;t have <strong>any</strong> blocking bugs for <strong>Ivy Bridge</strong> in our bugzilla. I think that it comes as a nice Christmas gift for all the users out there (the ones who already have an <strong>Ivy Bridge</strong> machine, and the ones who will get it by its launch &#8211; which is still 4 months away). Of course, I won&#8217;t talk much about it prior to its official launch, but trust me &#8211; <strong>Ivy Bridge rocks!</strong>. I can&#8217;t wait to have an Ultrabook based on this platform for myself&#8230;</p>

<p>Besides <strong>mesa</strong> and <strong>kernel</strong>, it is worth mentioning that on the <strong>2D</strong> side, <strong>Zhigang</strong> added full <strong>Glamor</strong> support into the driver. The Glamor acceleration is still considered very experimental and non-stable, but now it is available for the world to take a peek on it and witness how it works with their own eyes.</p>

<p>So I think that this is pretty much it. We have hundreds of patches floating around for all the projects, thousands of emails and millions of users in the world &#8211; and we are working hard to make all of them happy with the results of our work. 2011 was extremely productive and rewarding for us &#8211; and I hope that the year of <strong>11111011100</strong> (a.k.a., 0x7DC or 2012_base10 for the ones still reading in decimal numbers out there <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ) will be even more interesting*!</p>

<p>See you!</p>

<p>(*) Assuming the world won&#8217;t end in a core dump caused by the Mayan millennium counter overflow bug <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
]]></content:encoded>
			<wfw:commentRss>http://dodonov.net/blog/2011/12/20/holidays-news-from-intel-linux-graphics-land/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>New Intel graphics stack release</title>
		<link>http://dodonov.net/blog/2011/12/06/new-intel-graphics-stack-release/</link>
		<comments>http://dodonov.net/blog/2011/12/06/new-intel-graphics-stack-release/#comments</comments>
		<pubDate>Tue, 06 Dec 2011 12:16:26 +0000</pubDate>
		<dc:creator>eugeni</dc:creator>
				<category><![CDATA[devel]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Linux-Planet]]></category>

		<guid isPermaLink="false">http://dodonov.net/blog/?p=1195</guid>
		<description><![CDATA[As many of you have already seen, we have just released a new version of the Intel Linux Graphics stack, composed by Kernel 3.1 (or 3.1.x in practice), Mesa 7.11.2, Libdrm 2.4.27, vaapi and vaapi-driver-intel 1.0.15 and xf86-video-intel 2.17. The focus of this release was on performance and stability improvements in the drivers, and I <a href='http://dodonov.net/blog/2011/12/06/new-intel-graphics-stack-release/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>As many of you have already seen, we have just <a href="http://lists.freedesktop.org/archives/intel-gfx/2011-December/013795.html" onclick="urchinTracker('/outgoing/lists.freedesktop.org/archives/intel-gfx/2011-December/013795.html?referer=');">released</a> a new version of the <a href="http://intellinuxgraphics.org/2011Q4.html" onclick="urchinTracker('/outgoing/intellinuxgraphics.org/2011Q4.html?referer=');">Intel Linux Graphics stack</a>, composed by Kernel <strong>3.1</strong> (or <strong>3.1.x</strong> in practice), Mesa <strong>7.11.2</strong>, Libdrm <strong>2.4.27</strong>, vaapi and vaapi-driver-intel <strong>1.0.15</strong> and xf86-video-intel <strong>2.17</strong>.</p>

<p>The focus of this release was on performance and stability improvements in the drivers, and I think we managed to get the job done according to what we expected. Thanks to <strong>LLC</strong> caching and improvements in both Kernel and Mesa, 3D performance was improved by a large margin on Sandy Bridge generation of GPUs onwards, and many annoying issues were fixed as well (with some of the fixes already queued for Kernel 3.2 release). And I&#8217;d also like to highlight lots of work towards <strong>GLES</strong> compliance on Sandy Bridge architecture, and many and many different stability fixes in all the projects.</p>

<p>For statistical purposes, my saved bugzilla searches count <strong>253</strong> bug reports which were closed after the <a href="http://intellinuxgraphics.org/2011Q3.html" onclick="urchinTracker('/outgoing/intellinuxgraphics.org/2011Q3.html?referer=');">previous release</a>, and we had <strong>594</strong> bug tickets in total which had any activity since that release. Of course, this does not represents what was done by an accurate number, so please, just use those numbers as some sort of bugzilla pondering references.</p>

<p>So to sum it all up, I&#8217;d like to thank all the developers, QA, users, testers, and all the community we have around Intel Linux Graphics project for your amazing work. Yes, the Intel Linux Graphics project has not only a <a href="http://intellinuxgraphics.org/team.html" onclick="urchinTracker('/outgoing/intellinuxgraphics.org/team.html?referer=');">team</a> within Intel &#8211; but also a huge community and users all around the world, following the Open-Source road from Kernel up to the UI components. Thank you all guys!</p>

<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://dodonov.net/blog/2011/12/06/new-intel-graphics-stack-release/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>News from the fronts</title>
		<link>http://dodonov.net/blog/2011/12/01/news-from-the-fronts-2/</link>
		<comments>http://dodonov.net/blog/2011/12/01/news-from-the-fronts-2/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 19:36:48 +0000</pubDate>
		<dc:creator>eugeni</dc:creator>
				<category><![CDATA[devel]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Linux-Planet]]></category>
		<category><![CDATA[mageia]]></category>
		<category><![CDATA[mandriva]]></category>
		<category><![CDATA[mesa]]></category>
		<category><![CDATA[x.org]]></category>

		<guid isPermaLink="false">http://dodonov.net/blog/?p=1186</guid>
		<description><![CDATA[Development goes on, on all the fronts, and time has come for some news about Intel Linux Graphics project. For the Kernel side, some nice patch series have arrived to the list: Daniel Vetter sent his PPGTT enabling patches, which resulted in many interesting reviews and discussions. PPGTT, or Per-Process Graphics Translation Table, is a <a href='http://dodonov.net/blog/2011/12/01/news-from-the-fronts-2/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Development goes on, on all the fronts, and time has come for some news about Intel Linux Graphics project.</p>

<p>For the <strong>Kernel</strong> side, some nice patch series have arrived to the list:</p>

<ul>
<li><strong>Daniel Vetter</strong> sent his <strong>PPGTT</strong> enabling patches, which resulted in many interesting reviews and discussions. PPGTT, or Per-Process Graphics Translation Table, is a mechanism for remapping GPU memory into system one. Unlike traditional Graphics Translation Table, which has a global mapping for everything, PPGTT allows each process to have its own level of mapping. On practice, it should improve stability by a large margin and performance by a considerable value, and also is a nice thing to have in general, specially when hardware supports it natively (which it does, starting with Sandy Bridge). Also, if you are interested in learning the details of how GTT and GPU memory management works, you should check this <a href="http://lwn.net/Articles/257417/" onclick="urchinTracker('/outgoing/lwn.net/Articles/257417/?referer=');">excellent article from 2007</a> for a great introduction.</li>
<li><strong>Ben Widawsky</strong> has sent a new series of patches for forced GPU throttling and scheduling. I already described them in one of the previous posts, and I am really interested in seeing them accepted to the kernel.</li>
<li>I&#8217;ve sent out some patches for userspace-controled <strong>RC6</strong> enabling and tweaking, together with some patches for enabling <strong>semaphores</strong> and <strong>rc6</strong> by default on newer generations of gfx hardware. Those patches, together with Ben&#8217;s ones, also raised an interesting point &#8211; we have many userspace-controllable items in the <strong>debugfs</strong> file system, which should probably belong to <strong>sysfs</strong> instead. This would require a proper definition of their usage and behavior before real userspace applications would be able to use them.</li>
<li>And <strong>Wu Fengguang</strong> sent some patches for Display Port and HDMI fixes.</li>
</ul>

<p>Moving up the stack to the <strong>3D</strong> driver, some major news worth highlighting are:</p>

<ul>
<li>On <strong>Mesa</strong> side, the major news is <strong>Ian</strong> has released <strong>Mesa 7.11.2</strong> with some additional GLES and EGL patches, and a small patch which fixed Mesa build on <strong>Mandriva</strong> (and also on other distributions which use <strong>-Werror</strong> by default, such as Mageia for example).</li>
<li>Lots of work is happening in Mesa, targeting <strong>OpenGL 3.0</strong> support by the end of the year. <strong>GLSL 1.30</strong> is already among us, and most of GL 3.0-required extensions are in place, but there are many things to do. Hopefully they will be all done in the next few weeks.</li>
<li>Speaking on <strong>Mesa</strong>, some major news happened for the drivers using the <strong>Gallium</strong> technology. As you probably heard through Phoronix already, the <strong>i965g, Cell</strong> and <strong>Failover</strong> gallium-based drivers were dropped from Mesa due to lack of love, support and care. Sad &#8211; but this is life. And in any case, <strong>i915g</strong> driver is still there, and of course, those events do not affect Intel&#8217;s <strong>915</strong> and <strong>965</strong> Mesa drivers at all.</li>
<li>And also on <strong>Mesa</strong>, Ian has started the work on GLX_ARB_create_context and the layered GLX_ARB_create_context_profile extension, and came with a question whether it is still worthy to support non-XCB protocol, or if there are  any platforms that can&#8217;t / don&#8217;t use XCB for X protocol yet. The overall feedback so far was to drop non-XCB bits sooner than later. So looks like <strong>XCB</strong> has won the X protocol war in the end <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</li>
</ul>

<p>And finally, on the <strong>xserver</strong> side, discussions were raised on the mailing list on the release dates for the next <strong>xserver</strong> release, and the Xinput 2.2 state in it. It is almost there, and will probably get merged until Christmas. Also, Xorg-server 1.11.2.901 (a.k.a., <strong>1.11.3-RC2</strong>) was released.</p>
]]></content:encoded>
			<wfw:commentRss>http://dodonov.net/blog/2011/12/01/news-from-the-fronts-2/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Long time no news?</title>
		<link>http://dodonov.net/blog/2011/11/19/long-time-no-news/</link>
		<comments>http://dodonov.net/blog/2011/11/19/long-time-no-news/#comments</comments>
		<pubDate>Sat, 19 Nov 2011 10:35:54 +0000</pubDate>
		<dc:creator>eugeni</dc:creator>
				<category><![CDATA[devel]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Linux-Planet]]></category>
		<category><![CDATA[mandriva]]></category>
		<category><![CDATA[mesa]]></category>

		<guid isPermaLink="false">http://dodonov.net/blog/?p=1182</guid>
		<description><![CDATA[Well, not that long time, but still, I&#8217;ve been somewhat slower on news about Intel Linux Graphics this week, partly due to LinuxCon Brazil which happened here. Speaking about it, it was actually the first LinuxCon I attended (I also went to LinuxWorld Brazil in 2006, but that&#8217;s pretty much all the Linux-specific events I&#8217;ve <a href='http://dodonov.net/blog/2011/11/19/long-time-no-news/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Well, not that long time, but still, I&#8217;ve been somewhat slower on news about Intel Linux Graphics this week, partly due to LinuxCon Brazil which happened here.</p>

<p>Speaking about it, it was actually the first LinuxCon I attended (I also went to LinuxWorld Brazil in 2006, but that&#8217;s pretty much all the Linux-specific events I&#8217;ve been to). So it was really nice to talk to all the people I know from the Internet and put some faces behind the irc nicks and email handles. It was also really nice to meet and talk to Linus, Dirk Hohndel and Lennart Poettering in person, and meet old ex-conectiva people from all over the world.</p>

<p>It was also particularly nice to meet and talk to Christian Reis (a.k.a., Kiko), who is the VP of Engineering at Linaro now. He used to study with me at UFSCar university more than a decade ago and we met on a couple of events at São Carlos previously. He did a very interesting keynote about the state of ARM on Linux at the beginning of the conference, and we talked a lot about GFX drivers on Linux afterwards.</p>

<p>As for my presentation, I&#8217;d like to thank you all for attending and asking interesting and technical questions. We actually managed to have a mini real-time debugging session on some lvds issues at the end of the presentation <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>

<p>And of course, I managed to announce that Mesa 7.11.1 was going to be released about 5 minutes before Ian sent his email &#8211; it happened right during my presentation actually <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . And so.. I spoke of mesa, so yeah, let&#8217;s head back to the Intel Linux Graphics news now.</p>

<p>As you all know, <strong>Mesa 7.11.1</strong> was released this week. It comes with an absolutely amazing number of 200+ backported patches for performance and stability enhancements in pretty much all the components we have. It is not the last release of the 7.11 branch, so you should expect some more releases in the next couple of months. And perhaps some more even after <strong>Mesa 8.0</strong> will be released.</p>

<p>On Kernel side, lots of things happened this week. Linus has released <strong>Linux 3.2-rc2</strong> (and also blogged about it in his google+ page while fighting the amazingly fast brazilian 3g connection issues <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ). It comes with many patches and fixes, for both Intel and non-Intel gfx cards. There is still many patches to get into the 3.2 branch though.</p>

<p>Also, I sent out some patches for once again enabling <strong>RC6</strong> and <strong>Semaphores</strong> by default, but after a discussion on intel-gfx mailing lists I got some ideas on reworking them. And <strong>Keith Packard</strong> has also sent a rc6-enabling patch earlier today, which probably will fix all the <strong>RC6</strong> issues and allow it to enter the kernel. This is the 5th attempt on enabling it by default as far as I remember, so I hope it will get in this time.</p>

<p>On <strong>xf86-video-intel</strong>, Chris Wilson has released the <strong>2.17</strong> version of the 2D driver, which comes with a large number of fixes for the UXA acceleration. Besides UXA, it also comes with more than 300 patches for <strong>SNA</strong> &#8211; so if you are using it, you <strong>really</strong> should update. Trust me, you really want to do it <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>

<p>Still on Kernel, as many of you know, the latest Bios update to the Ivy Bridge bios somewhat broke suspend-resume for IVB machines out there. Keith Packard and Jesse Barnes had already sent <a href="http://lists.freedesktop.org/archives/intel-gfx/2011-November/013544.html" onclick="urchinTracker('/outgoing/lists.freedesktop.org/archives/intel-gfx/2011-November/013544.html?referer=');">some patches</a> to address that, so if you one of the lucky ones out there with an Ivy Bridge, and you do have this issue &#8211; <strong>please</strong>, test it and let us know if it works!</p>

<p>On <strong>Mesa</strong> side, besides the <strong>7.11.1</strong> release, lots and lots of work is going on to finish GL 3.0 support. Among around a thousand of mails and commits on the mesa-dev list, it is hard to highlight the most important ones, but I&#8217;d like to give attention to the <strong>Chad Versace</strong>&#8216;s patches which bring the <strong>HiZ</strong> support and enable it by default, and to <strong>Paul Berry</strong>&#8216;s work on <strong>GLSL 1.30</strong>.</p>

<p>But besides those, yes, there is a huge number of amazing changes on pretty much everything, with some interesting changes from Eric, Kenneth, Chad, Yuanhan and Ian. Mesa 8.0 ought to be an exciting release!</p>

<p>So that&#8217;s it for today. See you!</p>
]]></content:encoded>
			<wfw:commentRss>http://dodonov.net/blog/2011/11/19/long-time-no-news/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Intel Linux Graphics on LinuxCon Brazil</title>
		<link>http://dodonov.net/blog/2011/11/18/intel-linux-graphics-on-linuxcon-brazil/</link>
		<comments>http://dodonov.net/blog/2011/11/18/intel-linux-graphics-on-linuxcon-brazil/#comments</comments>
		<pubDate>Fri, 18 Nov 2011 15:55:00 +0000</pubDate>
		<dc:creator>eugeni</dc:creator>
				<category><![CDATA[devel]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Linux-Planet]]></category>
		<category><![CDATA[mandriva]]></category>
		<category><![CDATA[mesa]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[vaapi]]></category>
		<category><![CDATA[writing]]></category>
		<category><![CDATA[x.org]]></category>

		<guid isPermaLink="false">http://dodonov.net/blog/?p=1174</guid>
		<description><![CDATA[For those of you who couldn&#8217;t attend LinuxCon Brazil &#8211; I&#8217;ve put my presentation about Intel Linux Graphics online for you all. (of course, if you have attended and want to see it again, you can do this too ). Have fun! Intel Linux Graphics]]></description>
			<content:encoded><![CDATA[<p>For those of you who couldn&#8217;t attend LinuxCon Brazil &#8211; I&#8217;ve put my presentation about Intel Linux Graphics online for you all.</p>

<p>(of course, if you have attended and want to see it again, you can do this too <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ).</p>

<p>Have fun!</p>

<p><a title="View Intel Linux Graphics on Scribd" href="http://www.scribd.com/doc/73071712/Intel-Linux-Graphics" style="margin: 12px auto 6px auto; font-family: Helvetica,Arial,Sans-serif; font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; display: block; text-decoration: underline;" onclick="urchinTracker('/outgoing/www.scribd.com/doc/73071712/Intel-Linux-Graphics?referer=');">Intel Linux Graphics</a></p>

<iframe class="scribd_iframe_embed" src="http://www.scribd.com/embeds/73071712/content?start_page=1&#038;view_mode=slideshow&#038;access_key=key-22j19xafpw8tiilt36ls" data-auto-height="true" data-aspect-ratio="1.33333333333333" scrolling="no" id="doc_97783" width="100%" height="600" frameborder="0"></iframe>

<script type="text/javascript">(function() { var scribd = document.createElement("script"); scribd.type = "text/javascript"; scribd.async = true; scribd.src = "http://www.scribd.com/javascripts/embed_code/inject.js"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(scribd, s); })();</script>
]]></content:encoded>
			<wfw:commentRss>http://dodonov.net/blog/2011/11/18/intel-linux-graphics-on-linuxcon-brazil/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Friday news for the masses</title>
		<link>http://dodonov.net/blog/2011/11/11/friday-news-for-the-masses/</link>
		<comments>http://dodonov.net/blog/2011/11/11/friday-news-for-the-masses/#comments</comments>
		<pubDate>Fri, 11 Nov 2011 20:40:45 +0000</pubDate>
		<dc:creator>eugeni</dc:creator>
				<category><![CDATA[devel]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[mageia]]></category>
		<category><![CDATA[mandriva]]></category>
		<category><![CDATA[mesa]]></category>
		<category><![CDATA[x.org]]></category>

		<guid isPermaLink="false">http://dodonov.net/blog/?p=1168</guid>
		<description><![CDATA[Yeah, I know that it is Friday, and it is also 11/11/11 (though I still don&#8217;t know if the end of the world was expected on 11/11/11 at 11:11am or 11/11/11 at 11:11pm), but still, the development goes on and on. But as I said, heck, it is Friday, and we all have a nice <a href='http://dodonov.net/blog/2011/11/11/friday-news-for-the-masses/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Yeah, I know that it is Friday, and it is also 11/11/11 (though I still don&#8217;t know if the end of the world was expected on 11/11/11 at 11:11am or 11/11/11 at 11:11pm), but still, the development goes on and on.</p>

<p>But as I said, heck, it is Friday, and we all have a nice binary date on the calendar, so I&#8217;ll give you two additional reasons for celebration today:</p>

<ul>
<li><p>On Mesa, <strong>Eric Anholt</strong> and <strong>Ian Romanick</strong> exposed <strong>GLSL 1.30</strong> compatibility for Intel gen6+ cards. Yes, with the latest commit which added gl_VertexID support, everything required by GLSL spec should be supported now. Yet another milestone towards GL 3.0 was passed.</p></li>
<li><p>And on <strong>xf86-video-intel</strong>, patches which add the support for <strong>Glamor</strong> were sent by Zhigang. Yes, I am talking a lot about Glamor in the past days, as it certainly looks like a very interesting project. Now, with patches which split the device-independent library from the device-dependent part, its support towards upstreaming is getting closer and closer.</p></li>
</ul>

<p>Besides those items, as usual, we have had lots of development and news for all the projects. And next week, we&#8217;ll have <strong>LinuxCon</strong> in Brazil, where I&#8217;ll give a presentation about Intel Linux Graphics, what it is, how it works, and what are all those scary words like kernel, drm, ddx, vaapi and wayland. And, of course, we&#8217;ll have lots of amazing presentations on many Linux-related projects.</p>

<p>So if you&#8217;ll be there, I&#8217;ll be glad to answer your questions and talk about pretty much everything.</p>

<p>See you!</p>
]]></content:encoded>
			<wfw:commentRss>http://dodonov.net/blog/2011/11/11/friday-news-for-the-masses/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>And now, on your favorite Intel Linux Graphics news station&#8230;</title>
		<link>http://dodonov.net/blog/2011/11/08/and-now-on-your-favorite-intel-linux-graphics-news-station/</link>
		<comments>http://dodonov.net/blog/2011/11/08/and-now-on-your-favorite-intel-linux-graphics-news-station/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 22:08:04 +0000</pubDate>
		<dc:creator>eugeni</dc:creator>
				<category><![CDATA[devel]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Linux-Planet]]></category>
		<category><![CDATA[mageia]]></category>
		<category><![CDATA[mandriva]]></category>
		<category><![CDATA[mesa]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[x.org]]></category>

		<guid isPermaLink="false">http://dodonov.net/blog/?p=1161</guid>
		<description><![CDATA[After some period of silence, this blog returns in bringing you the latest and greatest news from the Intel Linux Graphics world. So if you were sad, depressed and crying in despair without having a chance of reading about what was going on with the Intel Graphics for the past days, rejoice! Those past few <a href='http://dodonov.net/blog/2011/11/08/and-now-on-your-favorite-intel-linux-graphics-news-station/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>After some period of silence, this blog returns in bringing you the latest and greatest news from the Intel Linux Graphics world.</p>

<p>So if you were sad, depressed and crying in despair without having a chance of reading about what was going on with the Intel Graphics for the past days, rejoice! <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>

<p>Those past few days were quite busy on all the projects, and with thousands of emails to keep track of it is hard to select the most relevant news &#8211; all of them are! But I&#8217;ll try to summarize the most interesting stuff that happened for the past few days.</p>

<p>Starting with kernel, as you all already know, we are living in the post-3.1 era now, with the release of <a href="https://plus.google.com/109995262342451767357/posts/jALV6z8SnC7" onclick="urchinTracker('/outgoing/plus.google.com/109995262342451767357/posts/jALV6z8SnC7?referer=');">Linux 3.2-rc1</a>. It brings lots and lots of fixes and improvements all around, and much more are yet to come.</p>

<p>On Intel Graphics side, the following items caught my attention for the past days:</p>

<ul>
<li>Keith Packard sent yet more <strong>eDP</strong>-related patches, allowing eDP displays connected to the PCH to, well, work <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . The main issue came from the fact that the driver incorrectly was treating a PCH-connected eDP panel like a CPU-connected one, setting the wrong bits in the wrong places.</li>
<li>Daniel Vetter has sent out a series of patches for <strong>simulating GPU hangs</strong>. As you all know, GPU hangs are an (unfortunate) part of a GPU driver life, and there are many factors which could cause them, ranging from incorrect GL instructions to out-of-bounds variables somewhere in the stream of commands and down to hardware failures. Prior to Daniel&#8217;s patches, the only way to see a GPU hang was by having a hung GPU, so most of them were not easy to reproduce and investigate. Now, it is possible to stop the GPU at will, and see the effects. This is particularly interesting at least for me, because I was working on some tools for doing <a href="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.drivers.intel/6408" onclick="urchinTracker('/outgoing/permalink.gmane.org/gmane.comp.freedesktop.xorg.drivers.intel/6408?referer=');">heuristics analysis</a> of the root-causes of GPU hangs. Now, I can do this task with much more ease.</li>
<li>Jesse Barnes sent out a new round of <strong>planes</strong> support, and support for SNB and IVB <strong>video sprites</strong>. The video sprites support different video formats natively and can do scaling as well, and their support was added to the DRM overlay code with this patchset.</li>
<li>Ken and Daniel did a bit of <strong>cleanup</strong> of code specific to some pre-production SNB systems. Now that Sandy Bridge is out there, those bits are not necessary anymore, so they were wiped out.</li>
<li>Daniel has sent a 13-patch series of <strong>pwrite/pread</strong> reworking. This patchset fixes some spurious -EFAULTS issues which could lead to kernel issues, improves the performance of pread/pwrite calls on LLC machines and cleanups unused code, replacing them with faster execution paths.</li>
<li>Also on kernel,  I&#8217;ve found an issue which can cause <strong>division-by-zero</strong> in kernel when accessing power-related registers from userspace, and sent a small patch fixing it. Apparently, the very same issue was already found back in July by <a href="http://lists.freedesktop.org/archives/intel-gfx/2011-July/011380.html" onclick="urchinTracker('/outgoing/lists.freedesktop.org/archives/intel-gfx/2011-July/011380.html?referer=');">Konstantin Belousov</a>. It is a small fix for a potential kernel crashing issue, and let&#8217;s hope it will be picked up in one of the next kernel pull requests.</li>
<li>And Jesse Barnes sent out some documentation and cleanup patches for the <strong>drm</strong> subsystem.</li>
<li>Still on kernel, but outside of our team&#8217;s area, one big news for Linux Graphics will certainly make some people out there happy. Yes, I am speaking about Alan Cox moving of basic <strong>GMA500</strong> driver out of staging. This driver support accelerated console and non-accelerated KMS on Poulsbo, Oaktrail, Cedarview and Medfield hardware. Note that medfield support in this initial patchset is left out on purpose, as it needs considerable rework to be ready to enter main kernel.</li>
</ul>

<p>One particular issue worth highlighting is that a <strong>long-standing issue</strong> on GL-based applications (among which Unigine Tropics and Sanctuary are probably the most notable examples, among many others) was finally fixed, thanks to an amazing work by Eric Anholt, Kenneth Graunke and Keith Packard. This issue can be described as &#8216;small moving ants on top of image edges&#8217; or &#8216;<strong>flickering pixels</strong>&#8216;. So if you have had this issue, make sure to check out the <a href="http://lkml.indiana.edu/hypermail/linux/kernel/1111.0/02876.html" onclick="urchinTracker('/outgoing/lkml.indiana.edu/hypermail/linux/kernel/1111.0/02876.html?referer=');">patches</a>!</p>

<p>Going to Mesa, out of hundreds of emails and commits, it is hard to choose the most interesting ones. Work on <strong>GL 3.0</strong> support proceeds quickly, and new mesa stability release, <strong>7.11.1</strong> is almost out of the door. Our Q&amp;A team did a full testing of this bugfixing release, and haven&#8217;t found much issues. So prepare yourself, as in few weeks we&#8217;ll have <strong>MESA 7.11.1</strong> out there. Stay tuned for Ian&#8217;s announcement in nearby future.</p>

<p>But as for mesa master branch, the following patches called my attention the most:</p>

<ul>
<li>Eric sent a patch series to add support for GL_EXT_texture_integer on i965 driver.</li>
<li>More work towards EXT_transform_feedback was done by Dan McCabe and Paul Berry, and Marek from the community side.</li>
<li>And we had lots of fixes for potential segmentation faults, safety checks, better hardware specification compatibility, piglit-based fixes and other issues from Yuanhan, Eric, Ken, Chad and Ian.</li>
</ul>

<p>On Wayland side of the force, lots of patches went in those days. Among those, there was an interesting proposal for the screen locking protocol by Pekka Paalanen, and some bugfixing patches from Juan Zhao.</p>

<p>Going to the other components, we had a release of <strong>xorg-xserver</strong> 1.11.2 RC2, with several crashes and correctness fixes; and new stable <strong>pixman</strong> 0.24.0 which brings many performance improvements and usage of architecture-specific instructions to improve overall performance over a number of different operations (such as bilinear scaling for example).</p>

<p>And finally, for the <strong>intel-gpu-tools</strong>, I was working on a new <strong>intel_gpu_analyze</strong> application, which I was using to tracing and analyzing CPU and GPU performance data during workloads, and also checking on the corresponding power consumption. This is a very experimental code yet, and it lives at <a href="http://cgit.freedesktop.org/~eugeni/intel-gpu-tools" onclick="urchinTracker('/outgoing/cgit.freedesktop.org/_eugeni/intel-gpu-tools?referer=');">my freedesktop.org git</a> for now. But still, I can already do some nice performance analysis like <a href="http://eugeni.dodonov.net/webgl_firefox_lasso/" onclick="urchinTracker('/outgoing/eugeni.dodonov.net/webgl_firefox_lasso/?referer=');">this one</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://dodonov.net/blog/2011/11/08/and-now-on-your-favorite-intel-linux-graphics-news-station/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Continuing with the semi-periodic updates&#8230;</title>
		<link>http://dodonov.net/blog/2011/11/01/continuing-with-the-semi-periodic-updates/</link>
		<comments>http://dodonov.net/blog/2011/11/01/continuing-with-the-semi-periodic-updates/#comments</comments>
		<pubDate>Tue, 01 Nov 2011 20:41:30 +0000</pubDate>
		<dc:creator>eugeni</dc:creator>
				<category><![CDATA[devel]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Linux-Planet]]></category>
		<category><![CDATA[mageia]]></category>
		<category><![CDATA[mandriva]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[vaapi]]></category>
		<category><![CDATA[x.org]]></category>

		<guid isPermaLink="false">http://dodonov.net/blog/?p=1151</guid>
		<description><![CDATA[&#8230;lots of things happened in the past days, on all fronts. It took me longer than I originally expected to write this next post in the series due to some personal problems which kept me out of the virtual world for quite some time, but better late then never. So, starting with Kernel, as usual, <a href='http://dodonov.net/blog/2011/11/01/continuing-with-the-semi-periodic-updates/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>&#8230;lots of things happened in the past days, on all fronts.</p>

<p>It took me longer than I originally expected to write this next post in the series due to some personal problems which kept me out of the virtual world for quite some time, but better late then never.</p>

<p>So, starting with Kernel, as usual, we had lots of updates.</p>

<ul>
<li><strong>Jesse Barnes</strong> sent out his patches for adding DRM <strong>planes</strong> and support for a new <strong>FB creation ioctl</strong>. Planes are similar to half-CRTCs, in the sense that they have a location and fb, but don&#8217;t drive outputs directly. His patchset provided two new interfaces: <strong>addfb2</strong>, a new FB creation ioctl that lets specify a surface format, as defined by a fourcc code from the video4linux headers; and ** <strong>planes</strong> &#8211; ioctls for fetching plane info and attaching an fb to a plane.</li>
<li>Jesse has also proposed some patches for enabling video sprites via overlays.</li>
<li><strong>Keith Packard</strong> has prepared some patches for flicker-free boot, which attempts to avoid the initial modesetting in drm.</li>
<li>A very interesting set of patches from Ben which attempt at adding <strong>fairness</strong> to <strong>GPU scheduling</strong>, preventing greedy apps from over-dominating the GPU and leaving nothing for other apps. This, of course, is still experimental, but think about this like on what <strong>CFS</strong> scheduler did to Linux Process Scheduling, and <strong>CFQ</strong> did to I/O scheduling. Of course, this also raises some concerns, like for example what should happen to benchmarks &#8211; which expect to grab all the possible power to get some measurable numbers, but nothing unsolvable here. It would be really interesting to see how it will go.</li>
<li>Ben has also sent out some patches which attempt to fix <strong>recursive unmapping</strong> of pages, a side effect of the Ironlake workaround which was done recently.</li>
</ul>

<p>For <strong>Mesa</strong>, lots of activities on all fronts too. I won&#8217;t be able to cover all of them, but the main highlights of the past days were:</p>

<ul>
<li>Work on <strong>EXT_transform_feedback</strong> by <strong>Dan McCabe</strong> and <strong>Paul Berry</strong> from Intel and Marek Olsak. The piglit tests are already in place for some months (I actually started to work on some of them, but then Marek has published his own set of tests, and I left mine in a half-finished state for now at my freedesktop.org personal repo. But I think I&#8217;ll finish them at some point). The mesa support for this GL 3.0 extension is approaching its completeness fairly quickly.</li>
<li>A 33-patch series from <strong>Eric Anholt</strong> with lots of fixes for batch buffer handling within mesa.</li>
<li>Lots of different fixes and consistency improvements for Gen6 and Gen7 generations of cards from <strong>Ken</strong> were also unleashed into the wild.</li>
<li>A <strong>HUGE</strong> cleanup of the remaining DRI1 pieces, such as the radeon drivers, dri1-specific extensions and core mesa bits, was carried out by <strong>Kristian  Høgsberg, Eric</strong> and many others who participated in the discussion.</li>
<li><strong>GLSL</strong> and extensions-related work continues, with clean-ups, fixes and improvements from Ian, Ken, Paul Berry and Chad.</li>
<li><strong>GL_ARB_texture_storage</strong> support was brought in by Brian Paul from VMware. It is supported by gallium drivers and swrast for now.</li>
<li>Chad Versace sent more patches for the <strong>Stencil buffer</strong> and <strong>HiZ</strong> support.</li>
<li>Ian sent out a 20-patch series which completely refactors the handling of <strong>uniforms</strong> within Mesa.</li>
<li>Eric has sent 24-patch series for improved renderbuffer mapping (<strong>MapRenderbuffer</strong>).</li>
<li>Paul Berry has added support for <strong>GLSL 1.30 interpolation qualifiers</strong> for Gen6+. This allows to keep track of which fragment shader inputs are overridden with the GLSL &#8220;flat&#8221;, &#8220;smooth&#8221;, &#8220;perspective&#8221; and &#8220;noperspective&#8221; interpolation qualifiers.</li>
<li>And Chia-I Wu has sent some new patches for an updated version of <strong>glext.h</strong> and for improved <strong>android-x86</strong> support within core Mesa.</li>
</ul>

<p>On <strong>Wayland</strong> land, we also had quite some interesting changes:</p>

<ul>
<li><strong>Tiago Vignatti</strong> sent several patches for improving input and evdev handling.</li>
<li>Juan Zhao has put out some <strong>documentation</strong> about Wayland building.</li>
<li>Ander, me, Benjamin Franzke, Casey Dahlin, Pekka Paalanen and Juan Zhao has also sent some build, correctness and GL-related patches. In overall, Wayland development is moving on nicely.</li>
</ul>

<p>Moving to <strong>VAAPI</strong>, as I already wrote here, Gwenole has released a new version of both <strong>libva</strong> and <strong>vaapi-driver-intel</strong>. Also, speaking on new releases, Eric Anholt has also released <strong>libdrm 2.4.27</strong>, we had the release of <strong>xorg-server 1.11.2 RC2</strong>, a new <strong>pixman 0.23.8</strong> release, which happens to be a release candidate for the stable <strong>0.24</strong> release, and Chris Wilson has put out <strong>xf86-video-intel 2.17 RC1</strong>, with several fixes and amazing list of <strong>200+</strong> SNA-related patches.</p>

<p>Also on <strong>SNA</strong>, I&#8217;ve put out two patches which would allow to activate <strong>SNA</strong> by means of a config file option, without recompiling. Those patches patches are floating around the <strong>intel-gfx</strong> mailing list, and make the task of <strong>SNA</strong> testing amazingly more easy (at least, for me <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ).</p>

<p>So &#8211; I guess I&#8217;ll stop here for now.</p>

<p>See you in the next iteration of The Tales from the <strike>Crypt</strike> Intel Linux Graphics land <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
]]></content:encoded>
			<wfw:commentRss>http://dodonov.net/blog/2011/11/01/continuing-with-the-semi-periodic-updates/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>VAAPI users around the world, rejoice!</title>
		<link>http://dodonov.net/blog/2011/10/28/vaapi-users-around-the-world-rejoice/</link>
		<comments>http://dodonov.net/blog/2011/10/28/vaapi-users-around-the-world-rejoice/#comments</comments>
		<pubDate>Fri, 28 Oct 2011 14:01:02 +0000</pubDate>
		<dc:creator>eugeni</dc:creator>
				<category><![CDATA[devel]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Linux-Planet]]></category>
		<category><![CDATA[mageia]]></category>
		<category><![CDATA[mandriva]]></category>
		<category><![CDATA[vaapi]]></category>

		<guid isPermaLink="false">http://dodonov.net/blog/?p=1149</guid>
		<description><![CDATA[Hello media users around the world with Intel cards aboard! I am glad to bring you the good news &#8211; Gwenole has just releases libva and vaapi-driver-intel version 1.0.15 into the wild! Go ahead and grab them here and here! And now for the nice details of what you should expect from those releases. Vaapi-driver-intel <a href='http://dodonov.net/blog/2011/10/28/vaapi-users-around-the-world-rejoice/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Hello media users around the world with Intel cards aboard!</p>

<p>I am glad to bring you the good news &#8211; Gwenole has just releases <strong>libva</strong> and <strong>vaapi-driver-intel</strong> version 1.0.15 into the wild! Go ahead and grab them <a href="http://cgit.freedesktop.org/vaapi/intel-driver/" onclick="urchinTracker('/outgoing/cgit.freedesktop.org/vaapi/intel-driver/?referer=');">here</a> and <a href="http://cgit.freedesktop.org/vaapi/libva/" onclick="urchinTracker('/outgoing/cgit.freedesktop.org/vaapi/libva/?referer=');">here</a>!</p>

<p>And now for the nice details of what you should expect from those releases.</p>

<p><strong>Vaapi-driver-intel</strong></p>

<p>This release improves the <strong>VC-1</strong> and <strong>MPEG-2</strong> decoding, and fixes some memory leaks:</p>

<ul>
<li>Fix VC-1 decoding (TTFRM packing)</li>
<li>Fix MPEG-2 decoding on Ivy Bridge</li>
<li>Fix MPEG-2 decoding with sparse QM matrices updates</li>
<li>Fix slice-param &amp; slice-data buffer memory leaks</li>
</ul>

<p><strong>Libva</strong></p>

<p>This release moves the <strong>i965</strong> driver into its own subdirectory, improves packaging support and build issues, and comes with some miscellaneous fixes.</p>

<ul>
<li>API: make {Top,Bottom}FieldOrderCnt signed (Yi Wang)</li>
<li>Add auto-generated Debian packaging</li>
<li>Refine VA trace &amp; VA fool utilities</li>
<li>Move i965 driver to a specific repository (vaapi/intel-driver)</li>
<li>Fix DSO link issue in tests</li>
<li>Fix fglrx driver name detection</li>
<li>Fix API vs. DSO vs. package versioning</li>
</ul>

<p>As you can see, this is a bugfix-mostly release. Next step is <strong>1.0.16</strong>, which will bring some nice features to you in nearby future.</p>

<p>As always, stay tuned <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
]]></content:encoded>
			<wfw:commentRss>http://dodonov.net/blog/2011/10/28/vaapi-users-around-the-world-rejoice/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>And now, time for some numbers</title>
		<link>http://dodonov.net/blog/2011/10/27/and-now-time-for-some-numbers/</link>
		<comments>http://dodonov.net/blog/2011/10/27/and-now-time-for-some-numbers/#comments</comments>
		<pubDate>Fri, 28 Oct 2011 00:51:56 +0000</pubDate>
		<dc:creator>eugeni</dc:creator>
				<category><![CDATA[devel]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Linux-Planet]]></category>
		<category><![CDATA[mageia]]></category>
		<category><![CDATA[mandriva]]></category>

		<guid isPermaLink="false">http://dodonov.net/blog/?p=1139</guid>
		<description><![CDATA[Michael Larabel from Phoronix was kind enough to carry out two different testing for the recently released kernel 3.1 on top of our Intel Linux Graphics cards today (thanks again Michael!). He split his evaluations into two different articles &#8211; First one is focused on performance and power usage for stock 3.1 kernel; and Second <a href='http://dodonov.net/blog/2011/10/27/and-now-time-for-some-numbers/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Michael Larabel from Phoronix was kind enough to carry out two different testing for the recently released kernel 3.1 on top of our Intel Linux Graphics cards today (thanks again Michael!). He split his evaluations into two different articles &#8211; <a href="http://www.phoronix.com/scan.php?page=article&amp;item=intel_linux31_gen6&amp;num=1" onclick="urchinTracker('/outgoing/www.phoronix.com/scan.php?page=article_amp_item=intel_linux31_gen6_amp_num=1&amp;referer=');">First one</a> is focused on performance and power usage for stock 3.1 kernel; and <a href="http://www.phoronix.com/scan.php?page=news_item&amp;px=MTAwNjU" onclick="urchinTracker('/outgoing/www.phoronix.com/scan.php?page=news_item_amp_px=MTAwNjU&amp;referer=');">Second one</a> specifically enabled <strong>RC6</strong> on this kernel to see its effects in action.</p>

<p>His testing confirms what I was pointing out with my latest series of the post (however, it always feels great to have independent confirmation of the results). For performance numbers, <strong>kernel 3.1</strong> brings around <strong>+20%</strong> to <strong>+40%</strong> improvements on top of the previous release for Sandy Bridge architecture. Yeah, this <strong>is</strong> nice. So if you haven&#8217;t updated your kernel to the latest and greatest one (in other words, <strong>kernel 3.1</strong>), you should really consider doing this.</p>

<p>As for power numbers, we have some good news too. The default kernel power usage on <strong>3.1</strong> is mostly similar to <strong>3.0</strong>, with some small variations here and there. However, if one enables <strong>RC6</strong> support, the immediate results is that your power usage drops by up to <strong>40%</strong> on idle. It is really nice to see <strong>less than two-digit</strong> watts numbers on current generation of desktop hardware (while it is pretty common to see it on Atom CPUs for some time already, desktop and mobile versions of Intel cards were not that used to such numbers &#8211; <strong>yet</strong>).</p>

<p>One additional bonus Michael has found out is pretty much more interesting one. Apparently, by enabling <strong>RC6</strong>, the graphics-intensive applications get an additional performance boost of up to <strong>10%</strong>. This was a bit unexpected for me, but it is better to have good surprises than bad ones.</p>

<p>From what we have discussed with Jesse Barnes, such improvements could come from several different paths. The first explanation is that, with <strong>RC6</strong> enabled, the graphical card can actually consume much less power (down to <strong>0V</strong>), so it leaves more room for CPU to use the non-claimed power to do more processing of its own. And the second one is that, thanks to additional thermal bonus which we get from the <strong>RC6</strong>-provided power economy, the <strong>GPU</strong> frequency has more room for scaling. So effectively, in both of those case, <strong>RC6</strong> allows you to have a better performance, both CPU and GPU-wise &#8211; at a cost of somewhat higher power usage coming from such performance.</p>

<p>So, in few words, I would define this situation as <strong>battery when you want, performance when you need</strong>. When you are on battery, under mostly idle workload (for example, browsing or reading or writing some blog posts), your battery lasts much longer. And when you start some processing-intensive application (say, <strong>openarena</strong> or <strong>angry birds</strong>), it gets more horsepower to get the job done, and some extra FPS which could mean life or death &#8211; which is specially true in case of said workloads <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Of course, those additional horses are hungry, so this incurs in more power being used when such additional performance is there &#8211; but it is something to be expected in any case.</p>

<p>While writing this description, I actually came to realize that the feature known as <strong>GPU turbo</strong>, which is present on Intel graphics cards, could be used to define and control such behavior on a much finer granularity. From what I&#8217;ve searched all around, surprisingly, nobody seems to have covered its functionality yet. I guess I&#8217;ll try to cover how it works, and how one could use and control it from userspace in one of the next posts, so stay tuned! And meanwhile, enjoy all those nice power and performance-related bonuses which the Intel Linux Graphics team brought to you just in time for Halloween <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
]]></content:encoded>
			<wfw:commentRss>http://dodonov.net/blog/2011/10/27/and-now-time-for-some-numbers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kernel 3.1 is out..</title>
		<link>http://dodonov.net/blog/2011/10/25/kernel-3-1-is-out/</link>
		<comments>http://dodonov.net/blog/2011/10/25/kernel-3-1-is-out/#comments</comments>
		<pubDate>Tue, 25 Oct 2011 14:42:23 +0000</pubDate>
		<dc:creator>eugeni</dc:creator>
				<category><![CDATA[devel]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Linux-Planet]]></category>
		<category><![CDATA[mageia]]></category>
		<category><![CDATA[mandriva]]></category>
		<category><![CDATA[writing]]></category>

		<guid isPermaLink="false">http://dodonov.net/blog/?p=1132</guid>
		<description><![CDATA[&#8230;but what does it means for Intel Linux Graphics? I tried to summarize all the patches and changes which went to this kernel release which somehow affected the drivers/gpu/drm/i915 directory (and, therefore, the kernel part of our driver). To give proper credit to all the authors whose code was accepted into the official kernel between <a href='http://dodonov.net/blog/2011/10/25/kernel-3-1-is-out/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>&#8230;but what does it means for Intel Linux Graphics?</p>

<p>I tried to summarize all the patches and changes which went to this kernel release which somehow affected the <strong>drivers/gpu/drm/i915</strong> directory (and, therefore, the kernel part of our driver).</p>

<p>To give proper credit to all the authors whose code was accepted into the official kernel between the <strong>3.0.0</strong> and <strong>3.1</strong> release, here is the full list:</p>

<ul>
<li><strong>Adam Jackson</strong>: <em>drm/i915/dp: Better hexdump of DPCD</em></li>
<li><strong>Adam Jackson</strong>: <em>drm/i915/dp: Don&#8217;t turn CPT DP ports on too early</em></li>
<li><strong>Adam Jackson</strong>: <em>drm/i915/dp: Explicitly disable symbol scrambling while training</em></li>
<li><strong>Adam Jackson</strong>: <em>drm/i915/dp: Explicitly request 8/10 channel coding</em></li>
<li><strong>Adam Jackson</strong>: <em>drm/i915/dp: Move DPCD dump to common code instead of PCH-only</em></li>
<li><strong>Adam Jackson</strong>: <em>drm/i915/dp: Read more DPCD registers on connection probe</em></li>
<li><strong>Adam Jackson</strong>: <em>drm/i915/dp: Retry DPCD fetch on G4X too</em></li>
<li><strong>Adam Jackson</strong>: <em>drm/i915/dp: Zero the DPCD data before connection probe</em></li>
<li><strong>Adam Jackson</strong>: <em>drm/i915/pch: Fix integer math bugs in panel fitting</em></li>
<li><strong>Adam Jackson</strong>: <em>drm/i915/pch: Save/restore PCH_PORT_HOTPLUG across suspend</em></li>
<li><strong>Ben Widawsky</strong>: <em>drm/i915: add module parameter compiler hints</em></li>
<li><strong>Ben Widawsky</strong>: <em>drm/i915: hangcheck disable parameter</em></li>
<li><strong>Ben Widawsky</strong>: <em>drm/i915: provide module parameter description</em></li>
<li><strong>Chris Wilson</strong>: <em>drm/i915: Add an interface to dynamically change the cache level</em></li>
<li><strong>Chris Wilson</strong>: <em>drm/i915/bios: Avoid temporary allocation whilst searching for downclock</em></li>
<li><strong>Chris Wilson</strong>: <em>drm/i915: Cache GT fifo count for SandyBridge</em></li>
<li><strong>Chris Wilson</strong>: <em>drm/i915: Combine pinning with setting to the display plane</em></li>
<li><strong>Chris Wilson</strong>: <em>drm/i915: Disable FBC across page-flipping</em></li>
<li><strong>Chris Wilson</strong>: <em>drm/i915/gtt: Split out i915_gem_gtt_rebind_object()</em></li>
<li><strong>Chris Wilson</strong>: <em>drm/i915: Introduce i915_gem_object_finish_gpu()</em></li>
<li><strong>Chris Wilson</strong>: <em>drm/i915: Introduce i915_gem_object_finish_gtt()</em></li>
<li><strong>Chris Wilson</strong>: <em>drm/i915: Mark the cursor and the overlay as being part of the display planes</em></li>
<li><strong>Chris Wilson</strong>: <em>drm/i915: Only export the generic intel_disable_fbc() interface</em></li>
<li><strong>Chris Wilson</strong>: <em>drm/i915: Perform intel_enable_fbc() from a delayed task</em></li>
<li><strong>Chris Wilson</strong>: <em>drm/i915: Remove vestigial pitch from post-gen2 FBC control routines</em></li>
<li><strong>Chris Wilson</strong>: <em>drm/i915: Replace direct calls to vfunc.disable_fbc with intel_disable_fbc()</em></li>
<li><strong>Chris Wilson</strong>: <em>drm/i915: Set persistent-mode for ILK/SNB framebuffer compression</em></li>
<li><strong>Chris Wilson</strong>: <em>drm/i915: Share the common work of disabling active FBC before updating</em></li>
<li><strong>Chris Wilson</strong>: <em>drm/i915: Use of a CPU fence is mandatory to update FBC regions upon CPU writes</em></li>
<li><strong>Dave Airlie</strong>: <em>Revert &#8220;drm/i915: Try enabling RC6 by default (again)&#8221;</em></li>
<li><strong>Eric Anholt</strong>: <em>drm/i915: Use the LLC mode on gen6 for everything but display.</em></li>
<li><strong>Eric Anholt</strong>: <em>drm/i915: Use the uncached domain for the display planes</em></li>
<li><strong>Hugh Dickins</strong>: <em>drm/i915: more struct_mutex locking</em></li>
<li><strong>Jesse Barnes</strong>: <em>drm/i915: add GPU max frequency control file</em></li>
<li><strong>Jesse Barnes</strong>: <em>drm/i915: allow cache sharing policy control</em></li>
<li><strong>Jesse Barnes</strong>: <em>drm/i915: apply phase pointer override on SNB+ too</em></li>
<li><strong>Jesse Barnes</strong>: <em>drm/i915: apply timing generator bug workaround on CPT and PPT</em></li>
<li><strong>Jesse Barnes</strong>: <em>drm/i915: check for supported depth at fb init time</em></li>
<li><strong>Jesse Barnes</strong>: <em>drm/i915: don&#8217;t set SDVO color range on ILK+</em></li>
<li><strong>Jesse Barnes</strong>: <em>drm/i915: don&#8217;t set transcoder bpc on CougarPoint</em></li>
<li><strong>Jesse Barnes</strong>: <em>drm/i915: don&#8217;t use uninitialized EDID bpc values when picking pipe bpp</em></li>
<li><strong>Jesse Barnes</strong>: <em>drm/i915/dp: wait for previous AUX channel activity to clear</em></li>
<li><strong>Jesse Barnes</strong>: <em>drm/i915: enable ring freq scaling, RC6 and graphics turbo on Ivy Bridge v3</em></li>
<li><strong>Jesse Barnes</strong>: <em>drm/i915: fix CB tuning check for ILK+</em></li>
<li><strong>Jesse Barnes</strong>: <em>drm/i915: flush plane control changes on ILK+ as well</em></li>
<li><strong>Jesse Barnes</strong>: <em>drm/i915/hdmi: HDMI source product description infoframe support</em></li>
<li><strong>Jesse Barnes</strong>: <em>drm/i915/hdmi: send AVI info frames on ILK+ as well</em></li>
<li><strong>Jesse Barnes</strong>: <em>drm/i915/hdmi: split infoframe setting from infoframe type code</em></li>
<li><strong>Jesse Barnes</strong>: <em>drm/i915: load a ring frequency scaling table v3</em></li>
<li><strong>Jesse Barnes</strong>: <em>drm/i915: load the LUT before pipe enable on ILK+</em></li>
<li><strong>Jesse Barnes</strong>: <em>drm/i915: provide more error output when mode sets fail</em></li>
<li><strong>Jesse Barnes</strong>: <em>drm/i915: provide more error output when mode sets fail</em></li>
<li><strong>Jesse Barnes</strong>: <em>drm/i915: set bpc for DP transcoder</em></li>
<li><strong>Jesse Barnes</strong>: <em>drm/i915: set GFX_MODE to pre-Ivybridge default value even on Ivybridge</em></li>
<li><strong>Jesse Barnes</strong>: <em>drm/i915: show interrupt info on IVB</em></li>
<li><strong>Jesse Barnes</strong>: <em>drm/i915: split out Ironlake pipe bpp picking code</em></li>
<li><strong>Jesse Barnes</strong>: <em>drm/i915: split out PCH refclk update code</em></li>
<li><strong>Jesse Barnes</strong>: <em>drm/i915: split out plane update code</em></li>
<li><strong>Jesse Barnes</strong>: <em>drm/i915: use pipe bpp in DP link bandwidth calculation</em></li>
<li><strong>Jesse Barnes</strong>: <em>drm/i915: use pipe bpp in DP link bandwidth calculations</em></li>
<li><strong>Jesse Barnes</strong>: <em>drm/i915: use pipe bpp when setting HDMI bpc</em></li>
<li><strong>Kamal Mostafa</strong>: <em>i915: do not setup intel_backlight twice</em></li>
<li><strong>Keith Packard</strong>: <em>drm/i915: Call intel_enable_plane from i9xx_crtc_mode_set (again)</em></li>
<li><strong>Keith Packard</strong>: <em>drm/i915: Cannot set clock gating under UMS</em></li>
<li><strong>Keith Packard</strong>: <em>drm/i915: Can&#8217;t do accurate vblank timestamps with UMS</em></li>
<li><strong>Keith Packard</strong>: <em>drm/i915: DP_PIPE_ENABLED must check transcoder on CPT</em></li>
<li><strong>Keith Packard</strong>: <em>drm/i915: Enable dither whenever display bpc &lt; frame buffer bpc</em></li>
<li><strong>Keith Packard</strong>: <em>drm/i915: Enable i915 frame buffer compression by default</em></li>
<li><strong>Keith Packard</strong>: <em>drm/i915: FBC off for ironlake and older, otherwise on by default</em></li>
<li><strong>Keith Packard</strong>: <em>drm/i915: Fix PCH port pipe select in CPT disable paths</em></li>
<li><strong>Keith Packard</strong>: <em>drm/i915: Fixup for &#8216;Hold mode_config->mutex during hotplug&#8217;</em></li>
<li><strong>Keith Packard</strong>: <em>drm/i915: Flush other plane register writes</em></li>
<li><strong>Keith Packard</strong>: <em>drm/i915: Hold mode_config->mutex during hotplug processing</em></li>
<li><strong>Keith Packard</strong>: <em>drm/i915: i915_gem_object_finish_gtt must always release gtt mmap</em></li>
<li><strong>Keith Packard</strong>: <em>drm/i915: Ignore GPU wedged errors while pinning scanout buffers</em></li>
<li><strong>Keith Packard</strong>: <em>drm/i915: In intel_dp_init, replace read of DPCD with intel_dp_get_dpcd</em></li>
<li><strong>Keith Packard</strong>: <em>drm/i915: Initialize RCS ring status page address in intel_render_ring_init_dri</em></li>
<li><strong>Keith Packard</strong>: <em>drm/i915: Leave LVDS registers unlocked</em></li>
<li><strong>Keith Packard</strong>: <em>drm/i915: Remove unused &#8216;reg&#8217; argument to dp_pipe_enabled</em></li>
<li><strong>Keith Packard</strong>: <em>drm/i915: Rename i915_dp_detect_common to intel_dp_get_dpcd</em></li>
<li><strong>Keith Packard</strong>: <em>drm/i915: Select correct pipe during TV detect</em></li>
<li><strong>Keith Packard</strong>: <em>drm/i915: Set crtc DPMS mode to ON in intel_crtc_mode_set</em></li>
<li><strong>Keith Packard</strong>: <em>drm/i915: Skip GPU wait for scanout pin while wedged</em></li>
<li><strong>Keith Packard</strong>: <em>drm/i915: Try enabling RC6 by default (again)</em></li>
<li><strong>Keith Packard</strong>: <em>drm/i915: TVDAC_STATE_CHG does not indicate successful load-detect</em></li>
<li><strong>Keith Packard</strong>: <em>drm/i915: Use dp_detect_common in hotplug helper function</em></li>
<li><strong>Keith Packard</strong>: <em>drm/i915: Wait for LVDS panel power sequence</em></li>
<li><strong>Keith Packard</strong>: <em>Revert and fix &#8220;drm/i915/dp: remove DPMS mode tracking from DP&#8221;</em></li>
<li><strong>Keith Packard</strong>: <em>Revert &#8220;drm/i915/dp: Zero the DPCD data before connection probe&#8221;</em></li>
<li><strong>Matthew Garrett</strong>: <em>i915: Fix opregion notifications</em></li>
<li><strong>Matthew Garrett</strong>: <em>Not all systems expose a firmware or platform mechanism for changing the backlight intensity on i915, so add native driver support.</em></li>
<li><strong>Michel Alexandre Salim</strong>: <em>drm/i915: Add quirk to disable SSC on Sony Vaio Y2</em></li>
<li><strong>Pieterjan Camerlynck</strong>: <em>i915: add Dell OptiPlex FX170 to intel_no_lvds</em></li>
<li><strong>Simon Farnsworth</strong>: <em>drm/i915: Enable SDVO hotplug interrupts for HDMI and DVI</em></li>
<li><strong>Thomas Jarosch</strong>: <em>drm/i915: Fix wrong initializer for &#8220;locked&#8221; variable in assert_panel_unlocked</em></li>
</ul>

<p>If we count the final number of changes between the <strong>3.0</strong> and <strong>3.1</strong> versions, we come to the following results:</p>

<pre><code>drivers/gpu/drm/i915/i915_debugfs.c     |  232 +++++++-
drivers/gpu/drm/i915/i915_dma.c         |   10 +-
drivers/gpu/drm/i915/i915_drv.c         |   69 ++-
drivers/gpu/drm/i915/i915_drv.h         |   51 +-
drivers/gpu/drm/i915/i915_gem.c         |  193 +++++-
drivers/gpu/drm/i915/i915_gem_gtt.c     |   39 +-
drivers/gpu/drm/i915/i915_irq.c         |   22 +-
drivers/gpu/drm/i915/i915_reg.h         |   59 ++-
drivers/gpu/drm/i915/i915_suspend.c     |   13 +-
drivers/gpu/drm/i915/intel_bios.c       |  140 +++--
drivers/gpu/drm/i915/intel_display.c    | 1028 +++++++++++++++++++++++--------
drivers/gpu/drm/i915/intel_dp.c         |  135 +++--
drivers/gpu/drm/i915/intel_drv.h        |   38 +-
drivers/gpu/drm/i915/intel_hdmi.c       |  166 +++++-
drivers/gpu/drm/i915/intel_lvds.c       |   90 ++--
drivers/gpu/drm/i915/intel_opregion.c   |   16 +-
drivers/gpu/drm/i915/intel_overlay.c    |    6 +-
drivers/gpu/drm/i915/intel_panel.c      |   76 +++-
drivers/gpu/drm/i915/intel_ringbuffer.c |   13 +-
drivers/gpu/drm/i915/intel_sdvo.c       |   88 +--
drivers/gpu/drm/i915/intel_tv.c         |   46 +-
21 files changed, 1879 insertions(+), 651 deletions(-)
</code></pre>

<p>So, in sum, there are changes all around the driver. Among the most interesting ones (in my humble opinion), are:</p>

<ul>
<li><strong>Frame Buffer Compression</strong> is now enabled for <strong>Gen6</strong> onwards (in other words, starting with Sandy Bridge). Of course, you can always enable it manually on your machine as well by using the <strong>i915.i915_enable_fbc=1</strong> kernel parameter.</li>
<li><strong>FBC</strong> should work better in general, thanks to patches from Chris Wilson which disable it across <strong>page-flipping</strong> and before updating, <strong>persist framebuffer compression</strong> mode for Ironlake and Sandy Bridge, and also making a proper use of <strong>fences</strong> after CPU writes.</li>
<li><strong>RC6</strong> was attempted to be enabled, but it was reverted early in the development cycle. As we had unusual time frame for this kernel release, by the time we have hit <strong>RC8</strong>, all the remaining <strong>RC6</strong>-related issues were tracked down. But as it was already too late for kernel 3.1, its enablement by default should happen in kernel <strong>3.2</strong>. The usage of <strong>RC6</strong> brings amazing power usage benefits, so you can enable it by yourself via the <strong>i915.i915_enable_rc6=1</strong> kernel parameter &#8211; and letting us know about any non-covered issues it may bring.</li>
<li><strong>DCPD</strong>, or Display Port Configuration Data handling has received lots of attention, and in general one should have a much better support for <strong>Display Port</strong> outputs.</li>
<li>configuration parameters for changing the <strong>cache level</strong>, <strong>maximum GPU frequency</strong>, <strong>cache sharing policy</strong> and GPU ring <strong>frequency scaling</strong>.</li>
<li>additional debugging output when <strong>mode setting fails</strong>, information about <strong>interrupts</strong> on Ivy bridge, <strong>hangcheck disabling</strong> support and better DPCD <strong>hexdump</strong>.</li>
<li>improvements for <strong>HDMI</strong> support, <strong>SDVO</strong> and <strong>LVDS</strong> handling, better pipe handling of <strong>EDID</strong> bpc values and proper panel fitting calculationsl</li>
<li>usage of <strong>LLC</strong> mode (usage of CPU cache for GPU instructions) for Gen6. This one-lined (excluding comments <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ) change alone was responsible for about <strong>20%</strong> performance improvements for openarena in full-screen mode, and about <strong>12%</strong> improvements in nexuiz.</li>
</ul>

<p>The <strong>i915</strong> driver in kernel 3.1 received a total of <strong>95</strong> new patches when compared to <strong>3.0</strong> (excluding merges), coming from <strong>14</strong> different authors &#8211; both working at Intel and not. Now the road is open for <strong>3.2</strong>. So fasten your seat belts and prepare for the next ride <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
]]></content:encoded>
			<wfw:commentRss>http://dodonov.net/blog/2011/10/25/kernel-3-1-is-out/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Graphics News Monday</title>
		<link>http://dodonov.net/blog/2011/10/24/graphics-news-monday/</link>
		<comments>http://dodonov.net/blog/2011/10/24/graphics-news-monday/#comments</comments>
		<pubDate>Mon, 24 Oct 2011 14:46:22 +0000</pubDate>
		<dc:creator>eugeni</dc:creator>
				<category><![CDATA[devel]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Linux-Planet]]></category>
		<category><![CDATA[mageia]]></category>
		<category><![CDATA[mandriva]]></category>
		<category><![CDATA[mesa]]></category>
		<category><![CDATA[x.org]]></category>

		<guid isPermaLink="false">http://dodonov.net/blog/?p=1128</guid>
		<description><![CDATA[Another week, another round of updates . As a shameless self-promoting plug, let me start by sharing the presentation about Linux and Open-Source which I did last week. As with all my other presentation, I put it on scribd: Linux e Open-Source: o que são e como podem me ajudar durante a faculdade? I hope <a href='http://dodonov.net/blog/2011/10/24/graphics-news-monday/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Another week, another round of updates <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>

<p>As a shameless self-promoting plug, let me start by sharing the presentation about Linux and Open-Source which I did last week. As with all my other presentation, I put it on scribd:</p>

<p><a title="View Linux e Open-Source: o que são e como podem me ajudar durante a faculdade? on Scribd" href="http://www.scribd.com/doc/69815875/Linux-e-Open-Source-o-que-sao-e-como-podem-me-ajudar-durante-a-faculdade" style="margin: 12px auto 6px auto; font-family: Helvetica,Arial,Sans-serif; font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; display: block; text-decoration: underline;" onclick="urchinTracker('/outgoing/www.scribd.com/doc/69815875/Linux-e-Open-Source-o-que-sao-e-como-podem-me-ajudar-durante-a-faculdade?referer=');">Linux e Open-Source: o que são e como podem me ajudar durante a faculdade?</a></p>

<iframe class="scribd_iframe_embed" src="http://www.scribd.com/embeds/69815875/content?start_page=1&#038;view_mode=slideshow&#038;access_key=key-bcg8h58qfz8cbd24skp" data-auto-height="true" data-aspect-ratio="1.33115468409586" scrolling="no" id="doc_75082" width="100%" height="600" frameborder="0"></iframe>

<script type="text/javascript">(function() { var scribd = document.createElement("script"); scribd.type = "text/javascript"; scribd.async = true; scribd.src = "http://www.scribd.com/javascripts/embed_code/inject.js"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(scribd, s); })();</script>

<p>I hope it would be as much interesting for you to access it, as it was for me to have the opportunity to write and present it. Thanks to all who attended the event, it was <strong>great</strong>!</p>

<p>But going back to the technical items in the agenda, let me start with the Kernel progress over the past week:</p>

<ul>
<li>As you all know, <strong>Kernel 3.1</strong> was just released. It comes with a nice set of patches for Intel Graphics, so we hope you&#8217;ll enjoy it. Expect all range of improvements &#8211; from performance boosts to lots of stability and feature-wise fixes.</li>
<li>As a major news, we had a pull request for the <strong>drm-intel-next</strong> branch from Keith Packard, for inclusion into the 3.2 version of Linux kernel. It comes with lots of interesting patches, among which I&#8217;d like to highlight the Ivybridge <strong>3-display</strong> pipe support, lots of fixes for <strong>Embedded Display Port (eDP)</strong> handling on Sandy Bridge architecture, workarounds for the <strong>VT-d-related issues</strong> on Ironlake family of GPU, fixes for <strong>interrupt</strong> race conditions, among many others.</li>
<li>Still on kernel, there was a number of conversations &#8211; all over the IRC channel, bugzilla and mailing lists &#8211; about <strong>GPU hangs</strong> and <strong>backlight</strong>-related issues. Some of those investigations resulted in new patches which could possibly solve &#8211; or, at least, help identifying the issues.</li>
<li>On the <strong>FBC</strong> front, I&#8217;ve sent an initial patch for enabling Frame Buffer Compression on Ivybridge. It still needs testing and verification though, and lots of changes in code style and content, many of which were pointed out by Chris Wilson. So I&#8217;ll work on it this week.</li>
<li>And as a bonus news, it looks like all the critical <strong>RC6-related</strong> issues (e.g., crashes or hangs) are now gone. There are still rendering-related problems though, some of which I came to figure out through this blog of mine (thank to you all for reporting!!). This is still not the ideal solution, but heck &#8211; it is a large step forward. Based on latest performance and power-related investigations which both we carried out internally, and the ones reported by community &#8211; by activating <strong>RC6</strong> one could expect up to <strong>50%</strong> improvements in power consumption. Definitely a nice thing to have.</li>
</ul>

<p>On <strong>mesa</strong> front, we had a number of news as well:</p>

<ul>
<li>A discussion about moving the <strong>DRI1</strong> radeon drivers into the land where the old drivers live happy forever-after was started by <strong>Eric</strong> and picked up by a number of Mesa developers. Those are possibly the last remaining drivers using DRI1 code path out there, and I guess we won&#8217;t have them around for much longer. Specially now that gallium backend is among us.</li>
<li>Some optimizations about dead and non-reachable code cleanups were proposed by <strong>Ian</strong>.</li>
<li>And we had several fixes for <strong>Gen6</strong> and <strong>Gen7</strong> architectures from <strong>Kenneth</strong> and <strong>Yuanhan</strong>.</li>
</ul>

<p>An interesting collection of news came from the <strong>X.org</strong> development land:</p>

<ul>
<li>The discussion about <strong>Glamor</strong> server project was carried on, with a number of interesting opinions and talks. Glamor project, which was initially sent to the X developers mailing list some weeks ago, is aiming at introducing a new hardware-independent DDX which can use the GPU acceleration via OpenGL interface. One of the concerns expressed by the X development community about it is that, well, there are already too many different acceleration projects for X out there. So, after a number of very insightful discussions about Glamor, it was agreed that its development will be split into two different branches &#8211; one device-independent library, which could be reused by all the other DDX drivers; and intel-specific bits will be developed and integrated on their own incremental pace.</li>
<li>Besides Glamor, lots of activity came from the <strong>Xinput</strong> developers and documentation updates.</li>
<li>A number of coverity-discovered patches was sent by Dave Airle.</li>
<li>And as a major news, we had a new security update for the <strong>Xserver</strong> project, fixing two security vulnerabilities: <strong>CVE-2011-4028</strong> and <strong>CVE-2011-4029</strong>. One of the vulnerabilities allows to disclose the existence of a privileged file, and another allows to reset permissions of a restricted file to 444 via a symlink attack. So it would be a good idea to update your Xserver installation with those fixes included.</li>
</ul>

<p>On <strong>Cairo</strong> side, there was an interesting discussion about slow HTML5 rendering in Firefox, coming from the non-optimal usage of X shared memory. The root of the problem is that code path used in this case does not uses BigReq extension, so it is limited to allocating a fixed 16Kb buffer &#8211; which is obviously not enough for the data it needs to process. So it results in lots and lots of small transmissions, and incurring in around 25k context switches per second.</p>

<p>Those are the major highlights of what I&#8217;ve seen over the past few days. See you on the next post <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
]]></content:encoded>
			<wfw:commentRss>http://dodonov.net/blog/2011/10/24/graphics-news-monday/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

 Served from: dodonov.net @ 2013-05-24 00:06:22 by W3 Total Cache -->