<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c, branch linux-3.17.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.17.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.17.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-01-17T06:52:38Z</updated>
<entry>
<title>drm/vmwgfx: Use the linux DMA api also for MOBs</title>
<updated>2014-01-17T06:52:38Z</updated>
<author>
<name>Thomas Hellstrom</name>
</author>
<published>2013-10-24T20:27:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0fd53cfb09108c33b924b069fe2c62fa4e7b11a0'/>
<id>urn:sha1:0fd53cfb09108c33b924b069fe2c62fa4e7b11a0</id>
<content type='text'>
Signed-off-by: Thomas Hellstrom &lt;thellstrom@vmware.com&gt;
</content>
</entry>
<entry>
<title>drm/vmwgfx: Hook up MOBs to TTM as a separate memory type</title>
<updated>2014-01-17T06:52:21Z</updated>
<author>
<name>Thomas Hellstrom</name>
</author>
<published>2012-11-21T10:06:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6da768aa66d2df9067b0bb694a6106bee3cb191f'/>
<id>urn:sha1:6da768aa66d2df9067b0bb694a6106bee3cb191f</id>
<content type='text'>
To bind a buffer object as a MOB, just validate it as a MOB
memory type. We are reusing the GMRID manager, although we create a new
instance of it to manage MOB ids and tomake sure we don't exceed
the maximum amount of MOB pages.

Signed-off-by: Thomas Hellstrom &lt;thellstrom@vmware.com&gt;
Reviewed-by: Brian Paul &lt;brianp@vmware.com&gt;
</content>
</entry>
<entry>
<title>drm/vmwgfx: Add MOB management</title>
<updated>2014-01-17T06:52:19Z</updated>
<author>
<name>Thomas Hellstrom</name>
</author>
<published>2012-11-21T09:49:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3530bdc35e99c3823bc98deb09baed89c51d9f46'/>
<id>urn:sha1:3530bdc35e99c3823bc98deb09baed89c51d9f46</id>
<content type='text'>
Implement MOB setup, binding and unbinding, but don't hook up to
TTM yet.

Signed-off-by: Thomas Hellstrom &lt;thellstrom@vmware.com&gt;
Reviewed-by: Brian Paul &lt;brianp@vmware.com&gt;
Reviewed-by: Zack Rusin &lt;zackr@vmware.com&gt;
</content>
</entry>
<entry>
<title>drivers: gpu: Mark functions as static in vmwgfx_buffer.c</title>
<updated>2014-01-08T12:44:26Z</updated>
<author>
<name>Rashika Kheria</name>
</author>
<published>2014-01-06T16:50:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8227622f61bc69e4288d60e2be5194d6c9feb593'/>
<id>urn:sha1:8227622f61bc69e4288d60e2be5194d6c9feb593</id>
<content type='text'>
Mark functions as static because they are not used outside the file
drm/vmwgfx/vmwgfx_buffer.c.

This eliminates the following warnings in drm/vmwgfx/vmwgfx_buffer.c:
drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c:520:16: warning: no previous prototype for ‘vmw_ttm_tt_create’ [-Wmissing-prototypes]
drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c:549:5: warning: no previous prototype for ‘vmw_invalidate_caches’ [-Wmissing-prototypes]
drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c:554:5: warning: no previous prototype for ‘vmw_init_mem_type’ [-Wmissing-prototypes]
drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c:592:6: warning: no previous prototype for ‘vmw_evict_flags’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria &lt;rashika.kheria@gmail.com&gt;
Reviewed-by: Josh Triplett &lt;josh@joshtriplett.org&gt;
Reviewed-by: Jakob Bornecrantz &lt;jakob@vmware.com&gt;
</content>
</entry>
<entry>
<title>drm/vmwgfx: Fix dma buffer memory size accounting</title>
<updated>2013-12-04T20:03:56Z</updated>
<author>
<name>Thomas Hellstrom</name>
</author>
<published>2013-11-28T09:46:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=308d17ef9530f236466a31a7855fc3d5176292d4'/>
<id>urn:sha1:308d17ef9530f236466a31a7855fc3d5176292d4</id>
<content type='text'>
Also request kernel ttm_buffer objects for buffer objects that obviously
aren't visible to user-space, and save some device address space.

