<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/Documentation/gpu/drm-internals.rst, branch linux-4.12.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.12.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.12.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-04-04T18:47:54Z</updated>
<entry>
<title>drm: document drm_ioctl.[hc]</title>
<updated>2017-04-04T18:47:54Z</updated>
<author>
<name>Daniel Vetter</name>
</author>
<published>2017-04-04T09:52:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2640981f36004085eeff65849410121809fcf560'/>
<id>urn:sha1:2640981f36004085eeff65849410121809fcf560</id>
<content type='text'>
Also unify/merge with the existing stuff.

I was a bit torn where to put this, but in the end I decided to put
all the ioctl/sysfs/debugfs stuff into drm-uapi.rst. That means we
have a bit a split with the other uapi related stuff used internally,
like drm_file.[hc], but I think overall this makes more sense.

If it's too confusing we can always add more cross-links to make it
more discoverable. But the auto-sprinkling of links kernel-doc already
does seems sufficient.

Also for prettier docs and more cross-links, switch the internal
defines over to an enum, as usual.

v2: Update kerneldoc fro drm_compat_ioctl too (caught by 0day), plus a
bit more drive-by polish.

v3: Fix typo, spotted by xerpi on irc (Sergi).

v4: Add missing space in comment (Neil).

Cc: Sergi Granell &lt;xerpi.g.12@gmail.com&gt;
Reviewed-by: Neil Armstrong &lt;narmstrong@baylibre.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@intel.com&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/20170404095304.17599-4-daniel.vetter@ffwll.ch
</content>
</entry>
<entry>
<title>drm/doc: Consistent kerneldoc include order</title>
<updated>2017-03-14T14:13:20Z</updated>
<author>
<name>Daniel Vetter</name>
</author>
<published>2017-03-02T15:16:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1ea3576874790ba81ab00c3a0f1a3fc23e687062'/>
<id>urn:sha1:1ea3576874790ba81ab00c3a0f1a3fc23e687062</id>
<content type='text'>
First overview text (if there is any), then headers (since generally
you want to start out with the data structures), then all the other
stuff with functions.

Most of this is pre-shpinx, since with the old docbook only the
overview stuff was pulled in directly. Everything else was put in a
per-section index, so include order didn't really matter.

Acked-by: Eric Anholt &lt;eric@anholt.net&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@intel.com&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/20170302151638.1882-4-daniel.vetter@ffwll.ch
</content>
</entry>
<entry>
<title>drm/doc: Document drm_file.[hc]</title>
<updated>2017-03-14T13:38:33Z</updated>
<author>
<name>Daniel Vetter</name>
</author>
<published>2017-03-08T14:12:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b93658f83fa7f89cde5cfba7158da2be8cac42b2'/>
<id>urn:sha1:b93658f83fa7f89cde5cfba7158da2be8cac42b2</id>
<content type='text'>
Well, mostly drm_file.h, and clean up all related things:

- I didnt' figure out the difference between preclose and postclose.
  The existing explanation in drm-internals.rst didn't convince me,
  since it's also really outdated - we clean up pending DRM events in
  the core nowadays. I put a FIXME in for the future.

- Another FIXME is to have a macro for default fops.

- Lots of links all around, main areas are to tie the overview in
  drm_file.c more into the callbacks in struct drm_device, and the
  other is to link render/primary node code to the right sections in
  drm-uapi.rst.

- Also moved the open/close stuff to drm_drv.h from drm-internals.rst,
  seems like the better place for that information. Since that section
  was rather outdated this amounted to full-on rewrite.

A big missing piece here is some overview graph, but I think better to
wait with that one until drm_device and drm_driver are also fully
documented.

v2: Nits from Sean.

Reviewed-by: Sean Paul &lt;seanpaul@chromium.org&gt;
Reviewed-by: Liviu Dudau &lt;Liviu.Dudau@arm.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@intel.com&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/20170308141257.12119-12-daniel.vetter@ffwll.ch
</content>
</entry>
<entry>
<title>Merge branch 'drm/next/platform' of git://linuxtv.org/pinchartl/media into drm-misc-next</title>
<updated>2017-03-11T10:46:03Z</updated>
<author>
<name>Daniel Vetter</name>
</author>
<published>2017-03-11T10:46:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a45216547e8925078b18b2a6b539100c3814e973'/>
<id>urn:sha1:a45216547e8925078b18b2a6b539100c3814e973</id>
<content type='text'>
Merge Laurent's drm_platform removal code. Only conflict is with the
drm_pci.h extraction, which allows me to fix up the misplayed
drm_platform_init fumble that 0day and Stephen Rothwell reported.

