<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/gpu/drm/i915/intel_ringbuffer.h, branch linux-3.2.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-04-01T23:58:51Z</updated>
<entry>
<title>drm/i915: Add intel_ring_cachline_align()</title>
<updated>2014-04-01T23:58:51Z</updated>
<author>
<name>Ville Syrjälä</name>
</author>
<published>2014-02-11T17:52:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1a1d6c3c8ce2022462ca9b56fde45ffb69821690'/>
<id>urn:sha1:1a1d6c3c8ce2022462ca9b56fde45ffb69821690</id>
<content type='text'>
commit 753b1ad4a281b0663329409d410243e91825c323 upstream.

intel_ring_cachline_align() emits MI_NOOPs until the ring tail is
aligned to a cacheline boundary.

Cc: Bjoern C &lt;lkml@call-home.ch&gt;
Cc: Alexandru DAMIAN &lt;alexandru.damian@intel.com&gt;
Cc: Enrico Tagliavini &lt;enrico.tagliavini@gmail.com&gt;
Suggested-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Signed-off-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Reviewed-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>drm/i915: Dumb down the semaphore logic</title>
<updated>2011-09-21T21:52:41Z</updated>
<author>
<name>Ben Widawsky</name>
</author>
<published>2011-09-15T03:32:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c8c99b0f0dea1ced5d0e10cdb9143356cc16b484'/>
<id>urn:sha1:c8c99b0f0dea1ced5d0e10cdb9143356cc16b484</id>
<content type='text'>
While I think the previous code is correct, it was hard to follow and
hard to debug. Since we already have a ring abstraction, might as well
use it to handle the semaphore updates and compares.

I don't expect this code to make semaphores better or worse, but you
never know...

v2:
Remove magic per Keith's suggestions.
Ran Daniel's gem_ring_sync_loop test on this.

v3:
Ignored one of Keith's suggestions.

v4:
Removed some bloat per Daniel's recommendation.

Cc: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Cc: Keith Packard &lt;keithp@keithp.com&gt;
Signed-off-by: Ben Widawsky &lt;ben@bwidawsk.net&gt;
Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>Drivers: i915: Fix all space related issues.</title>
<updated>2011-09-20T01:01:47Z</updated>
<author>
<name>Akshay Joshi</name>
</author>
<published>2011-08-16T19:34:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0206e353a0416ad63ce07f53c807c2c725633b87'/>
<id>urn:sha1:0206e353a0416ad63ce07f53c807c2c725633b87</id>
<content type='text'>
Various issues involved with the space character were generating
warnings in the checkpatch.pl file. This patch removes most of those
warnings.

Signed-off-by: Akshay Joshi &lt;me@akshayjoshi.com&gt;
Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>drm/i915/ringbuffer: Idling requires waiting for the ring to be empty</title>
<updated>2011-07-12T17:35:45Z</updated>
<author>
<name>Chris Wilson</name>
</author>
<published>2011-07-12T17:03:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a94919eaddaa3fede1df8563ce4d761a75374645'/>
<id>urn:sha1:a94919eaddaa3fede1df8563ce4d761a75374645</id>
<content type='text'>
...which is measured by the size and not the amount of space remaining.

Waiting upon size-8, did one of two things. In the common case with more
than 8 bytes available to write into the ring, it would return
immediately. Otherwise, it would timeout given the impossible condition
of waiting for more space than is available in the ring, leading to
warnings such as:

[drm:intel_cleanup_ring_buffer] *ERROR* failed to quiesce render ring
whilst cleaning up: -16

Signed-off-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Reviewed-by: Eric Anholt &lt;eric@anholt.net&gt;
Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>drm/i915: proper use of forcewake</title>
<updated>2011-05-10T20:56:45Z</updated>
<author>
<name>Ben Widawsky</name>
</author>
<published>2011-04-25T18:22:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b7287d8054d219b3009f7ca82edf24f89fd363e5'/>
<id>urn:sha1:b7287d8054d219b3009f7ca82edf24f89fd363e5</id>
<content type='text'>
Moved the macros around to properly do reads and writes for the given
GPU. This is to address special requirements for gen6 (SNB) reads and
writes.

