<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/drivers/gpu/drm/vmwgfx, branch v3.2.22</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.2.22</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.2.22'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2012-06-10T13:41:55Z</updated>
<entry>
<title>drm/vmwgfx: Fix nasty write past alloced memory area</title>
<updated>2012-06-10T13:41:55Z</updated>
<author>
<name>Thomas Hellstrom</name>
<email>thellstrom@vmware.com</email>
</author>
<published>2012-06-01T13:48:04Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=65ca1815cd3b349988eeaa24a0fffe0d02629035'/>
<id>urn:sha1:65ca1815cd3b349988eeaa24a0fffe0d02629035</id>
<content type='text'>
commit 0824db38e515644f8d1bfd64adbd7cb2c6ea7c62 upstream.

Signed-off-by: Thomas Hellstrom &lt;thellstrom@vmware.com&gt;
Reviewed-by: Jakob Bornecrantz &lt;jakob@vmware.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>vmwgfx: Fix assignment in vmw_framebuffer_create_handle</title>
<updated>2012-02-03T17:22:08Z</updated>
<author>
<name>Ryan Mallon</name>
<email>rmallon@gmail.com</email>
</author>
<published>2012-01-27T21:51:40Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=093875a49ed01738b523d914462b49e3f5626701'/>
<id>urn:sha1:093875a49ed01738b523d914462b49e3f5626701</id>
<content type='text'>
commit bf9c05d5b6d19b3e4c9fe21047694e94f48db89b upstream.

The assignment of handle in vmw_framebuffer_create_handle doesn't actually do anything useful and is incorrectly assigning an integer value to a pointer argument. It appears that this is a typo and should be dereferencing handle rather than assigning to it directly. This fixes a bug where an undefined handle value is potentially returned to user-space.

Signed-off-by: Ryan Mallon &lt;rmallon@gmail.com&gt;
Reviewed-by: Jakob Bornecrantz&lt;jakob@vmware.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>vmwgfx: fix incorrect VRAM size check in vmw_kms_fb_create()</title>
<updated>2011-12-22T12:31:02Z</updated>
<author>
<name>Xi Wang</name>
<email>xi.wang@gmail.com</email>
</author>
<published>2011-12-21T10:18:33Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=8a78389651b3e411ec5a7df61404734f52d6f4eb'/>
<id>urn:sha1:8a78389651b3e411ec5a7df61404734f52d6f4eb</id>
<content type='text'>
Commit e133e737 didn't correctly fix the integer overflow issue.

-	unsigned int required_size;
+	u64 required_size;
	...
	required_size = mode_cmd-&gt;pitch * mode_cmd-&gt;height;
-	if (unlikely(required_size &gt; dev_priv-&gt;vram_size)) {
+	if (unlikely(required_size &gt; (u64) dev_priv-&gt;vram_size)) {

Note that both pitch and height are u32.  Their product is still u32 and
would overflow before being assigned to required_size.  A correct way is
to convert pitch and height to u64 before the multiplication.

	required_size = (u64)mode_cmd-&gt;pitch * (u64)mode_cmd-&gt;height;

This patch calls the existing vmw_kms_validate_mode_vram() for
validation.

Signed-off-by: Xi Wang &lt;xi.wang@gmail.com&gt;
Reviewed-and-tested-by: Thomas Hellstrom &lt;thellstrom@vmware.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>vmwgfx: Clip cliprects against screen boundaries in present and dirty</title>
<updated>2011-12-19T14:06:05Z</updated>
<author>
<name>Jakob Bornecrantz</name>
<email>jakob@vmware.com</email>
</author>
<published>2011-11-28T12:19:15Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=6abff3c78051e40130a1c653f874fb12b9d40254'/>
<id>urn:sha1:6abff3c78051e40130a1c653f874fb12b9d40254</id>
<content type='text'>
Signed-off-by: Jakob Bornecrantz &lt;jakob@vmware.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>vmwgfx: Resend the cursor after legacy modeset</title>
<updated>2011-12-19T14:06:04Z</updated>
<author>
<name>Jakob Bornecrantz</name>
<email>jakob@vmware.com</email>
</author>
<published>2011-11-28T12:19:14Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=bfc2638dc05f2b27538e40821fdbc8399730b1ea'/>
<id>urn:sha1:bfc2638dc05f2b27538e40821fdbc8399730b1ea</id>
<content type='text'>
Signed-off-by: Jakob Bornecrantz &lt;jakob@vmware.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>vmwgfx: Do better culling of presents</title>
<updated>2011-12-19T14:06:03Z</updated>
<author>
<name>Jakob Bornecrantz</name>
<email>jakob@vmware.com</email>
</author>
<published>2011-11-28T12:19:13Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=203dc2201326fa64411158c84ab0745546300310'/>
<id>urn:sha1:203dc2201326fa64411158c84ab0745546300310</id>
<content type='text'>
Signed-off-by: Jakob Bornecrantz &lt;jakob@vmware.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>vmwgfx: Refactor kms code to use vmw_user_lookup_handle helper</title>
<updated>2011-12-19T14:06:03Z</updated>
<author>
<name>Jakob Bornecrantz</name>
<email>jakob@vmware.com</email>
</author>
<published>2011-11-28T12:19:12Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=e7ac9211f29f2fc2e7d11586a33267d2a26d3f2f'/>
<id>urn:sha1:e7ac9211f29f2fc2e7d11586a33267d2a26d3f2f</id>
<content type='text'>
Signed-off-by: Jakob Bornecrantz &lt;jakob@vmware.com&gt;
Signed-off-by: Thomas Hellstrom &lt;thellstrom@vmware.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>vmwgfx: Add helper function to get surface or dmabuf</title>
<updated>2011-12-19T14:06:02Z</updated>
<author>
<name>Jakob Bornecrantz</name>
<email>jakob@vmware.com</email>
</author>
<published>2011-11-28T12:19:11Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=551a6697d08f92a311d6adbf8d03af2bc7f9e2ee'/>
<id>urn:sha1:551a6697d08f92a311d6adbf8d03af2bc7f9e2ee</id>
<content type='text'>
Signed-off-by: Jakob Bornecrantz &lt;jakob@vmware.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>vmwgfx: Refactor cursor update</title>
<updated>2011-12-19T14:06:02Z</updated>
<author>
<name>Jakob Bornecrantz</name>
<email>jakob@vmware.com</email>
</author>
<published>2011-11-28T12:19:10Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=6a91d97e02d7efde955c25a5b0fbf950cd2a6efa'/>
<id>urn:sha1:6a91d97e02d7efde955c25a5b0fbf950cd2a6efa</id>
<content type='text'>
Signed-off-by: Jakob Bornecrantz &lt;jakob@vmware.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>vmwgfx: Remove dmabuf check in present ioctl</title>
<updated>2011-12-19T14:06:01Z</updated>
<author>
<name>Jakob Bornecrantz</name>
<email>jakob@vmware.com</email>
</author>
<published>2011-11-28T12:19:09Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=ef5ab24bd3373941bd27e371512c0009eb11581c'/>
<id>urn:sha1:ef5ab24bd3373941bd27e371512c0009eb11581c</id>
<content type='text'>
Doesn't protect any error code and only gets in the way of debugging.

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