<feed xmlns='http://www.w3.org/2005/Atom'>
<title>renesas/drm.git/omap, branch master</title>
<subtitle>libdrm, cloned from git://anongit.freedesktop.org/mesa/drm</subtitle>
<link rel='alternate' type='text/html' href='https://gitolite.ideasonboard.com/renesas/drm.git/'/>
<entry>
<title>omap: zero is a valid fd number, treat it as such</title>
<updated>2015-07-16T15:41:42+00:00</updated>
<author>
<name>Emil Velikov</name>
<email>emil.l.velikov@gmail.com</email>
</author>
<published>2015-07-14T13:59:19+00:00</published>
<link rel='alternate' type='text/html' href='https://gitolite.ideasonboard.com/renesas/drm.git/commit/?id=c86dabfc9f046e835ddbd01d28c45f9cf7c1f368'/>
<id>c86dabfc9f046e835ddbd01d28c45f9cf7c1f368</id>
<content type='text'>
Equivalent to the previous patch.

Cc: Rob Clark &lt;robdclark@gmail.com&gt;
Suggested-by: Thierry Reding &lt;thierry.reding@gmail.com&gt;
Signed-off-by: Emil Velikov &lt;emil.l.velikov@gmail.com&gt;
Reviewed-by: Thierry Reding &lt;treding@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Equivalent to the previous patch.

Cc: Rob Clark &lt;robdclark@gmail.com&gt;
Suggested-by: Thierry Reding &lt;thierry.reding@gmail.com&gt;
Signed-off-by: Emil Velikov &lt;emil.l.velikov@gmail.com&gt;
Reviewed-by: Thierry Reding &lt;treding@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drm: remove drm_public macro</title>
<updated>2015-04-28T10:19:15+00:00</updated>
<author>
<name>Emil Velikov</name>
<email>emil.l.velikov@gmail.com</email>
</author>
<published>2015-03-31T21:32:11+00:00</published>
<link rel='alternate' type='text/html' href='https://gitolite.ideasonboard.com/renesas/drm.git/commit/?id=0f8da82500ec542e269092c0718479e25eaff5f6'/>
<id>0f8da82500ec542e269092c0718479e25eaff5f6</id>
<content type='text'>
Some compilers (like the Oracle Studio), require that the function
declaration must be annotated with the same visibility attribute as the
definition. As annotating functions with drm_public is no longer
required just remove the macro.

Cc: Ben Skeggs &lt;bskeggs@redhat.com&gt;
Cc: Damien Lespiau &lt;damien.lespiau@intel.com&gt;
Cc: Maarten Lankhorst &lt;maarten.lankhorst@canonical.com&gt;
Cc: Michel Dänzer &lt;michel.daenzer@amd.com&gt;
Cc: Rob Clark &lt;robdclark@gmail.com&gt;
Cc: Thierry Reding &lt;treding@nvidia.com&gt;
Signed-off-by: Emil Velikov &lt;emil.l.velikov@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some compilers (like the Oracle Studio), require that the function
declaration must be annotated with the same visibility attribute as the
definition. As annotating functions with drm_public is no longer
required just remove the macro.

Cc: Ben Skeggs &lt;bskeggs@redhat.com&gt;
Cc: Damien Lespiau &lt;damien.lespiau@intel.com&gt;
Cc: Maarten Lankhorst &lt;maarten.lankhorst@canonical.com&gt;
Cc: Michel Dänzer &lt;michel.daenzer@amd.com&gt;
Cc: Rob Clark &lt;robdclark@gmail.com&gt;
Cc: Thierry Reding &lt;treding@nvidia.com&gt;
Signed-off-by: Emil Velikov &lt;emil.l.velikov@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drm: remove no longer needed VISIBILITY_CFLAGS</title>
<updated>2015-04-28T10:19:15+00:00</updated>
<author>
<name>Emil Velikov</name>
<email>emil.l.velikov@gmail.com</email>
</author>
<published>2015-03-31T21:07:13+00:00</published>
<link rel='alternate' type='text/html' href='https://gitolite.ideasonboard.com/renesas/drm.git/commit/?id=104c895f650cac7741c12e10ee78bb2fca2cbd49'/>
<id>104c895f650cac7741c12e10ee78bb2fca2cbd49</id>
<content type='text'>
With earlier commits we've annotated the private symbols, thus
we no longer require the -fvisibility=hidden CFLAGS.

