<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/gpu/drm/drm_modes.c, branch linux-3.15.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.15.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.15.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-03-13T11:48:44Z</updated>
<entry>
<title>drm: polish function kerneldoc for drm_modes.[hc]</title>
<updated>2014-03-13T11:48:44Z</updated>
<author>
<name>Daniel Vetter</name>
</author>
<published>2014-01-23T19:05:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f5aabb978d1dcd850d329bcce6dc782bb8621984'/>
<id>urn:sha1:f5aabb978d1dcd850d329bcce6dc782bb8621984</id>
<content type='text'>
- Tune down yelling RETURNS.
- OCD align all the parameters the same.
- Add missing kerneldoc, which also means that we need to include the
  kerneldoc from the drm_modes.h header now.
- Add missing Returns: sections.
- General polish and clarification - especially the kerneldoc for the
  mode creation helpers seems to have been some good specimen of
  copypasta gone wrong.

All actual code changes have all been extracted into prep patches
since there was simply too much to polish.

v2: More polish for the command line modeline functions.

Reviewed-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
</content>
</entry>
<entry>
<title>drm/modes: drop maxPitch from drm_mode_validate_size</title>
<updated>2014-03-13T11:48:43Z</updated>
<author>
<name>Daniel Vetter</name>
</author>
<published>2014-01-23T15:39:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3e70292cd4a002cd799a1cd4115286cba3933d6d'/>
<id>urn:sha1:3e70292cd4a002cd799a1cd4115286cba3933d6d</id>
<content type='text'>
Totally unused and actually redundant with maxX for display mode
validation. The fb helper otoh needs to check pitch limits,
but that is delegated into drivers instead.

Reviewed-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
</content>
</entry>
<entry>
<title>drm/modes: drop return value from drm_display_mode_from_videomode</title>
<updated>2014-03-13T11:48:42Z</updated>
<author>
<name>Daniel Vetter</name>
</author>
<published>2014-01-23T15:28:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ba0c2422d7cda623acbbcde24542b52c4999bc84'/>
<id>urn:sha1:ba0c2422d7cda623acbbcde24542b52c4999bc84</id>
<content type='text'>
It never fails and no one ever checked anyway.

Reviewed-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
</content>
</entry>
<entry>
<title>drm/modes: remove drm_mode_height/width</title>
<updated>2014-03-13T11:48:41Z</updated>
<author>
<name>Daniel Vetter</name>
</author>
<published>2014-01-23T15:27:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9d3de1389ba970d0d35ce6960774dc046b6dd723'/>
<id>urn:sha1:9d3de1389ba970d0d35ce6960774dc046b6dd723</id>
<content type='text'>
There's a neat FIXME asking whether this is really need. I'd
say really no.

Reviewed-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
</content>
</entry>
<entry>
<title>drm: extract drm_modes.h for drm_crtc.h functions</title>
<updated>2014-03-13T11:48:41Z</updated>
<author>
<name>Daniel Vetter</name>
</author>
<published>2014-01-23T14:52:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=55310008684309985110fdb99fa7b61c649778b2'/>
<id>urn:sha1:55310008684309985110fdb99fa7b61c649778b2</id>
<content type='text'>
I want to also include kerneldoc from the header (for static inline
functions and structs), but fishing the right pieces out of a giant
header is a real pain. So split things out.

Note that it's not a really clean header with sane include orders, but
given's drm historical knack for giant headers detangling this is a
major task.

v2: Also extract struct drm_cmdline_mode.

Reviewed-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
</content>
</entry>
<entry>
<title>drm: move drm_mode related functions into drm_modes.c</title>
<updated>2014-03-13T11:48:40Z</updated>
<author>
<name>Daniel Vetter</name>
</author>
<published>2014-01-23T14:35:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8bd441b27e85834533df26a7f1c2c9289303c5ef'/>
<id>urn:sha1:8bd441b27e85834533df26a7f1c2c9289303c5ef</id>
<content type='text'>
Makes more sense and gives better grouping in the DocBook function
reference sections. To make this possible we need to expose two
functions from drm_crtc.c though. To avoid further namespace pollution
in the system wide headers create a new internal header for such drm
internal symbols.

I expect that longer-term we'll add tons more, but since my goal here
is to polish the kerneldoc that's for another day.

Reviewed-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
</content>
</entry>
<entry>
<title>drm/doc: Repleace LOCKING kerneldoc sections in drm_modes.c</title>
<updated>2014-03-13T11:48:39Z</updated>
<author>
<name>Daniel Vetter</name>
</author>
<published>2014-01-23T14:14:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=63951385052f7974155fa38f962f0f4e9847f90a'/>
<id>urn:sha1:63951385052f7974155fa38f962f0f4e9847f90a</id>
<content type='text'>
There's not really any value in stating that no locking is needed. And
even if the comment is useful, a check for the right mutex at the
beginning of the function is better since that can't be ingored as
easily as a bit of documentation.

Note that drm_mode_probed_add in drm_crtc.c is also changed, the next
patch will move this into drm_modes.c

v2: Don't add locking WARN_ONs where it is not strictly required (i.e.
the two functions to validate/prune mode lists).

Reviewed-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
</content>
</entry>
<entry>
<title>drm/doc: Integrate drm_modes.c kerneldoc</title>
<updated>2014-03-13T11:48:38Z</updated>
<author>
<name>Daniel Vetter</name>
</author>
<published>2014-01-23T14:06:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3ec0db819315c765b3c7bbf7e9dee2fe1f186f47'/>
<id>urn:sha1:3ec0db819315c765b3c7bbf7e9dee2fe1f186f47</id>
<content type='text'>
And clean it up so that there's no kerneldoc warnings. There's still a
lot to do with this one here.

Reviewed-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
</content>
</entry>
<entry>
<title>Revert "drm: copy mode type in drm_mode_connector_list_update()"</title>
<updated>2014-01-14T02:50:49Z</updated>
<author>
<name>Dave Airlie</name>
</author>
<published>2014-01-14T02:50:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=abce1ec9b08a4f318f431e6b9a12524227ae7109'/>
<id>urn:sha1:abce1ec9b08a4f318f431e6b9a12524227ae7109</id>
<content type='text'>
This reverts commit 3fbd6439e4639ecaeaae6c079e0aa497a1ac3482.

This caused some strange booting lockup issues on an Intel G33
belonging to Daniel Vetter, very unusual, I was hoping Daniel
would track this down, but it looks like instead I'll have to hack
a different fix for -next.

Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm: copy mode type in drm_mode_connector_list_update()</title>
<updated>2013-10-23T13:21:12Z</updated>
<author>
<name>Marc-André Lureau</name>
</author>
<published>2013-10-18T14:11:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3fbd6439e4639ecaeaae6c079e0aa497a1ac3482'/>
<id>urn:sha1:3fbd6439e4639ecaeaae6c079e0aa497a1ac3482</id>
<content type='text'>
In commit 38d5487db7f289be1d56ac7df704ee49ed3213b9, Keith explained:
    This patch simply merges the two mode type bits together; that seems
    reasonable to me, but perhaps only a subset of the bits should be
    used? None of these can be user defined as they all come from
    looking at just the hardware.

However, merging the bits means that a flag becomes sticky. It is not
possible, for example to update the mode type to remove the
DRM_MODE_TYPE_PREFERRED bit.

After a brief discussion with Dave Airlie on irc, it was agreed to
propose that change, instead of introducing another function to remove a
bit from exisiting modes type.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
</feed>
