<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-stable.git/drivers/gpu/drm/tilcdc, branch linux-3.14.y</title>
<subtitle>Linux kernel stable tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/'/>
<entry>
<title>drm/tilcdc: Fix the error path in tilcdc_load()</title>
<updated>2014-11-14T16:59:53+00:00</updated>
<author>
<name>Ezequiel Garcia</name>
<email>ezequiel@vanguardiasur.com.ar</email>
</author>
<published>2014-09-02T12:51:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=a2b44bbfd2e9450d87a9a482f463115b8415e356'/>
<id>a2b44bbfd2e9450d87a9a482f463115b8415e356</id>
<content type='text'>
commit b478e336b3e75505707a11e78ef8b964ef0a03af upstream.

The current error path calls tilcdc_unload() in case of an error to release
the resources. However, this is wrong because not all resources have been
allocated by the time an error occurs in tilcdc_load().

To fix it, this commit adds proper labels to bail out at the different
stages in the load function, and release only the resources actually allocated.

Tested-by: Darren Etheridge &lt;detheridge@ti.com&gt;
Tested-by: Johannes Pointner &lt;johannes.pointner@br-automation.com&gt;
Signed-off-by: Ezequiel Garcia &lt;ezequiel@vanguardiasur.com.ar&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Fixes: 3a49012224ca ("drm/tilcdc: panel: fix leak when unloading the module")
Signed-off-by: Matwey V. Kornilov &lt;matwey.kornilov@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit b478e336b3e75505707a11e78ef8b964ef0a03af upstream.

The current error path calls tilcdc_unload() in case of an error to release
the resources. However, this is wrong because not all resources have been
allocated by the time an error occurs in tilcdc_load().

To fix it, this commit adds proper labels to bail out at the different
stages in the load function, and release only the resources actually allocated.

Tested-by: Darren Etheridge &lt;detheridge@ti.com&gt;
Tested-by: Johannes Pointner &lt;johannes.pointner@br-automation.com&gt;
Signed-off-by: Ezequiel Garcia &lt;ezequiel@vanguardiasur.com.ar&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Fixes: 3a49012224ca ("drm/tilcdc: panel: fix leak when unloading the module")
Signed-off-by: Matwey V. Kornilov &lt;matwey.kornilov@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>drm/tilcdc: fix double kfree</title>
<updated>2014-10-05T21:52:09+00:00</updated>
<author>
<name>Guido Martínez</name>
<email>guido@vanguardiasur.com.ar</email>
</author>
<published>2014-06-17T14:17:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=a646ad34cce11edcc4261eefab5aa4746d67abd4'/>
<id>a646ad34cce11edcc4261eefab5aa4746d67abd4</id>
<content type='text'>
commit c9a3ad25eddfdb898114a9d73cdb4c3472d9dfca upstream.

display_timings_release calls kfree on the display_timings object passed
to it. Calling kfree after it is wrong. SLUB debug showed the following
warning:

    =============================================================================
    BUG kmalloc-64 (Tainted: G        W    ): Object already free
    -----------------------------------------------------------------------------

    Disabling lock debugging due to kernel taint
    INFO: Allocated in of_get_display_timings+0x2c/0x214 age=601 cpu=0
    pid=884
     __slab_alloc.constprop.79+0x2e0/0x33c
     kmem_cache_alloc+0xac/0xdc
     of_get_display_timings+0x2c/0x214
     panel_probe+0x7c/0x314 [tilcdc]
     platform_drv_probe+0x18/0x48
     [..snip..]
    INFO: Freed in panel_destroy+0x18/0x3c [tilcdc] age=0 cpu=0 pid=907
     __slab_free+0x34/0x330
     panel_destroy+0x18/0x3c [tilcdc]
     tilcdc_unload+0xd0/0x118 [tilcdc]
     drm_dev_unregister+0x24/0x98
     [..snip..]

Signed-off-by: Guido Martínez &lt;guido@vanguardiasur.com.ar&gt;
Tested-by: Darren Etheridge &lt;detheridge@ti.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit c9a3ad25eddfdb898114a9d73cdb4c3472d9dfca upstream.