Cc: Ben Skeggs &lt;bskeggs@redhat.com&gt;
Cc: Damien Lespiau &lt;damien.lespiau@intel.com&gt;
Cc: Maarten Lankhorst &lt;maarten.lankhorst@canonical.com&gt;
Cc: Michel Dänzer &lt;michel.daenzer@amd.com&gt;
Cc: Rob Clark &lt;robdclark@gmail.com&gt;
Cc: Thierry Reding &lt;treding@nvidia.com&gt;
Signed-off-by: Emil Velikov &lt;emil.l.velikov@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With earlier commits we've annotated the private symbols, thus
we no longer require the -fvisibility=hidden CFLAGS.

Cc: Ben Skeggs &lt;bskeggs@redhat.com&gt;
Cc: Damien Lespiau &lt;damien.lespiau@intel.com&gt;
Cc: Maarten Lankhorst &lt;maarten.lankhorst@canonical.com&gt;
Cc: Michel Dänzer &lt;michel.daenzer@amd.com&gt;
Cc: Rob Clark &lt;robdclark@gmail.com&gt;
Cc: Thierry Reding &lt;treding@nvidia.com&gt;
Signed-off-by: Emil Velikov &lt;emil.l.velikov@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drm: rename libdrm{,_macros}.h</title>
<updated>2015-04-28T10:19:15+00:00</updated>
<author>
<name>Emil Velikov</name>
<email>emil.l.velikov@gmail.com</email>
</author>
<published>2015-04-05T14:51:59+00:00</published>
<link rel='alternate' type='text/html' href='https://gitolite.ideasonboard.com/renesas/drm.git/commit/?id=42465feb9759ef5a6d79d7e628510cd0a081f913'/>
<id>42465feb9759ef5a6d79d7e628510cd0a081f913</id>
<content type='text'>
Provide a more meaningful name, considering what it does.

Signed-off-by: Emil Velikov &lt;emil.l.velikov@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Provide a more meaningful name, considering what it does.

Signed-off-by: Emil Velikov &lt;emil.l.velikov@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>omap: add symbols test</title>
<updated>2015-04-28T10:19:15+00:00</updated>
<author>
<name>Emil Velikov</name>
<email>emil.l.velikov@gmail.com</email>
</author>
<published>2015-03-31T19:12:06+00:00</published>
<link rel='alternate' type='text/html' href='https://gitolite.ideasonboard.com/renesas/drm.git/commit/?id=62b35fb2756ef37ff4bf3ac2eb5761d1fc95c089'/>
<id>62b35fb2756ef37ff4bf3ac2eb5761d1fc95c089</id>
<content type='text'>
Signed-off-by: Emil Velikov &lt;emil.l.velikov@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Emil Velikov &lt;emil.l.velikov@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>autotools: remove ${srcdir} from the includes</title>
<updated>2015-03-20T17:18:01+00:00</updated>
<author>
<name>Emil Velikov</name>
<email>emil.l.velikov@gmail.com</email>
</author>
<published>2015-03-17T23:17:40+00:00</published>
<link rel='alternate' type='text/html' href='https://gitolite.ideasonboard.com/renesas/drm.git/commit/?id=d9b6a69252fb2c0b68470de2d1e46cd9fd4f1f03'/>
<id>d9b6a69252fb2c0b68470de2d1e46cd9fd4f1f03</id>
<content type='text'>
Already handled by the build system.

v2: s/compiler/build system/

Signed-off-by: Emil Velikov &lt;emil.l.velikov@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Already handled by the build system.

v2: s/compiler/build system/

Signed-off-by: Emil Velikov &lt;emil.l.velikov@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>omap: Use symbol visibility.</title>
<updated>2014-08-14T19:59:18+00:00</updated>
<author>
<name>Maarten Lankhorst</name>
<email>maarten.lankhorst@canonical.com</email>
</author>
<published>2014-08-04T09:22:33+00:00</published>
<link rel='alternate' type='text/html' href='https://gitolite.ideasonboard.com/renesas/drm.git/commit/?id=2d1044cc47a00a6e9bcc49aca72680a77b447c9b'/>
<id>2d1044cc47a00a6e9bcc49aca72680a77b447c9b</id>
<content type='text'>
No changes to exported symbols.

Signed-off-by: Maarten Lankhorst &lt;maarten.lankhorst@canonical.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No changes to exported symbols.