The accounting was broken in a couple of ways:
1) We did not differentiate between user dma buffers and kernel dma buffers.
2) The ttm_bo_acc_size function is broken in that it
a) Doesn't take into account the size of the optional dma address array,
b) Doesn't take into account the fact that drivers typically embed the
ttm_tt structure.

This needs to be fixed in ttm, but meanwhile provide a vmwgfx-specific
function to do the job.

Signed-off-by: Thomas Hellstrom &lt;thellstrom@vmware.com&gt;
Reviewed-by: Jakob Bornecrantz &lt;jakob@vmware.com&gt;
</content>
</entry>
<entry>
<title>drm/vmwgfx: Use the linux DMA api to get valid device addresses of pages</title>
<updated>2013-11-06T11:57:16Z</updated>
<author>
<name>Thomas Hellstrom</name>
</author>
<published>2013-10-24T08:49:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d92d985177c495aab53c7167f310a7efb1853918'/>
<id>urn:sha1:d92d985177c495aab53c7167f310a7efb1853918</id>
<content type='text'>
The code handles three different cases:
1) physical page addresses. The ttm page array is used.
2) DMA subsystem addresses. A scatter-gather list is used.
3) Coherent pages. The ttm dma pool is used, together with the dma_ttm
array os dma_addr_t

Signed-off-by: Thomas Hellstrom &lt;thellstrom@vmware.com&gt;
Reviewed-by: Jakob Bornecrantz &lt;jakob@vmware.com&gt;
</content>
</entry>
<entry>
<title>drm/vmwgfx: Tighten the security around buffer maps</title>
<updated>2012-11-28T10:09:08Z</updated>
<author>
<name>Thomas Hellstrom</name>
</author>
<published>2012-11-21T15:04:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d08a9b9cd82f668a5437c23e59063387ca3ecec5'/>
<id>urn:sha1:d08a9b9cd82f668a5437c23e59063387ca3ecec5</id>
<content type='text'>
Make sure that other DRM clients can't map the contents of
non-shareable buffer objects.

Signed-off-by: Thomas Hellstrom &lt;thellstrom@vmware.com&gt;
Reviewed-by: Brian Paul &lt;brianp@vmware.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/ttm: remove sync_arg from driver functions</title>
<updated>2012-11-20T06:10:10Z</updated>
<author>
<name>Maarten Lankhorst</name>
</author>
<published>2012-10-12T15:04:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dedfdffd448aea2543b59fd504b92b8212ab3b7d'/>
<id>urn:sha1:dedfdffd448aea2543b59fd504b92b8212ab3b7d</id>
<content type='text'>
Signed-off-by: Maarten Lankhorst &lt;maarten.lankhorst@canonical.com&gt;
Reviewed-By: Thomas Hellstrom &lt;thellstrom@vmware.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/vmwgfx: remove use of fence_obj_args</title>
<updated>2012-11-20T06:09:35Z</updated>
<author>
<name>Maarten Lankhorst</name>
</author>
<published>2012-10-12T15:01:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=be013367fd6fbab52ddf6f76c243f4109090c890'/>
<id>urn:sha1:be013367fd6fbab52ddf6f76c243f4109090c890</id>
<content type='text'>
It's always hardcoded to the same value.

Signed-off-by: Maarten Lankhorst &lt;maarten.lankhorst@canonical.com&gt;
Reviewed-By: Thomas Hellstrom &lt;thellstrom@vmware.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>UAPI: (Scripted) Convert #include "..." to #include &lt;path/...&gt; in drivers/gpu/</title>
<updated>2012-10-02T17:01:07Z</updated>
<author>
<name>David Howells</name>
</author>
<published>2012-10-02T17:01:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=760285e7e7ab282c25b5e90816f7c47000557f4f'/>
<id>urn:sha1:760285e7e7ab282c25b5e90816f7c47000557f4f</id>
<content type='text'>
Convert #include "..." to #include &lt;path/...&gt; in drivers/gpu/.

Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Acked-by: Dave Airlie &lt;airlied@redhat.com&gt;
Acked-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Acked-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Acked-by: Paul E. McKenney &lt;paulmck@linux.vnet.ibm.com&gt;
Acked-by: Dave Jones &lt;davej@redhat.com&gt;
</content>
</entry>
</feed>