display_timings_release calls kfree on the display_timings object passed
to it. Calling kfree after it is wrong. SLUB debug showed the following
warning:

    =============================================================================
    BUG kmalloc-64 (Tainted: G        W    ): Object already free
    -----------------------------------------------------------------------------

    Disabling lock debugging due to kernel taint
    INFO: Allocated in of_get_display_timings+0x2c/0x214 age=601 cpu=0
    pid=884
     __slab_alloc.constprop.79+0x2e0/0x33c
     kmem_cache_alloc+0xac/0xdc
     of_get_display_timings+0x2c/0x214
     panel_probe+0x7c/0x314 [tilcdc]
     platform_drv_probe+0x18/0x48
     [..snip..]
    INFO: Freed in panel_destroy+0x18/0x3c [tilcdc] age=0 cpu=0 pid=907
     __slab_free+0x34/0x330
     panel_destroy+0x18/0x3c [tilcdc]
     tilcdc_unload+0xd0/0x118 [tilcdc]
     drm_dev_unregister+0x24/0x98
     [..snip..]

Signed-off-by: Guido Martínez &lt;guido@vanguardiasur.com.ar&gt;
Tested-by: Darren Etheridge &lt;detheridge@ti.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>drm/tilcdc: fix release order on exit</title>
<updated>2014-10-05T21:52:08+00:00</updated>
<author>
<name>Guido Martínez</name>
<email>guido@vanguardiasur.com.ar</email>
</author>
<published>2014-06-17T14:17:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=636a7bc02c928da291d21eade568cdc4903be41f'/>
<id>636a7bc02c928da291d21eade568cdc4903be41f</id>
<content type='text'>
commit eb565a2bbadc6a5030a6dbe58db1aa52453e7edf upstream.

Unregister resources in the correct order on tilcdc_drm_fini, which is
the reverse order they were registered during tilcdc_drm_init.

This also means unregistering the driver before releasing its resources.

Signed-off-by: Guido Martínez &lt;guido@vanguardiasur.com.ar&gt;
Tested-by: Darren Etheridge &lt;detheridge@ti.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit eb565a2bbadc6a5030a6dbe58db1aa52453e7edf upstream.

Unregister resources in the correct order on tilcdc_drm_fini, which is
the reverse order they were registered during tilcdc_drm_init.

This also means unregistering the driver before releasing its resources.

Signed-off-by: Guido Martínez &lt;guido@vanguardiasur.com.ar&gt;
Tested-by: Darren Etheridge &lt;detheridge@ti.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>drm/tilcdc: panel: fix leak when unloading the module</title>
<updated>2014-10-05T21:52:08+00:00</updated>
<author>
<name>Guido Martínez</name>
<email>guido@vanguardiasur.com.ar</email>
</author>
<published>2014-06-17T14:17:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=7a342b44de8b85c60395a3f967bab39a6f51b9a6'/>
<id>7a342b44de8b85c60395a3f967bab39a6f51b9a6</id>
<content type='text'>
commit 3a49012224ca9016658a831a327ff6a7fe5bb4f9 upstream.

The driver did not unregister the allocated framebuffer, which caused
memory leaks (and memory manager WARNs) when unloading. Also, the
framebuffer device under /dev still existed after unloading.

Add a call to drm_fbdev_cma_fini when unloading the module to prevent
both issues.

Signed-off-by: Guido Martínez &lt;guido@vanguardiasur.com.ar&gt;
Tested-by: Darren Etheridge &lt;detheridge@ti.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 3a49012224ca9016658a831a327ff6a7fe5bb4f9 upstream.

The driver did not unregister the allocated framebuffer, which caused
memory leaks (and memory manager WARNs) when unloading. Also, the
framebuffer device under /dev still existed after unloading.

Add a call to drm_fbdev_cma_fini when unloading the module to prevent
both issues.

Signed-off-by: Guido Martínez &lt;guido@vanguardiasur.com.ar&gt;
Tested-by: Darren Etheridge &lt;detheridge@ti.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>drm/tilcdc: tfp410: fix dangling sysfs connector node</title>
<updated>2014-10-05T21:52:08+00:00</updated>
<author>
<name>Guido Martínez</name>
<email>guido@vanguardiasur.com.ar</email>
</author>
<published>2014-06-17T14:17:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=7bf11803c4eac1118b83683edee0e6f31911e713'/>
<id>7bf11803c4eac1118b83683edee0e6f31911e713</id>
<content type='text'>
commit 16dcbdef404f4e87dab985494381939fe0a2d456 upstream.