Signed-off-by: Maarten Lankhorst &lt;maarten.lankhorst@canonical.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>omap: release lock also on error paths</title>
<updated>2012-10-09T14:41:27+00:00</updated>
<author>
<name>Vincent Penquerc'h</name>
<email>vincent.penquerch@collabora.co.uk</email>
</author>
<published>2012-10-09T13:48:34+00:00</published>
<link rel='alternate' type='text/html' href='https://gitolite.ideasonboard.com/renesas/drm.git/commit/?id=28a13f0be734958c74ae5a23d9cf766fa0857a62'/>
<id>28a13f0be734958c74ae5a23d9cf766fa0857a62</id>
<content type='text'>
Signed-off-by: Rob Clark &lt;rob@ti.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Rob Clark &lt;rob@ti.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>omap: include omap_drm.h independently</title>
<updated>2012-08-23T19:21:01+00:00</updated>
<author>
<name>Víctor Manuel Jáquez Leal</name>
<email>vjaquez@igalia.com</email>
</author>
<published>2012-08-09T11:34:54+00:00</published>
<link rel='alternate' type='text/html' href='https://gitolite.ideasonboard.com/renesas/drm.git/commit/?id=f215d651377d98f5998118c6824aeb2db75513be'/>
<id>f215d651377d98f5998118c6824aeb2db75513be</id>
<content type='text'>
omap_drm.h uses data type defined in stdint.h, but that header was
not included.

omap_drm.h includes drm.h as a local file when it is part of the
compiler c flags.

This two issues are fixed. New code can include omap_drm.h alone.

Signed-off-by: Víctor Manuel Jáquez Leal &lt;vjaquez@igalia.com&gt;
Signed-off-by: Rob Clark &lt;rob@ti.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
omap_drm.h uses data type defined in stdint.h, but that header was
not included.

omap_drm.h includes drm.h as a local file when it is part of the
compiler c flags.

This two issues are fixed. New code can include omap_drm.h alone.

Signed-off-by: Víctor Manuel Jáquez Leal &lt;vjaquez@igalia.com&gt;
Signed-off-by: Rob Clark &lt;rob@ti.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>omap: add refcnting and handle tracking</title>
<updated>2012-07-13T21:18:25+00:00</updated>
<author>
<name>Rob Clark</name>
<email>rob@ti.com</email>
</author>
<published>2012-07-13T21:18:25+00:00</published>
<link rel='alternate' type='text/html' href='https://gitolite.ideasonboard.com/renesas/drm.git/commit/?id=22574aa887efa879519328acc09cb01d03374bf4'/>
<id>22574aa887efa879519328acc09cb01d03374bf4</id>
<content type='text'>
There can be scenarios, especially when re-importing an existing buffer,
where you end up with multiple 'struct omap_bo's wrapping a single GEM
object handle.  Which causes badness when the first of the evil-clones
is omap_bo_del()'d.

To do this, introduce reference counting and a hashtable to track the
handles per fd.

First, to avoid bo's slipping through the crack if multiple 'struct
omap_device's are created for one drm fd, a hashtable mapping drm
fd to omap_device, and the omap_device itself is reference counted.
Per omap_device, we keep a handle_table mapping GEM handle to omap_bo.
When buffers are imported from flink name or dmabuf fd, the handle
table is consulted, and if an omap_bo already exists, it's refcnt is
incremented and it is returned.  For good measure, to avoid the
handle_table being deleted before the omap_bo is freed, the omap_bo
holds a reference to the omap_device.

TODO: check the overhead of the hashtable.  If too much we could maybe
get away with only tracking exported and imported bo's in the table.

TODO: all the import/export flink/dmabuf operations are generic DRM
ioctls.  Really all this functionality could be handled by a generic
drm_bo and drm_device "base class" that could be extended by omap,
exynos, etc.  That would also allow more common userspace code by
avoiding artificial libdrm_omap dependencies.

Signed-off-by: Rob Clark &lt;rob@ti.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There can be scenarios, especially when re-importing an existing buffer,
where you end up with multiple 'struct omap_bo's wrapping a single GEM
object handle.  Which causes badness when the first of the evil-clones
is omap_bo_del()'d.

To do this, introduce reference counting and a hashtable to track the
handles per fd.

First, to avoid bo's slipping through the crack if multiple 'struct
omap_device's are created for one drm fd, a hashtable mapping drm
fd to omap_device, and the omap_device itself is reference counted.
Per omap_device, we keep a handle_table mapping GEM handle to omap_bo.
When buffers are imported from flink name or dmabuf fd, the handle
table is consulted, and if an omap_bo already exists, it's refcnt is
incremented and it is returned.  For good measure, to avoid the
handle_table being deleted before the omap_bo is freed, the omap_bo
holds a reference to the omap_device.

TODO: check the overhead of the hashtable.  If too much we could maybe
get away with only tracking exported and imported bo's in the table.

TODO: all the import/export flink/dmabuf operations are generic DRM
ioctls.  Really all this functionality could be handled by a generic
drm_bo and drm_device "base class" that could be extended by omap,
exynos, etc.  That would also allow more common userspace code by
avoiding artificial libdrm_omap dependencies.

Signed-off-by: Rob Clark &lt;rob@ti.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
