<feed xmlns='http://www.w3.org/2005/Atom'>
<title>BMC/Intel-BMC/linux.git/drivers/gpu/drm/msm/msm_fb.c, branch dev-4.7</title>
<subtitle>Intel OpenBMC Linux kernel source tree (mirror)</subtitle>
<id>https://git.radix-linux.su/BMC/Intel-BMC/linux.git/atom?h=dev-4.7</id>
<link rel='self' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/atom?h=dev-4.7'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/'/>
<updated>2016-05-17T06:47:30+00:00</updated>
<entry>
<title>drm: Remove unused drm_device from drm_gem_object_lookup()</title>
<updated>2016-05-17T06:47:30+00:00</updated>
<author>
<name>Chris Wilson</name>
<email>chris@chris-wilson.co.uk</email>
</author>
<published>2016-05-09T10:04:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=a8ad0bd84f986072314595d05444719fdf29e412'/>
<id>urn:sha1:a8ad0bd84f986072314595d05444719fdf29e412</id>
<content type='text'>
drm_gem_object_lookup() has never required the drm_device for its file
local translation of the user handle to the GEM object. Let's remove the
unused parameter and save some space.

Signed-off-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Cc: dri-devel@lists.freedesktop.org
Cc: Dave Airlie &lt;airlied@redhat.com&gt;
Cc: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
[danvet: Fixup kerneldoc too.]
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
</content>
</entry>
<entry>
<title>drm/mode: introduce wrapper to read framebuffer refcount.</title>
<updated>2016-04-22T00:33:53+00:00</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@redhat.com</email>
</author>
<published>2016-04-15T05:10:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=747a598ffa7dff499ee93d414b74a08af6ec657e'/>
<id>urn:sha1:747a598ffa7dff499ee93d414b74a08af6ec657e</id>
<content type='text'>
Avoids drivers knowing where the kref is stored.

[airlied: add kerneldoc]
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm: Pass the user drm_mode_fb_cmd2 as const to .fb_create()</title>
<updated>2015-11-24T10:47:38+00:00</updated>
<author>
<name>Ville Syrjälä</name>
<email>ville.syrjala@linux.intel.com</email>
</author>
<published>2015-11-11T17:11:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=1eb83451ba55d7a8c82b76b1591894ff2d4a95f2'/>
<id>urn:sha1:1eb83451ba55d7a8c82b76b1591894ff2d4a95f2</id>
<content type='text'>
Drivers shouldn't clobber the passed in addfb ioctl parameters.
i915 was doing just that. To prevent it from happening again,
pass the struct around as const, starting all the way from
internal_framebuffer_create().

Signed-off-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
</content>
</entry>
<entry>
<title>drm/msm: fix unbalanced DRM framebuffer init/destroy</title>
<updated>2015-05-14T15:48:54+00:00</updated>
<author>
<name>Stephane Viau</name>
<email>sviau@codeaurora.org</email>
</author>
<published>2015-05-05T13:47:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=7194b62c8c99727e3f145b00b8390a905252370e'/>
<id>urn:sha1:7194b62c8c99727e3f145b00b8390a905252370e</id>
<content type='text'>
When msm_framebuffer_init() fails before calling drm_framebuffer_init(),
drm_framebuffer_cleanup() [called in msm_framebuffer_destroy()]
is still being called even though drm_framebuffer_init() was not
called for that buffer. Thus a NULL pointer derefencing:

[  247.529691] Unable to handle kernel NULL pointer dereference at virtual address 0000027c
...
[  247.563996] PC is at __mutex_lock_slowpath+0x94/0x3a8
...
[  247.823025] [&lt;c07c3c78&gt;] (__mutex_lock_slowpath) from [&lt;c07c3fac&gt;] (mutex_lock+0x20/0x3c)
[  247.831186] [&lt;c07c3fac&gt;] (mutex_lock) from [&lt;c0347cf0&gt;] (drm_framebuffer_cleanup+0x18/0x38)
[  247.839520] [&lt;c0347cf0&gt;] (drm_framebuffer_cleanup) from [&lt;c036d138&gt;] (msm_framebuffer_destroy+0x48/0x100)
[  247.849066] [&lt;c036d138&gt;] (msm_framebuffer_destroy) from [&lt;c036d580&gt;] (msm_framebuffer_init+0x1e8/0x228)
[  247.858439] [&lt;c036d580&gt;] (msm_framebuffer_init) from [&lt;c036d630&gt;] (msm_framebuffer_create+0x70/0x134)
[  247.867642] [&lt;c036d630&gt;] (msm_framebuffer_create) from [&lt;c03493ec&gt;] (internal_framebuffer_create+0x67c/0x7b4)
[  247.877537] [&lt;c03493ec&gt;] (internal_framebuffer_create) from [&lt;c034ce34&gt;] (drm_mode_addfb2+0x20/0x98)
[  247.886650] [&lt;c034ce34&gt;] (drm_mode_addfb2) from [&lt;c034071c&gt;] (drm_ioctl+0x240/0x420)
[  247.894378] [&lt;c034071c&gt;] (drm_ioctl) from [&lt;c011df7c&gt;] (do_vfs_ioctl+0x4e4/0x5a4)
...

