<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/include/linux/agp_backend.h, branch tmp/leds/core</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=tmp%2Fleds%2Fcore</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=tmp%2Fleds%2Fcore'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2008-08-12T00:13:38Z</updated>
<entry>
<title>intel/agp: rewrite GTT on resume</title>
<updated>2008-08-12T00:13:38Z</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2008-07-31T05:48:07Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=a8c84df9f71e4a7b14bdd41687a70d366c087eef'/>
<id>urn:sha1:a8c84df9f71e4a7b14bdd41687a70d366c087eef</id>
<content type='text'>
On my Intel chipset (965GM), the GTT is entirely erased across
suspend/resume.  This patch simply re-plays the current mapping at resume
time to restore the table.=20

I noticed this once I started relying on persistent GTT mappings across VT
switch in our GEM work -- the old X server and DRM code carefully unbind
all memory from the GTT on VT switch, but GEM does not bother.

I placed the list management and rewrite code in the generic layer on the
assumption that it will be needed on other hardware, but I did not add the
rewrite call to anything other than the Intel resume function.

Keep a list of current GATT mappings.  At resume time, rewrite them into
the GATT.  This is needed on Intel (at least) as the entire GATT is
cleared across suspend/resume.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
Cc: Dave Jones &lt;davej@codemonkey.org.uk&gt;
Cc: Andi Kleen &lt;andi@firstfloor.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>agp: more boolean conversions.</title>
<updated>2008-06-19T00:42:17Z</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@redhat.com</email>
</author>
<published>2008-06-19T00:42:17Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=9516b030b484fc99cf24213caf88df01f99248dd'/>
<id>urn:sha1:9516b030b484fc99cf24213caf88df01f99248dd</id>
<content type='text'>
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>drivers/char/agp - use bool</title>
<updated>2008-06-19T00:04:20Z</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2008-03-26T21:10:02Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=c72580129209aaa509ace81c1f2ee1caa9c9774b'/>
<id>urn:sha1:c72580129209aaa509ace81c1f2ee1caa9c9774b</id>
<content type='text'>
Use boolean in AGP instead of having own TRUE/FALSE

--
Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>Remove "#ifdef __KERNEL__" checks from unexported headers</title>
<updated>2008-04-30T15:29:54Z</updated>
<author>
<name>Robert P. J. Day</name>
<email>rpjday@crashcourse.ca</email>
</author>
<published>2008-04-30T07:55:12Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=735643ee6cc5249bfac07fcad0946a5e7aff4423'/>
<id>urn:sha1:735643ee6cc5249bfac07fcad0946a5e7aff4423</id>
<content type='text'>
Remove the "#ifdef __KERNEL__" tests from unexported header files in
linux/include whose entire contents are wrapped in that preprocessor
test.

Signed-off-by: Robert P. J. Day &lt;rpjday@crashcourse.ca&gt;
Cc: David Woodhouse &lt;dwmw2@infradead.org&gt;
Cc: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>agp: add chipset flushing support to AGP interface</title>
<updated>2008-02-05T04:33:32Z</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@linux.ie</email>
</author>
<published>2007-10-29T05:14:03Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=a13af4b4d842da6d7065b8c73fa8f0ac58fea1b6'/>
<id>urn:sha1:a13af4b4d842da6d7065b8c73fa8f0ac58fea1b6</id>
<content type='text'>
This bumps the AGP interface to 0.103.

Certain Intel chipsets contains a global write buffer, and this can require
flushing from the drm or X.org to make sure all data has hit RAM before
initiating a GPU transfer, due to a lack of coherency with the integrated
graphics device and this buffer.

This just adds generic support to the AGP interfaces, a follow-on patch
will add support to the Intel driver to use this interface.

Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>[AGPGART] Allow drm-populated agp memory types</title>
<updated>2007-02-03T22:16:24Z</updated>
<author>
<name>Thomas Hellstrom</name>
<email>thomas@tungstengraphics.com</email>
</author>
<published>2007-01-23T09:33:43Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=a030ce4477baa06dd9c037ccd3c8d171aac9ed44'/>
<id>urn:sha1:a030ce4477baa06dd9c037ccd3c8d171aac9ed44</id>
<content type='text'>
This patch allows drm to populate an agpgart structure with pages of its own.
It's needed for the new drm memory manager which dynamically flips pages in and out of AGP.

