<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/gpu/drm/ttm, branch linux-2.6.32.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.32.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.32.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2011-08-29T21:08:08Z</updated>
<entry>
<title>drm/ttm: fix ttm_bo_add_ttm(user) failure path</title>
<updated>2011-08-29T21:08:08Z</updated>
<author>
<name>Marcin Slusarz</name>
</author>
<published>2011-08-22T21:17:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=035fac5844e2cbc3bb485b6d274b4266c27aeeb2'/>
<id>urn:sha1:035fac5844e2cbc3bb485b6d274b4266c27aeeb2</id>
<content type='text'>
commit 7c4c3960dff109bc5db4c35da481c212dadb5eb5 upstream.

ttm_tt_destroy kfrees passed object, so we need to nullify
a reference to it.

Signed-off-by: Marcin Slusarz &lt;marcin.slusarz@gmail.com&gt;
Reviewed-by: Thomas Hellstrom &lt;thellstrom@vmware.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>drm/ttm: Clear the ghost cpu_writers flag on ttm_buffer_object_transfer.</title>
<updated>2010-12-09T21:26:52Z</updated>
<author>
<name>Francisco Jerez</name>
</author>
<published>2010-09-21T00:15:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5e353d5fd91c564849790c39ef790b66400c24bc'/>
<id>urn:sha1:5e353d5fd91c564849790c39ef790b66400c24bc</id>
<content type='text'>
commit 0fbecd400dd0a82d465b3086f209681e8c54cb0f upstream.

It makes sense for a BO to move after a process has requested
exclusive RW access on it (e.g. because the BO used to be located in
unmappable VRAM and we intercepted the CPU access from the fault
handler).

If we let the ghost object inherit cpu_writers from the original
object, ttm_bo_release_list() will raise a kernel BUG when the ghost
object is destroyed. This can be reproduced with the nouveau driver on
nv5x.

Reported-by: Marcin Slusarz &lt;marcin.slusarz@gmail.com&gt;
Reviewed-by: Jerome Glisse &lt;jglisse@redhat.com&gt;
Tested-by: Marcin Slusarz &lt;marcin.slusarz@gmail.com&gt;
Signed-off-by: Francisco Jerez &lt;currojerez@riseup.net&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>drm/ttm: handle OOM in ttm_tt_swapout</title>
<updated>2010-03-15T15:50:12Z</updated>
<author>
<name>Maarten Maathuis</name>
</author>
<published>2010-02-20T02:22:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d234eee1361df33b8ab4dcc2a36f6bd605cdbb1a'/>
<id>urn:sha1:d234eee1361df33b8ab4dcc2a36f6bd605cdbb1a</id>
<content type='text'>
commit 290e55056ec3d25c72088628245d8cae037b30db upstream.

- Without this change I get a general protection fault.
- Also use PTR_ERR where applicable.

Signed-off-by: Maarten Maathuis &lt;madman2003@gmail.com&gt;
Reviewed-by: Dave Airlie &lt;airlied@redhat.com&gt;
Acked-by: Thomas Hellstrom &lt;thellstrom@vmware.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>Merge branch 'drm-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6</title>
<updated>2009-11-11T19:32:04Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2009-11-11T19:32:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6b46362c0ea472b174c336786fd406c504326ad4'/>
<id>urn:sha1:6b46362c0ea472b174c336786fd406c504326ad4</id>
<content type='text'>
* 'drm-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6: (52 commits)
  drm/kms: Init the CRTC info fields for modes forced from the command line.
  drm/radeon/r600: CS parser updates
  drm/radeon/kms: add debugfs for power management for AtomBIOS devices
  drm/radeon/kms: initial mode validation support
  drm/radeon/kms/atom/dce3: call transmitter init on mode set
  drm/radeon/kms: store detailed connector info
  drm/radeon/kms/atom/dce3: fix up usPixelClock calculation for Transmitter tables
  drm/radeon/kms/r600: fix rs880 support v2
  drm/radeon/kms/r700: fix some typos in chip init
  drm/radeon/kms: remove some misleading debugging output
  drm/radeon/kms: stop putting VRAM at 0 in MC space on r600s.
  drm/radeon/kms: disable D1VGA and D2VGA if enabled
  drm/radeon/kms: Don't RMW CP_RB_CNTL
  drm/radeon/kms: fix coherency issues on AGP cards.
  drm/radeon/kms: fix rc410 suspend/resume.
  drm/radeon/kms: add quirk for hp dc5750
  drm/radeon/kms/atom: fix potential oops in spread spectrum code
  drm/kms: typo fix
  drm/radeon/kms/atom: Make card_info per device
  drm/radeon/kms/atom: Fix DVO support
  ...