Signed-off-by: Daniel Vetter &lt;daniel.vetter@intel.com&gt;
</content>
</entry>
<entry>
<title>drm: rename drm_fops.c to drm_file.c</title>
<updated>2017-03-09T15:18:02Z</updated>
<author>
<name>Daniel Vetter</name>
</author>
<published>2017-03-08T14:12:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9acdac68bcdc8c186353e5575a872465e103de74'/>
<id>urn:sha1:9acdac68bcdc8c186353e5575a872465e103de74</id>
<content type='text'>
It's not just file ops, but drm_file stuff in general. This is prep
work to extracting a drm_file.h header in the next patch.

Reviewed-by: Gustavo Padovan &lt;gustavo.padovan@collabora.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@intel.com&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/20170308141257.12119-8-daniel.vetter@ffwll.ch
</content>
</entry>
<entry>
<title>drm: Remove unused drm_platform midlayer</title>
<updated>2017-02-17T13:27:23Z</updated>
<author>
<name>Laurent Pinchart</name>
</author>
<published>2016-12-13T19:24:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=620f74f51ccd9c954530655e46ce5907d88f1e9a'/>
<id>urn:sha1:620f74f51ccd9c954530655e46ce5907d88f1e9a</id>
<content type='text'>
Now that the last driver has been converted, the drm_platform midlayer
is unused. Remove it.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart+renesas@ideasonboard.com&gt;
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch
Reviewed-by: Sean Paul &lt;seanpaul@chromium.org&gt;
</content>
</entry>
<entry>
<title>drm/print: Move kerneldoc next to definition</title>
<updated>2016-11-15T11:55:24Z</updated>
<author>
<name>Daniel Vetter</name>
</author>
<published>2016-11-14T11:58:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2d5e836de7b24fa79c67085689ee8160302c76a9'/>
<id>urn:sha1:2d5e836de7b24fa79c67085689ee8160302c76a9</id>
<content type='text'>
kerneldoc expects the comment next to definitions, otherwise it can't
pick up exported vs. internal stuff.

This fixes a warning from the doc build done with:

$ make DOCBOOKS="" htmldocs

Fixes: d8187177b0b1 ("drm: add helper for printing to log or seq_file")
Cc: Rob Clark &lt;robdclark@gmail.com&gt;
Cc: Sean Paul &lt;seanpaul@chromium.org&gt;
Reviewed-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@intel.com&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/20161114115825.22050-8-daniel.vetter@ffwll.ch
</content>
</entry>
<entry>
<title>drm: Clean up kerneldoc for struct drm_driver</title>
<updated>2016-11-15T11:51:16Z</updated>
<author>
<name>Daniel Vetter</name>
</author>
<published>2016-11-14T11:58:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6c4789edc55d5a0acefc85380d7a3f7c4f21c7cd'/>
<id>urn:sha1:6c4789edc55d5a0acefc85380d7a3f7c4f21c7cd</id>
<content type='text'>
Just cleans up what's there, still plenty missing.

Reviewed-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/20161114115825.22050-6-daniel.vetter@ffwll.ch
</content>
</entry>
<entry>
<title>drm: add helper for printing to log or seq_file</title>
<updated>2016-11-08T21:38:03Z</updated>
<author>
<name>Rob Clark</name>
</author>
<published>2016-11-05T15:08:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d8187177b0b195368699ba12b5fa8cd5fdc39b79'/>
<id>urn:sha1:d8187177b0b195368699ba12b5fa8cd5fdc39b79</id>
<content type='text'>
Sometimes it is nice not to duplicate equivalent printk() and
seq_printf() code.

v2: simplify things w/ va_format, and use dev_printk, docs

Signed-off-by: Rob Clark &lt;robdclark@gmail.com&gt;
Signed-off-by: Sean Paul &lt;seanpaul@chromium.org&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/1478358492-30738-3-git-send-email-robdclark@gmail.com
</content>
</entry>
<entry>
<title>drm: Mark up legacy/dri1 drivers with DRM_LEGACY</title>
<updated>2016-08-08T08:05:22Z</updated>
<author>
<name>Daniel Vetter</name>
</author>
<published>2016-08-03T19:11:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3cbf6a5deb2f4a469de7a90a3cc169e8fcba95e2'/>
<id>urn:sha1:3cbf6a5deb2f4a469de7a90a3cc169e8fcba95e2</id>
<content type='text'>
It's super confusing that new drivers need to be marked with
DRIVER_MODESET when really it means DRIVER_MODERN. Much better to
invert the meaning and rename it to something that's suitably
off-putting.

Since there's over 100 places using DRIVER_MODESET we need to roll out
this change without a flag day.

v2: Update docs.

Reviewed-by: Frank Binns &lt;frank.binns@imgtec.com&gt;
Reviewed-by: David Herrmann &lt;dh.herrmann@gmail.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@intel.com&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/1470251470-30830-1-git-send-email-daniel.vetter@ffwll.ch
</content>
</entry>
</feed>