Add a drm_sysfs_connector_remove call when we destroy the panel to make
sure the connector node in sysfs gets deleted.

This is required for proper unload and re-load of this driver, otherwise
we will get a warning about a duplicate filename in sysfs.

Signed-off-by: Guido Martínez &lt;guido@vanguardiasur.com.ar&gt;
Tested-by: Darren Etheridge &lt;detheridge@ti.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 16dcbdef404f4e87dab985494381939fe0a2d456 upstream.

Add a drm_sysfs_connector_remove call when we destroy the panel to make
sure the connector node in sysfs gets deleted.

This is required for proper unload and re-load of this driver, otherwise
we will get a warning about a duplicate filename in sysfs.

Signed-off-by: Guido Martínez &lt;guido@vanguardiasur.com.ar&gt;
Tested-by: Darren Etheridge &lt;detheridge@ti.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>drm/tilcdc: slave: fix dangling sysfs connector node</title>
<updated>2014-10-05T21:52:08+00:00</updated>
<author>
<name>Guido Martínez</name>
<email>guido@vanguardiasur.com.ar</email>
</author>
<published>2014-06-17T14:17:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=0f0fb98b863860a7ade5ec34b91e57867e37b307'/>
<id>0f0fb98b863860a7ade5ec34b91e57867e37b307</id>
<content type='text'>
commit daa15b4cd1eee58eb1322062a3320b1dbe5dc96e upstream.

Add a drm_sysfs_connector_remove call when we destroy the panel to make
sure the connector node in sysfs gets deleted.

This is required for proper unload and re-load of this driver as a
module. Without this, we would get a warning at re-load time like so:

   tda998x 0-0070: found TDA19988
   ------------[ cut here ]------------
   WARNING: CPU: 0 PID: 825 at fs/sysfs/dir.c:31 sysfs_warn_dup+0x54/0x74()
   sysfs: cannot create duplicate filename '/class/drm/card0-HDMI-A-1'
   Modules linked in: [..]
   CPU: 0 PID: 825 Comm: modprobe Not tainted 3.15.0-rc4-00027-g9dcdef4 #82
   [&lt;c0013bb8&gt;] (unwind_backtrace) from [&lt;c0011824&gt;] (show_stack+0x10/0x14)
   [&lt;c0011824&gt;] (show_stack) from [&lt;c0034e8c&gt;] (warn_slowpath_common+0x68/0x88)
   [&lt;c0034e8c&gt;] (warn_slowpath_common) from [&lt;c0034edc&gt;] (warn_slowpath_fmt+0x30/0x40)
   [&lt;c0034edc&gt;] (warn_slowpath_fmt) from [&lt;c01243f4&gt;] (sysfs_warn_dup+0x54/0x74)
   [&lt;c01243f4&gt;] (sysfs_warn_dup) from [&lt;c0124708&gt;] (sysfs_do_create_link_sd.isra.2+0xb0/0xb8)
   [&lt;c0124708&gt;] (sysfs_do_create_link_sd.isra.2) from [&lt;c02ae37c&gt;] (device_add+0x338/0x520)
   [&lt;c02ae37c&gt;] (device_add) from [&lt;c02ae6e8&gt;] (device_create_groups_vargs+0xa0/0xc4)
   [&lt;c02ae6e8&gt;] (device_create_groups_vargs) from [&lt;c02ae758&gt;] (device_create+0x24/0x2c)
   [&lt;c02ae758&gt;] (device_create) from [&lt;c029b4ec&gt;] (drm_sysfs_connector_add+0x64/0x204)
   [&lt;c029b4ec&gt;] (drm_sysfs_connector_add) from [&lt;bf0b1b40&gt;] (slave_modeset_init+0x120/0x1bc [tilcdc])
   [&lt;bf0b1b40&gt;] (slave_modeset_init [tilcdc]) from [&lt;bf0b2be8&gt;] (tilcdc_load+0x214/0x4c0 [tilcdc])
   [&lt;bf0b2be8&gt;] (tilcdc_load [tilcdc]) from [&lt;c029955c&gt;] (drm_dev_register+0xa4/0x104)
      [..snip..]
   ---[ end trace 4df8d614936ebdee ]---
   [drm:drm_sysfs_connector_add] *ERROR* failed to register connector device: -17

