<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/include/drm/drmP.h, branch v3.15.2</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v3.15.2</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v3.15.2'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2014-04-02T00:18:29+00:00</updated>
<entry>
<title>drm: Allow userspace to ask for universal plane list (v2)</title>
<updated>2014-04-02T00:18:29+00:00</updated>
<author>
<name>Matt Roper</name>
<email>matthew.d.roper@intel.com</email>
</author>
<published>2014-04-01T22:22:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=681e7ec730444b616a1e7278a22a2691094a64e6'/>
<id>urn:sha1:681e7ec730444b616a1e7278a22a2691094a64e6</id>
<content type='text'>
Userspace clients which wish to receive all DRM planes (primary and
cursor planes in addition to the traditional overlay planes) may set the
DRM_CLIENT_CAP_UNIVERSAL_PLANES capability.

v2: Hide behind drm.universal_planes module option [suggested by
    Daniel Vetter]

Signed-off-by: Matt Roper &lt;matthew.d.roper@intel.com&gt;
Reviewed-by: Rob Clark &lt;robdclark@gmail.com&gt;
</content>
</entry>
<entry>
<title>drm: Add a function to get the ioctl flags</title>
<updated>2014-03-28T13:19:02+00:00</updated>
<author>
<name>Thomas Hellstrom</name>
<email>thellstrom@vmware.com</email>
</author>
<published>2014-02-26T14:51:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=4beb6d9fa6a74c189884be4913cfdd24fc8758ac'/>
<id>urn:sha1:4beb6d9fa6a74c189884be4913cfdd24fc8758ac</id>
<content type='text'>
Signed-off-by: Thomas Hellstrom &lt;thellstrom@vmware.com&gt;
Reviewed-by: Brian Paul &lt;brianp@vmware.com&gt;
</content>
</entry>
<entry>
<title>drm: Protect the master management with a drm_device::master_mutex v3</title>
<updated>2014-03-28T13:19:02+00:00</updated>
<author>
<name>Thomas Hellstrom</name>
<email>thellstrom@vmware.com</email>
</author>
<published>2014-02-25T18:57:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=c996fd0b956450563454e7ccc97a82ca31f9d043'/>
<id>urn:sha1:c996fd0b956450563454e7ccc97a82ca31f9d043</id>
<content type='text'>
The master management was previously protected by the drm_device::struct_mutex.
In order to avoid locking order violations in a reworked dropped master
security check in the vmwgfx driver, break it out into a separate master_mutex.
Locking order is master_mutex -&gt; struct_mutex.

Also remove drm_master::blocked since it's not used.

v2: Add an inline comment about what drm_device::master_mutex is protecting.
v3: Remove unneeded struct_mutex locks. Fix error returns in
    drm_setmaster_ioctl().

Signed-off-by: Thomas Hellstrom &lt;thellstrom@vmware.com&gt;
Reviewed-by: Brian Paul &lt;brianp@vmware.com&gt;
Reviewed-by: David Herrmann &lt;dh.herrmann@gmail.com&gt;
Acked-by: Daniel Vetter &lt;daniel@ffwll.ch&gt;
</content>
</entry>
<entry>
<title>drm: Remove the minor master list</title>
<updated>2014-03-28T13:19:02+00:00</updated>
<author>
<name>Thomas Hellstrom</name>
<email>thellstrom@vmware.com</email>
</author>
<published>2014-02-19T13:37:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=a12cd0025cdc0b4d43b79249dbd8c266af284032'/>
<id>urn:sha1:a12cd0025cdc0b4d43b79249dbd8c266af284032</id>
<content type='text'>
It doesn't appear to be used anywhere.

Signed-off-by: Thomas Hellstrom &lt;thellstrom@vmware.com&gt;
Reviewed-by: David Herrmann &lt;dh.herrmann@gmail.com&gt;
</content>
</entry>
<entry>
<title>drm: Improve on minor type helpers v3</title>
<updated>2014-03-28T13:19:01+00:00</updated>
<author>
<name>Thomas Hellstrom</name>
<email>thellstrom@vmware.com</email>
</author>
<published>2014-03-13T10:07:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=436830571eb9045d563979dc6185b1d5145ca4b6'/>
<id>urn:sha1:436830571eb9045d563979dc6185b1d5145ca4b6</id>
<content type='text'>
Add a drm_is_legacy() helper, constify argument to drm_is_render_client(),
and use / change helpers where appropriate.

v2: s/drm_is_legacy/drm_is_legacy_client/ and adapt to new code context.
v3: s/legacy_client/primary_client/