</content>
</entry>
<entry>
<title>drm/radeon/kms: fix coherency issues on AGP cards.</title>
<updated>2009-11-03T23:53:14Z</updated>
<author>
<name>Dave Airlie</name>
</author>
<published>2009-10-30T03:31:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=df67bed92fa86ef926da8b62a6da68722388ff72'/>
<id>urn:sha1:df67bed92fa86ef926da8b62a6da68722388ff72</id>
<content type='text'>
When we are evicting from VRAM-&gt;RAM we allocate the ttm object,
but we don't set the caching policy on it before blitting into it.
This means on AGP we end up blitting into cached pages, and
the CPU later flushes out on top of them. This was mostly seen as
font corruption.

The other question is why we don't evict VRAM-&gt;GTT in a lot of cases,
this would save us some cache transitions since a lot of objects
that are evicted from VRAM will probably end up being pulled back in
a few operations later, and evicting them to system memory involves
2 unnecessary cache transitions.

Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'drm-next' of ../drm-next into drm-linus</title>
<updated>2009-10-08T04:03:05Z</updated>
<author>
<name>Dave Airlie</name>
</author>
<published>2009-10-08T04:03:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c1176d6f03e1085797ce83648a2c76ae15a2b515'/>
<id>urn:sha1:c1176d6f03e1085797ce83648a2c76ae15a2b515</id>
<content type='text'>
conflict in radeon since new init path merged with vga arb code.

Conflicts:
	drivers/gpu/drm/radeon/radeon.h
	drivers/gpu/drm/radeon/radeon_asic.h
	drivers/gpu/drm/radeon/radeon_device.c
</content>
</entry>
<entry>
<title>drm/ttm: fix refcounting in ttm global code.</title>
<updated>2009-10-06T05:46:10Z</updated>
<author>
<name>Dave Airlie</name>
</author>
<published>2009-09-29T03:56:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=df748b025d1357c2b9659e16a6040596e60e4257'/>
<id>urn:sha1:df748b025d1357c2b9659e16a6040596e60e4257</id>
<content type='text'>
the global refcount wasn't being increased after the first reference.
this caused an oops on unload on a multi-gpu card.

Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>const: mark struct vm_struct_operations</title>
<updated>2009-09-27T18:39:25Z</updated>
<author>
<name>Alexey Dobriyan</name>
</author>
<published>2009-09-27T18:29:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f0f37e2f77731b3473fa6bd5ee53255d9a9cdb40'/>
<id>urn:sha1:f0f37e2f77731b3473fa6bd5ee53255d9a9cdb40</id>
<content type='text'>
* mark struct vm_area_struct::vm_ops as const
* mark vm_ops in AGP code

But leave TTM code alone, something is fishy there with global vm_ops
being used.

Signed-off-by: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>drm/ttm: consolidate cache flushing code in one place.</title>
<updated>2009-08-26T23:53:47Z</updated>
<author>
<name>Dave Airlie</name>
</author>
<published>2009-08-26T23:53:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c9c97b8c75019814d8c007059bc827bb475be917'/>
<id>urn:sha1:c9c97b8c75019814d8c007059bc827bb475be917</id>
<content type='text'>
This merges the TTM and drm cache flushing into one file in the
drm core.

Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/ttm: Fixes for "Memory accounting rework."</title>
<updated>2009-08-20T08:58:15Z</updated>
<author>
<name>Thomas Hellstrom</name>
</author>
<published>2009-08-20T08:29:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=759e4f83f418f4001e724042b4c0e408d615d9ec'/>
<id>urn:sha1:759e4f83f418f4001e724042b4c0e408d615d9ec</id>
<content type='text'>
ttm:
Fix error paths when kobject_add returns an error.

Signed-off-by: Thomas Hellstrom &lt;thellstrom@vmware.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
</feed>