Signed-off-by: Stephane Viau &lt;sviau@codeaurora.org&gt;
[plus initialize msm_fb to NULL to -Rob]
Signed-off-by: Rob Clark &lt;robdclark@gmail.com&gt;
</content>
</entry>
<entry>
<title>drm/msm/mdp5: add NV12 support for MDP5</title>
<updated>2015-02-01T20:30:35+00:00</updated>
<author>
<name>Stephane Viau</name>
<email>sviau@codeaurora.org</email>
</author>
<published>2014-12-08T15:48:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=f8d9b5156e966e701cb17c623ffd6ebe35cc3157'/>
<id>urn:sha1:f8d9b5156e966e701cb17c623ffd6ebe35cc3157</id>
<content type='text'>
This change adds the NV12 format support for public planes.

Signed-off-by: Stephane Viau &lt;sviau@codeaurora.org&gt;
Signed-off-by: Rob Clark &lt;robdclark@gmail.com&gt;
</content>
</entry>
<entry>
<title>drm/msm/mdp: add common YUV information for MDP4/MDP5</title>
<updated>2015-02-01T20:30:34+00:00</updated>
<author>
<name>Stephane Viau</name>
<email>sviau@codeaurora.org</email>
</author>
<published>2014-12-08T15:48:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=7ca12718b393a6b71fc62782a64737b5c9dc6d3c'/>
<id>urn:sha1:7ca12718b393a6b71fc62782a64737b5c9dc6d3c</id>
<content type='text'>
Both MDP4 and MDP5 share some code as far as YUV support is
concerned. This change adds this information and will be followed
by the actual MDP4 and MDP5 YUV support patches.

Signed-off-by: Stephane Viau &lt;sviau@codeaurora.org&gt;
Signed-off-by: Rob Clark &lt;robdclark@gmail.com&gt;
</content>
</entry>
<entry>
<title>drm/msm: atomic fixes</title>
<updated>2014-11-21T13:57:22+00:00</updated>
<author>
<name>Rob Clark</name>
<email>robdclark@gmail.com</email>
</author>
<published>2014-11-19T17:29:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=3e2f29e4137c78a3bd7e1b85cf287ff375f6367e'/>
<id>urn:sha1:3e2f29e4137c78a3bd7e1b85cf287ff375f6367e</id>
<content type='text'>
Fixes for a couple little issues found in testing.

Signed-off-by: Rob Clark &lt;robdclark@gmail.com&gt;
</content>
</entry>
<entry>
<title>drm/msm: bit of fb error checking</title>
<updated>2014-11-16T19:27:37+00:00</updated>
<author>
<name>Rob Clark</name>
<email>robdclark@gmail.com</email>
</author>
<published>2014-11-08T14:20:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=10291bff0a5f811310ac2f6d0e382d00907a2943'/>
<id>urn:sha1:10291bff0a5f811310ac2f6d0e382d00907a2943</id>
<content type='text'>
It's a problem that can't happen yet, since we don't support any
multi-planar formats yet.  But let's avoid nasty surprises when the
time comes.

Signed-off-by: Rob Clark &lt;robdclark@gmail.com&gt;
</content>
</entry>
<entry>
<title>drm/msm: fb prepare/cleanup</title>
<updated>2014-11-16T19:27:36+00:00</updated>
<author>
<name>Rob Clark</name>
<email>robdclark@gmail.com</email>
</author>
<published>2014-11-08T14:13:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=2638d90abbe7dc23448f6b6b723cb91344cf93aa'/>
<id>urn:sha1:2638d90abbe7dc23448f6b6b723cb91344cf93aa</id>
<content type='text'>
Atomic wants to split the prepare/pin from where we actually program the
scanout address (so that any part that can fail is done synchronously).
Add some fb/gem apis to make this easier to use from the kms parts.

Signed-off-by: Rob Clark &lt;robdclark@gmail.com&gt;
</content>
</entry>
<entry>
<title>drm/msm: split out msm_kms.h</title>
<updated>2014-01-09T19:44:04+00:00</updated>
<author>
<name>Rob Clark</name>
<email>robdclark@gmail.com</email>
</author>
<published>2013-11-30T21:12:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=dd2da6e34672100b5fd811fbf2cf97e29c08080f'/>
<id>urn:sha1:dd2da6e34672100b5fd811fbf2cf97e29c08080f</id>
<content type='text'>
Signed-off-by: Rob Clark &lt;robdclark@gmail.com&gt;
</content>
</entry>
</feed>