Signed-off-by: Guido Martínez &lt;guido@vanguardiasur.com.ar&gt;
Tested-by: Darren Etheridge &lt;detheridge@ti.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit daa15b4cd1eee58eb1322062a3320b1dbe5dc96e upstream.

Add a drm_sysfs_connector_remove call when we destroy the panel to make
sure the connector node in sysfs gets deleted.

This is required for proper unload and re-load of this driver as a
module. Without this, we would get a warning at re-load time like so:

   tda998x 0-0070: found TDA19988
   ------------[ cut here ]------------
   WARNING: CPU: 0 PID: 825 at fs/sysfs/dir.c:31 sysfs_warn_dup+0x54/0x74()
   sysfs: cannot create duplicate filename '/class/drm/card0-HDMI-A-1'
   Modules linked in: [..]
   CPU: 0 PID: 825 Comm: modprobe Not tainted 3.15.0-rc4-00027-g9dcdef4 #82
   [&lt;c0013bb8&gt;] (unwind_backtrace) from [&lt;c0011824&gt;] (show_stack+0x10/0x14)
   [&lt;c0011824&gt;] (show_stack) from [&lt;c0034e8c&gt;] (warn_slowpath_common+0x68/0x88)
   [&lt;c0034e8c&gt;] (warn_slowpath_common) from [&lt;c0034edc&gt;] (warn_slowpath_fmt+0x30/0x40)
   [&lt;c0034edc&gt;] (warn_slowpath_fmt) from [&lt;c01243f4&gt;] (sysfs_warn_dup+0x54/0x74)
   [&lt;c01243f4&gt;] (sysfs_warn_dup) from [&lt;c0124708&gt;] (sysfs_do_create_link_sd.isra.2+0xb0/0xb8)
   [&lt;c0124708&gt;] (sysfs_do_create_link_sd.isra.2) from [&lt;c02ae37c&gt;] (device_add+0x338/0x520)
   [&lt;c02ae37c&gt;] (device_add) from [&lt;c02ae6e8&gt;] (device_create_groups_vargs+0xa0/0xc4)
   [&lt;c02ae6e8&gt;] (device_create_groups_vargs) from [&lt;c02ae758&gt;] (device_create+0x24/0x2c)
   [&lt;c02ae758&gt;] (device_create) from [&lt;c029b4ec&gt;] (drm_sysfs_connector_add+0x64/0x204)
   [&lt;c029b4ec&gt;] (drm_sysfs_connector_add) from [&lt;bf0b1b40&gt;] (slave_modeset_init+0x120/0x1bc [tilcdc])
   [&lt;bf0b1b40&gt;] (slave_modeset_init [tilcdc]) from [&lt;bf0b2be8&gt;] (tilcdc_load+0x214/0x4c0 [tilcdc])
   [&lt;bf0b2be8&gt;] (tilcdc_load [tilcdc]) from [&lt;c029955c&gt;] (drm_dev_register+0xa4/0x104)
      [..snip..]
   ---[ end trace 4df8d614936ebdee ]---
   [drm:drm_sysfs_connector_add] *ERROR* failed to register connector device: -17

Signed-off-by: Guido Martínez &lt;guido@vanguardiasur.com.ar&gt;
Tested-by: Darren Etheridge &lt;detheridge@ti.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>drm/tilcdc: panel: fix dangling sysfs connector node</title>
<updated>2014-10-05T21:52:08+00:00</updated>
<author>
<name>Guido Martínez</name>
<email>guido@vanguardiasur.com.ar</email>
</author>
<published>2014-06-17T14:17:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=b6f4e53012e4fdeef758bdd450db234fc67a202e'/>
<id>b6f4e53012e4fdeef758bdd450db234fc67a202e</id>
<content type='text'>
commit e396900e649b0af31161634d87fe37076f46c12b upstream.

Add a drm_sysfs_connector_remove call when we destroy the panel to make
sure the connector node in sysfs gets deleted.