Registers in the range 0-0x40000 on gen6 platforms require special
handling. Instead of relying on the callers to pick the registers
correctly, move the logic into the read and write functions.

Signed-off-by: Ben Widawsky &lt;ben@bwidawsk.net&gt;
Signed-off-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
</content>
</entry>
<entry>
<title>drm/1915: ringbuffer wait for idle function</title>
<updated>2011-05-10T20:56:40Z</updated>
<author>
<name>Ben Widawsky</name>
</author>
<published>2011-03-20T01:14:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=96f298aa9c9fc9b7c8a2ebaf8c195d178f570e09'/>
<id>urn:sha1:96f298aa9c9fc9b7c8a2ebaf8c195d178f570e09</id>
<content type='text'>
Added a new function which waits for the ringbuffer space to be equal to
(total - 8). This is the empty condition of the ringbuffer, and
equivalent to head==tail.

Also modified two users of this functionality elsewhere in the code.

Signed-off-by: Ben Widawsky &lt;ben@bwidawsk.net&gt;
Signed-off-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
</content>
</entry>
<entry>
<title>Merge branch 'drm-intel-fixes' into drm-intel-next</title>
<updated>2011-03-07T12:35:15Z</updated>
<author>
<name>Chris Wilson</name>
</author>
<published>2011-03-07T12:32:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=47ae63e0c2e5fdb582d471dc906eb29be94c732f'/>
<id>urn:sha1:47ae63e0c2e5fdb582d471dc906eb29be94c732f</id>
<content type='text'>
Apply the trivial conflicting regression fixes, but keep GPU semaphores
enabled.

Conflicts:
	drivers/gpu/drm/i915/i915_drv.h
	drivers/gpu/drm/i915/i915_gem_execbuffer.c
</content>
</entry>
<entry>
<title>drm/i915: Do not overflow the MMADDR write FIFO</title>
<updated>2011-03-06T09:07:46Z</updated>
<author>
<name>Chris Wilson</name>
</author>
<published>2011-03-04T19:22:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=91355834646328e7edc6bd25176ae44bcd7386c7'/>
<id>urn:sha1:91355834646328e7edc6bd25176ae44bcd7386c7</id>
<content type='text'>
Whilst the GT is powered down (rc6), writes to MMADDR are placed in a
FIFO by the System Agent. This is a limited resource, only 64 entries, of
which 20 are reserved for Display and PCH writes, and so we must take
care not to queue up too many writes. To avoid this, there is counter
which we can poll to ensure there are sufficient free entries in the
fifo.

"Issuing a write to a full FIFO is not supported; at worst it could
result in corruption or a system hang."

Reported-and-Tested-by: Matt Turner &lt;mattst88@gmail.com&gt;
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34056
Signed-off-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
</content>
</entry>
<entry>
<title>drm/i915: Refine tracepoints</title>
<updated>2011-02-07T14:59:18Z</updated>
<author>
<name>Chris Wilson</name>
</author>
<published>2011-02-03T11:57:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=db53a302611c06bde01851f61fa0675a84ca018c'/>
<id>urn:sha1:db53a302611c06bde01851f61fa0675a84ca018c</id>
<content type='text'>
A lot of minor tweaks to fix the tracepoints, improve the outputting for
ftrace, and to generally make the tracepoints useful again. It is a start
and enough to begin identifying performance issues and gaps in our
coverage.

Signed-off-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
</content>
</entry>
<entry>
<title>Merge branch 'drm-intel-fixes' into drm-intel-next</title>
<updated>2011-01-24T23:45:32Z</updated>
<author>
<name>Chris Wilson</name>
</author>
<published>2011-01-23T17:24:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bdd92c9ad287e03a2ec52f5a89c470cd5caae1c2'/>
<id>urn:sha1:bdd92c9ad287e03a2ec52f5a89c470cd5caae1c2</id>
<content type='text'>
Merge important suspend and resume regression fixes and resolve the
small conflict.

Conflicts:
	drivers/gpu/drm/i915/i915_dma.c
</content>
</entry>
</feed>