The patch modifies the generic functions as well as the intel agp driver. The intel drm driver is
currently the only one supporting the new memory manager.

Other agp drivers may need some minor fixing up once they have a corresponding memory manager enabled drm driver.

AGP memory types &gt;= AGP_USER_TYPES are not populated by the agpgart driver, but the drm is expected
to do that, as well as taking care of cache- and tlb flushing when needed.

It's not possible to request these types from user space using agpgart ioctls.

The Intel driver also gets a new memory type for pages that can be bound cached to the intel GTT.

Signed-off-by: Thomas Hellstrom &lt;thomas@tungstengraphics.com&gt;
Signed-off-by: Dave Jones &lt;davej@redhat.com&gt;
</content>
</entry>
<entry>
<title>[AGPGART] Fix typo.</title>
<updated>2005-03-02T10:03:29Z</updated>
<author>
<name>Dave Jones</name>
<email>davej@redhat.com</email>
</author>
<published>2005-03-02T10:03:29Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=3bd95d6da37b66ee05da10115d7ce7e356942c5c'/>
<id>urn:sha1:3bd95d6da37b66ee05da10115d7ce7e356942c5c</id>
<content type='text'>
From: Joern Heissler
Signed-off-by: Dave Jones &lt;davej@redhat.com&gt;
</content>
</entry>
<entry>
<title>[AGPGART] add agp_find_bridge function</title>
<updated>2005-02-23T13:15:47Z</updated>
<author>
<name>Dave Jones</name>
<email>davej@redhat.com</email>
</author>
<published>2005-02-23T13:15:47Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=4ce94034b7e903ecb677e2a8cbfe4296f9c568be'/>
<id>urn:sha1:4ce94034b7e903ecb677e2a8cbfe4296f9c568be</id>
<content type='text'>
From: Michael Werner &lt;werner@mrcoffee.engr.sgi.com&gt;

This patch gives non-generic platforms a method for using platform specific
agp_find_bridge functions.

Signed-off-by: Mike Werner &lt;werner@sgi.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Dave Jones &lt;davej@redhat.com&gt;
</content>
</entry>
<entry>
<title>[AGPGART] allow multiple backends to be initialized.</title>
<updated>2005-02-23T13:12:13Z</updated>
<author>
<name>Dave Jones</name>
<email>davej@redhat.com</email>
</author>
<published>2005-02-23T13:12:13Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=aeac6f3a3f5d6f3fc2744cd7f999fc48d527d6c5'/>
<id>urn:sha1:aeac6f3a3f5d6f3fc2744cd7f999fc48d527d6c5</id>
<content type='text'>
From: Michael Werner &lt;werner@mrcoffee.engr.sgi.com&gt;

This patch adds support for initializing and addressing multiple AGP
bridges using the agpgart driver.  In particular, it extends agp_acquire
and agp_allocate_memory so that different bridges can be acquired and
memory allocated within a specific AGP aperature.

From: Brice Goglin &lt;Brice.Goglin@ens-lyon.fr&gt;

It seems that memsetting the whole bridge structure to 0 (instead of juste
the agp_in_use field) fixes Benoit's problem too.  No idea which field was
responsible for this.  New patch attached.

From: Mike Werner &lt;werner@sgi.com&gt;

add bridge assignment missed in agp_allocate_memory

From: Andi Kleen &lt;ak@suse.de&gt;

Here's the correct fix. agp_bridge is defined in drivers/char/agp/agp.h.
It's a bit ugly though.

Signed-off-by: Mike Werner &lt;werner@sgi.com&gt;
Signed-off-by: Andi Kleen &lt;ak@suse.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Dave Jones &lt;davej@redhat.com&gt;
</content>
</entry>
<entry>
<title>[AGPGART] aper_base can't be signed.</title>
<updated>2005-02-23T07:37:52Z</updated>
<author>
<name>Dave Jones</name>
<email>davej@redhat.com</email>
</author>
<published>2005-02-23T07:37:52Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=5ebab1c1ab7850e660b4e52042725a4b75bd1118'/>
<id>urn:sha1:5ebab1c1ab7850e660b4e52042725a4b75bd1118</id>
<content type='text'>
We pass this to remap_pfn_range after shifting it right.
Nasty things happen as a result.

Signed-off-by: Dave Jones &lt;davej@redhat.com&gt;
</content>
</entry>
</feed>
