<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - vgaswitcheroo issues on Linux 3.12"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=70687">70687</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>vgaswitcheroo issues on Linux 3.12
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>krejzi@email.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/Radeon
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I have a hybrid graphics laptop with Radeon HD 6450M and Intel HD 3000 graphics
card. When I try to turn off the discrete (Radeon) card, I see these warnings

[   22.571557] radeon: switched off
[   22.574274] [drm] Disabling audio 0 support
[   22.722913] vgaarb: device changed decodes:
PCI:0000:00:02.0,olddecodes=none,decodes=io+mem:owns=none
[   22.723011] [drm:rv770_stop_dpm] *ERROR* Could not force DPM to low.
[   22.724032] [drm] radeon: finishing device.
[   22.725203] radeon 0000:01:00.0: ffff8801d829b000 unpin not necessary
[   22.731923] ------------[ cut here ]------------
[   22.731929] WARNING: CPU: 0 PID: 30 at drivers/gpu/drm/drm_mm.c:578
ttm_bo_man_takedown+0x29/0x53()
[   22.731930] Memory manager not clean during takedown.
[   22.731931] Modules linked in: wl(PO)
[   22.731935] CPU: 0 PID: 30 Comm: kworker/0:1 Tainted: P           O
3.12.0-rc6-krejzi #1
[   22.731936] Hardware name: Hewlett-Packard HP Pavilion g6 Notebook PC     
/1670, BIOS F.66 01/24/2013
[   22.731940] Workqueue: kacpi_hotplug hotplug_event_work
[   22.731941]  0000000000000000 ffffffff8173bd07 ffff8801d8b07bb8
ffffffff810b4d94
[   22.731943]  ffffffff813c8999 ffff8801d826d480 ffff8801d8b07c08
ffffffff81c590f0
[   22.731945]  ffff8801d8ad9000 ffffffff810b4df0 ffffffff81ac0ef9
0000000000000018
[   22.731947] Call Trace:
[   22.731951]  [<ffffffff8173bd07>] ? dump_stack+0x41/0x51
[   22.731954]  [<ffffffff810b4d94>] ? warn_slowpath_common+0x6f/0x84
[   22.731956]  [<ffffffff813c8999>] ? ttm_bo_man_takedown+0x29/0x53
[   22.731958]  [<ffffffff810b4df0>] ? warn_slowpath_fmt+0x47/0x49
[   22.731962]  [<ffffffff813c4f3d>] ? ttm_bo_force_list_clean+0x35/0x8f
[   22.731963]  [<ffffffff813c8999>] ? ttm_bo_man_takedown+0x29/0x53
[   22.731966]  [<ffffffff813de2dd>] ? radeon_ttm_fini+0x70/0xc2
[   22.731969]  [<ffffffff813deb85>] ? radeon_bo_fini+0x9/0x15
[   22.731971]  [<ffffffff8141929f>] ? evergreen_fini+0x9a/0xbb
[   22.731973]  [<ffffffff813cb17a>] ? radeon_device_fini+0x31/0xe8
[   22.731976]  [<ffffffff813cc71d>] ? radeon_driver_unload_kms+0x33/0x4b
[   22.731977]  [<ffffffff813b2c0f>] ? drm_put_dev+0x6e/0x162
[   22.731981]  [<ffffffff81333536>] ? pci_device_remove+0x38/0x80
[   22.731984]  [<ffffffff814c09c0>] ? __device_release_driver+0x7e/0xd4
[   22.731986]  [<ffffffff814c0a2f>] ? device_release_driver+0x19/0x23
[   22.731988]  [<ffffffff814c0437>] ? bus_remove_device+0xf1/0x106
[   22.731990]  [<ffffffff814be08e>] ? device_del+0x124/0x17a
[   22.731992]  [<ffffffff8132effa>] ? pci_stop_bus_device+0x3f/0x83
[   22.731993]  [<ffffffff8132f10f>] ? pci_stop_and_remove_bus_device+0x9/0x12
[   22.731995]  [<ffffffff81343c04>] ? disable_slot+0x5f/0x9a
[   22.731998]  [<ffffffff81343cb1>] ? acpiphp_check_bridge+0x72/0x88
[   22.732000]  [<ffffffff8134490b>] ? hotplug_event+0x128/0x1a9
[   22.732002]  [<ffffffff813593b2>] ? acpi_os_release_object+0x5/0x8
[   22.732005]  [<ffffffff813449a9>] ? hotplug_event_work+0x1d/0x45
[   22.732007]  [<ffffffff810c61d4>] ? process_one_work+0x15a/0x215
[   22.732008]  [<ffffffff810c663a>] ? worker_thread+0x139/0x1de
[   22.732009]  [<ffffffff810c6501>] ? rescuer_thread+0x24f/0x24f
[   22.732012]  [<ffffffff810ca953>] ? kthread+0x7d/0x85
[   22.732014]  [<ffffffff810d0000>] ? smpboot_thread_fn+0x58/0x15a
[   22.732016]  [<ffffffff810ca8d6>] ? __kthread_parkme+0x59/0x59
[   22.732019]  [<ffffffff817431fc>] ? ret_from_fork+0x7c/0xb0
[   22.732021]  [<ffffffff810ca8d6>] ? __kthread_parkme+0x59/0x59
[   22.732022] ---[ end trace f0e6c4701bfb902e ]---
[   22.732027] [TTM] Finalizing pool allocator
[   22.732030] [TTM] Finalizing DMA pool allocator
[   22.732033] ------------[ cut here ]------------
[   22.732036] WARNING: CPU: 0 PID: 30 at
drivers/gpu/drm/ttm/ttm_page_alloc_dma.c:533 ttm_dma_free_pool+0xaa/0xcf()
[   22.732036] Modules linked in: wl(PO)
[   22.732038] CPU: 0 PID: 30 Comm: kworker/0:1 Tainted: P        W  O
3.12.0-rc6-krejzi #1
[   22.732039] Hardware name: Hewlett-Packard HP Pavilion g6 Notebook PC     
/1670, BIOS F.66 01/24/2013
[   22.732041] Workqueue: kacpi_hotplug hotplug_event_work
[   22.732042]  0000000000000000 ffffffff8173bd07 0000000000000000
ffffffff810b4d94
[   22.732044]  ffffffff813c910a ffff8801d826d540 ffff8801d8b08280
0000000000000008
[   22.732045]  ffff8801d8ad9000 ffffffff813c910a ffff8801d7c10128
ffff8801d7c10128
[   22.732047] Call Trace:
[   22.732049]  [<ffffffff8173bd07>] ? dump_stack+0x41/0x51
[   22.732051]  [<ffffffff810b4d94>] ? warn_slowpath_common+0x6f/0x84
[   22.732052]  [<ffffffff813c910a>] ? ttm_dma_free_pool+0xaa/0xcf
[   22.732054]  [<ffffffff813c910a>] ? ttm_dma_free_pool+0xaa/0xcf
[   22.732056]  [<ffffffff813c9c57>] ? ttm_dma_page_alloc_fini+0x82/0xa3
[   22.732058]  [<ffffffff813c2ac4>] ? ttm_mem_global_release+0x13/0x65
[   22.732060]  [<ffffffff813bf9a1>] ? drm_global_item_unref+0x49/0x60
[   22.732062]  [<ffffffff813de30e>] ? radeon_ttm_fini+0xa1/0xc2
[   22.732064]  [<ffffffff813deb85>] ? radeon_bo_fini+0x9/0x15
[   22.732066]  [<ffffffff8141929f>] ? evergreen_fini+0x9a/0xbb
[   22.732067]  [<ffffffff813cb17a>] ? radeon_device_fini+0x31/0xe8
[   22.732069]  [<ffffffff813cc71d>] ? radeon_driver_unload_kms+0x33/0x4b
[   22.732071]  [<ffffffff813b2c0f>] ? drm_put_dev+0x6e/0x162
[   22.732073]  [<ffffffff81333536>] ? pci_device_remove+0x38/0x80
[   22.732075]  [<ffffffff814c09c0>] ? __device_release_driver+0x7e/0xd4
[   22.732077]  [<ffffffff814c0a2f>] ? device_release_driver+0x19/0x23
[   22.732079]  [<ffffffff814c0437>] ? bus_remove_device+0xf1/0x106
[   22.732080]  [<ffffffff814be08e>] ? device_del+0x124/0x17a
[   22.732082]  [<ffffffff8132effa>] ? pci_stop_bus_device+0x3f/0x83
[   22.732083]  [<ffffffff8132f10f>] ? pci_stop_and_remove_bus_device+0x9/0x12
[   22.732085]  [<ffffffff81343c04>] ? disable_slot+0x5f/0x9a
[   22.732087]  [<ffffffff81343cb1>] ? acpiphp_check_bridge+0x72/0x88
[   22.732089]  [<ffffffff8134490b>] ? hotplug_event+0x128/0x1a9
[   22.732091]  [<ffffffff813593b2>] ? acpi_os_release_object+0x5/0x8
[   22.732093]  [<ffffffff813449a9>] ? hotplug_event_work+0x1d/0x45
[   22.732095]  [<ffffffff810c61d4>] ? process_one_work+0x15a/0x215
[   22.732096]  [<ffffffff810c663a>] ? worker_thread+0x139/0x1de
[   22.732097]  [<ffffffff810c6501>] ? rescuer_thread+0x24f/0x24f
[   22.732099]  [<ffffffff810ca953>] ? kthread+0x7d/0x85
[   22.732101]  [<ffffffff810d0000>] ? smpboot_thread_fn+0x58/0x15a
[   22.732103]  [<ffffffff810ca8d6>] ? __kthread_parkme+0x59/0x59
[   22.732105]  [<ffffffff817431fc>] ? ret_from_fork+0x7c/0xb0
[   22.732107]  [<ffffffff810ca8d6>] ? __kthread_parkme+0x59/0x59
[   22.732108] ---[ end trace f0e6c4701bfb902f ]---
[   22.732134] [TTM] Zone  kernel: Used memory at exit: 13 kiB
[   22.732144] [TTM] Zone   dma32: Used memory at exit: 13 kiB
[   22.732145] [drm] radeon: ttm finalized
[   22.732147] vga_switcheroo: disabled</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>