Signed-off-by: Thomas Hellstrom &lt;thellstrom@vmware.com&gt;
Reviewed-by: Brian Paul &lt;brianp@vmware.com&gt;
</content>
</entry>
<entry>
<title>drm: Make control nodes master-less v3</title>
<updated>2014-03-28T13:19:01+00:00</updated>
<author>
<name>Thomas Hellstrom</name>
<email>thellstrom@vmware.com</email>
</author>
<published>2014-02-19T13:21:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=ac05dbc57ef2b8709bf48693bb25e16a63e8e71f'/>
<id>urn:sha1:ac05dbc57ef2b8709bf48693bb25e16a63e8e71f</id>
<content type='text'>
Like for render-nodes, there is no point in maintaining the master concept
for control nodes, so set the struct drm_file::master pointer to NULL.

At the same time, make sure DRM_MASTER | DRM_CONTROL_ALLOW ioctls are always
allowed when called through the control node. Previously the caller also
needed to be master.

v2: Adapt to refactoring of ioctl permission check.
v3: Formatting of logical expression. Use drm_is_control_client() instead of
    drm_is_control().

Signed-off-by: Thomas Hellstrom &lt;thellstrom@vmware.com&gt;
Reviewed-by: Brian Paul &lt;brianp@vmware.com&gt;
Reviewed-by: David Herrmann &lt;dh.herrmann@gmail.com&gt;
</content>
</entry>
<entry>
<title>drm: Remove the prefix argument of drm_ut_debug_printk()</title>
<updated>2014-03-28T02:57:45+00:00</updated>
<author>
<name>Lespiau, Damien</name>
<email>damien.lespiau@intel.com</email>
</author>
<published>2014-03-24T15:53:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=1287aa903f1b9248f34fb215e3b875d2ae243425'/>
<id>urn:sha1:1287aa903f1b9248f34fb215e3b875d2ae243425</id>
<content type='text'>
This is always DRM_NAME, so we can just make it part of the format
string instead of asking prink to do it for us.

Signed-off-by: Damien Lespiau &lt;damien.lespiau@intel.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm: Pull the test on drm_debug in the logging macros</title>
<updated>2014-03-28T02:57:36+00:00</updated>
<author>
<name>Lespiau, Damien</name>
<email>damien.lespiau@intel.com</email>
</author>
<published>2014-03-24T15:53:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=a73d4e91fbb5ed6821ec5b906028e0e94868ef79'/>
<id>urn:sha1:a73d4e91fbb5ed6821ec5b906028e0e94868ef79</id>
<content type='text'>
In the logging code, we are currently checking is we need to output in
drm_ut_debug_printk(). This is too late. The problem is that when we write
something like:

    DRM_DEBUG_DRIVER("ELD on [CONNECTOR:%d:%s], [ENCODER:%d:%s]\n",
                     connector-&gt;base.id,
                     drm_get_connector_name(connector),
                     connector-&gt;encoder-&gt;base.id,
                     drm_get_encoder_name(connector-&gt;encoder));

We start by evaluating the arguments (so call drm_get_connector_name() and
drm_get_connector_name()) before ending up in drm_ut_debug_printk() which will
then does nothing.

This means we execute a lot of instructions (drm_get_connector_name(), in turn,
calls snprintf() for example) to happily discard them in the normal case,
drm.debug=0.

So, let's put the test on drm_debug earlier, in the macros themselves.
Sprinkle an unlikely() as well for good measure.

Signed-off-by: Damien Lespiau &lt;damien.lespiau@intel.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm: Remove the now unused DRM_LOG* macros</title>
<updated>2014-03-28T02:57:15+00:00</updated>
<author>
<name>Lespiau, Damien</name>
<email>damien.lespiau@intel.com</email>
</author>
<published>2014-03-24T15:53:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=8fa6a9e7e23ff163235d86b4d6f30692092dd1b5'/>
<id>urn:sha1:8fa6a9e7e23ff163235d86b4d6f30692092dd1b5</id>
<content type='text'>
Signed-off-by: Damien Lespiau &lt;damien.lespiau@intel.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm: Remove the unused (and unusable) DRM_LOG_MODE()</title>
<updated>2014-03-28T02:57:01+00:00</updated>
<author>
<name>Lespiau, Damien</name>
<email>damien.lespiau@intel.com</email>
</author>
<published>2014-03-24T15:53:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=98a48237f4e61afcc4c38950e2608539eced9040'/>
<id>urn:sha1:98a48237f4e61afcc4c38950e2608539eced9040</id>
<content type='text'>
This macro was trying to use the non existing DRM_UT_MODE debug category
and looks like it should be covered by DRM_LOG_KMS().

Signed-off-by: Damien Lespiau &lt;damien.lespiau@intel.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
</feed>