This is required for proper unload and re-load of this driver as a
module. Without this, we would get a warning at re-load time like so:

   ------------[ cut here ]------------
   WARNING: CPU: 0 PID: 824 at fs/sysfs/dir.c:31 sysfs_warn_dup+0x54/0x74()
   sysfs: cannot create duplicate filename '/class/drm/card0-LVDS-1'
   Modules linked in: [...]
   CPU: 0 PID: 824 Comm: modprobe Not tainted 3.15.0-rc4-00027-g6484f96-dirty #81
   [&lt;c0013bb8&gt;] (unwind_backtrace) from [&lt;c0011824&gt;] (show_stack+0x10/0x14)
   [&lt;c0011824&gt;] (show_stack) from [&lt;c0034e8c&gt;] (warn_slowpath_common+0x68/0x88)
   [&lt;c0034e8c&gt;] (warn_slowpath_common) from [&lt;c0034edc&gt;] (warn_slowpath_fmt+0x30/0x40)
   [&lt;c0034edc&gt;] (warn_slowpath_fmt) from [&lt;c01243f4&gt;] (sysfs_warn_dup+0x54/0x74)
   [&lt;c01243f4&gt;] (sysfs_warn_dup) from [&lt;c0124708&gt;] (sysfs_do_create_link_sd.isra.2+0xb0/0xb8)
   [&lt;c0124708&gt;] (sysfs_do_create_link_sd.isra.2) from [&lt;c02ae37c&gt;] (device_add+0x338/0x520)
   [&lt;c02ae37c&gt;] (device_add) from [&lt;c02ae6e8&gt;] (device_create_groups_vargs+0xa0/0xc4)
   [&lt;c02ae6e8&gt;] (device_create_groups_vargs) from [&lt;c02ae758&gt;] (device_create+0x24/0x2c)
   [&lt;c02ae758&gt;] (device_create) from [&lt;c029b4ec&gt;] (drm_sysfs_connector_add+0x64/0x204)
   [&lt;c029b4ec&gt;] (drm_sysfs_connector_add) from [&lt;bf0b1fec&gt;] (panel_modeset_init+0xb8/0x134 [tilcdc])
   [&lt;bf0b1fec&gt;] (panel_modeset_init [tilcdc]) from [&lt;bf0b2bf0&gt;] (tilcdc_load+0x214/0x4c0 [tilcdc])
   [&lt;bf0b2bf0&gt;] (tilcdc_load [tilcdc]) from [&lt;c029955c&gt;] (drm_dev_register+0xa4/0x104)
      [ .. snip .. ]
   ---[ end trace b2d09cd9578b0497 ]---
   [drm:drm_sysfs_connector_add] *ERROR* failed to register connector device: -17

Signed-off-by: Guido Martínez &lt;guido@vanguardiasur.com.ar&gt;
Tested-by: Darren Etheridge &lt;detheridge@ti.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit e396900e649b0af31161634d87fe37076f46c12b upstream.

Add a drm_sysfs_connector_remove call when we destroy the panel to make
sure the connector node in sysfs gets deleted.

This is required for proper unload and re-load of this driver as a
module. Without this, we would get a warning at re-load time like so:

   ------------[ cut here ]------------
   WARNING: CPU: 0 PID: 824 at fs/sysfs/dir.c:31 sysfs_warn_dup+0x54/0x74()
   sysfs: cannot create duplicate filename '/class/drm/card0-LVDS-1'
   Modules linked in: [...]
   CPU: 0 PID: 824 Comm: modprobe Not tainted 3.15.0-rc4-00027-g6484f96-dirty #81
   [&lt;c0013bb8&gt;] (unwind_backtrace) from [&lt;c0011824&gt;] (show_stack+0x10/0x14)
   [&lt;c0011824&gt;] (show_stack) from [&lt;c0034e8c&gt;] (warn_slowpath_common+0x68/0x88)
   [&lt;c0034e8c&gt;] (warn_slowpath_common) from [&lt;c0034edc&gt;] (warn_slowpath_fmt+0x30/0x40)
   [&lt;c0034edc&gt;] (warn_slowpath_fmt) from [&lt;c01243f4&gt;] (sysfs_warn_dup+0x54/0x74)
   [&lt;c01243f4&gt;] (sysfs_warn_dup) from [&lt;c0124708&gt;] (sysfs_do_create_link_sd.isra.2+0xb0/0xb8)
   [&lt;c0124708&gt;] (sysfs_do_create_link_sd.isra.2) from [&lt;c02ae37c&gt;] (device_add+0x338/0x520)
   [&lt;c02ae37c&gt;] (device_add) from [&lt;c02ae6e8&gt;] (device_create_groups_vargs+0xa0/0xc4)
   [&lt;c02ae6e8&gt;] (device_create_groups_vargs) from [&lt;c02ae758&gt;] (device_create+0x24/0x2c)
   [&lt;c02ae758&gt;] (device_create) from [&lt;c029b4ec&gt;] (drm_sysfs_connector_add+0x64/0x204)
   [&lt;c029b4ec&gt;] (drm_sysfs_connector_add) from [&lt;bf0b1fec&gt;] (panel_modeset_init+0xb8/0x134 [tilcdc])
   [&lt;bf0b1fec&gt;] (panel_modeset_init [tilcdc]) from [&lt;bf0b2bf0&gt;] (tilcdc_load+0x214/0x4c0 [tilcdc])
   [&lt;bf0b2bf0&gt;] (tilcdc_load [tilcdc]) from [&lt;c029955c&gt;] (drm_dev_register+0xa4/0x104)
      [ .. snip .. ]
   ---[ end trace b2d09cd9578b0497 ]---
   [drm:drm_sysfs_connector_add] *ERROR* failed to register connector device: -17

Signed-off-by: Guido Martínez &lt;guido@vanguardiasur.com.ar&gt;
Tested-by: Darren Etheridge &lt;detheridge@ti.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>drm: store the gem vma offset manager in a typed pointer</title>
<updated>2014-01-14T02:38:32+00:00</updated>
<author>
<name>Daniel Vetter</name>
<email>daniel.vetter@ffwll.ch</email>
</author>
<published>2013-12-11T13:24:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=b04a590623661132fbafdda53a6566b227dc39cf'/>
<id>b04a590623661132fbafdda53a6566b227dc39cf</id>
<content type='text'>
This was hidden in a generic void * dev-&gt;mm_private. But only ever
used for gem. But thanks to this fake generic pretension no one
noticed that Rob's drm drivers are now all broken.

So just give the offset manager a type pointer and fix up msm, omapdrm
and tilcdc.

v2: Fixup compile fail.

v3: Fixup rebase fail that David spotted.

Cc: David Herrmann &lt;dh.herrmann@gmail.com&gt;
Cc: Rob Clark &lt;robdclark@gmail.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was hidden in a generic void * dev-&gt;mm_private. But only ever
used for gem. But thanks to this fake generic pretension no one
noticed that Rob's drm drivers are now all broken.

So just give the offset manager a type pointer and fix up msm, omapdrm
and tilcdc.

v2: Fixup compile fail.

v3: Fixup rebase fail that David spotted.

Cc: David Herrmann &lt;dh.herrmann@gmail.com&gt;
Cc: Rob Clark &lt;robdclark@gmail.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drm: Kill DRM_IRQ_ARGS</title>
<updated>2013-12-18T01:33:46+00:00</updated>
<author>
<name>Daniel Vetter</name>
<email>daniel.vetter@ffwll.ch</email>
</author>
<published>2013-12-11T10:34:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=e9f0d76f3bcd4dda7136baaaaf45bda3b13ff40f'/>
<id>e9f0d76f3bcd4dda7136baaaaf45bda3b13ff40f</id>
<content type='text'>
I've killed them a long time ago in drm/i915, let's get rid of this
remnant of shared drm core days for good.

Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I've killed them a long time ago in drm/i915, let's get rid of this
remnant of shared drm core days for good.

Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drm/tilcdc: call drm_put_dev directly from -&gt;remove</title>
<updated>2013-12-18T01:05:43+00:00</updated>
<author>
<name>Daniel Vetter</name>
<email>daniel.vetter@ffwll.ch</email>
</author>
<published>2013-12-11T10:34:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=c84b4356571d8fb34acbc5522b07f256c0347a22'/>
<id>c84b4356571d8fb34acbc5522b07f256c0347a22</id>
<content type='text'>
tilcdc already stores the drm_device in the driver data pointer. So
use that.

Cc: Rob Clark &lt;robdclark@gmail.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Reviewed-by: Rob Clark &lt;robdclark@gmail.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
tilcdc already stores the drm_device in the driver data pointer. So
use that.

Cc: Rob Clark &lt;robdclark@gmail.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Reviewed-by: Rob Clark &lt;robdclark@gmail.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
