bugzilla-daemon | 31 Oct 01:33 2014

[Bug 85667] New: GPU lockup when playing H264 video with vlc on Radeon 3850HD and R600_uvd.bin loaded

Bug ID Summary Product Version Hardware OS Status Severity Priority Component Assignee Reporter
85667
GPU lockup when playing H264 video with vlc on Radeon 3850HD and R600_uvd.bin loaded
Mesa
unspecified
x86-64 (AMD64)
Linux (All)
NEW
normal
medium
Drivers/Gallium/r600
dri-devel <at> lists.freedesktop.org
arthur.marsh <at> internode.on.net

When playing an H264 encoded video with vlc from Debian unstable with Radeon 3850HD and R600_uvd.bin loaded with kernel 3.18.0-rc2+ (Linus git head), I encountered: [ 5113.478824] radeon 0000:01:00.0: ring 5 stalled for more than 10000msec [ 5113.478833] radeon 0000:01:00.0: GPU lockup (current fence id 0x00000000000008e9 last fence id 0x00000000000008eb on ring 5) [ 5113.728849] radeon 0000:01:00.0: Saved 169 dwords of commands on ring 0. [ 5113.728864] radeon 0000:01:00.0: GPU softreset: 0x00000008 [ 5113.728867] radeon 0000:01:00.0: R_008010_GRBM_STATUS = 0xA0003030 [ 5113.728870] radeon 0000:01:00.0: R_008014_GRBM_STATUS2 = 0x00000003 [ 5113.728872] radeon 0000:01:00.0: R_000E50_SRBM_STATUS = 0x200400C0 [ 5113.728874] radeon 0000:01:00.0: R_008674_CP_STALLED_STAT1 = 0x00000000 [ 5113.728876] radeon 0000:01:00.0: R_008678_CP_STALLED_STAT2 = 0x00000002 [ 5113.728878] radeon 0000:01:00.0: R_00867C_CP_BUSY_STAT = 0x00008084 [ 5113.728880] radeon 0000:01:00.0: R_008680_CP_STAT = 0x80018645 [ 5113.728882] radeon 0000:01:00.0: R_00D034_DMA_STATUS_REG = 0x44C83D57 [ 5113.780372] radeon 0000:01:00.0: R_008020_GRBM_SOFT_RESET=0x00004001 [ 5113.780425] radeon 0000:01:00.0: SRBM_SOFT_RESET=0x00000100 [ 5113.782511] radeon 0000:01:00.0: R_008010_GRBM_STATUS = 0xA0003030 [ 5113.782513] radeon 0000:01:00.0: R_008014_GRBM_STATUS2 = 0x00000003 [ 5113.782515] radeon 0000:01:00.0: R_000E50_SRBM_STATUS = 0x200480C0 [ 5113.782517] radeon 0000:01:00.0: R_008674_CP_STALLED_STAT1 = 0x00000000 [ 5113.782519] radeon 0000:01:00.0: R_008678_CP_STALLED_STAT2 = 0x00000000 [ 5113.782521] radeon 0000:01:00.0: R_00867C_CP_BUSY_STAT = 0x00000000 [ 5113.782523] radeon 0000:01:00.0: R_008680_CP_STAT = 0x80100000 [ 5113.782526] radeon 0000:01:00.0: R_00D034_DMA_STATUS_REG = 0x44C83D57 [ 5113.782532] radeon 0000:01:00.0: GPU reset succeeded, trying to resume [ 5113.798206] [drm] PCIE gen 2 link speeds already enabled [ 5113.799330] [drm] PCIE GART of 512M enabled (table at 0x0000000000254000). [ 5113.799352] radeon 0000:01:00.0: WB enabled [ 5113.799355] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000020000c00 and cpu addr 0xffff880221e41c00 [ 5113.799862] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x00000000000521d0 and cpu addr 0xffffc900101121d0 [ 5113.830683] [drm] ring test on 0 succeeded in 0 usecs [ 5114.005189] [drm] ring test on 5 succeeded in 1 usecs [ 5114.005197] [drm] UVD initialized successfully. [ 5139.254221] Watchdog[5059]: segfault at 0 ip 00000032b800916e sp 00007f1e09079740 error 6 in chromium[32b4200000+5ccc000] [ 5205.932591] systemd-logind[3679]: New session 9 of user amarsh04. [ 5270.497516] INFO: task Xorg:2440 blocked for more than 120 seconds. [ 5270.497523] Not tainted 3.18.0-rc2+ #1317 [ 5270.497525] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 5270.497527] Xorg D ffff88021e53a1d0 0 2440 2423 0x00000004 [ 5270.497532] ffff8800c79d37e8 0000000000000096 ffff88021e53a1d0 0000000000013c80 [ 5270.497536] ffff8800c79d3fd8 0000000000013c80 ffff880222daa310 ffff88021e53a1d0 [ 5270.497539] 0000000000000001 7fffffffffffffff ffff8800c79d3958 ffff88022e23c000 [ 5270.497543] Call Trace: [ 5270.497551] [<ffffffff81521db4>] schedule+0x24/0x60 [ 5270.497554] [<ffffffff81526b1c>] schedule_timeout+0x1dc/0x330 [ 5270.497558] [<ffffffff8152794d>] ? _raw_spin_unlock_irqrestore+0x6d/0x90 [ 5270.497591] [<ffffffffa0436701>] ? radeon_fence_process+0x11/0x40 [radeon] [ 5270.497603] [<ffffffffa043676c>] ? radeon_fence_any_seq_signaled+0x3c/0x80 [radeon] [ 5270.497615] [<ffffffffa0436aaf>] radeon_fence_wait_seq_timeout.constprop.8+0x2ff/0x360 [radeon] [ 5270.497618] [<ffffffff8108c6b0>] ? __wake_up_sync+0x10/0x10 [ 5270.497630] [<ffffffffa0436f5b>] radeon_fence_wait_empty+0x5b/0x80 [radeon] [ 5270.497645] [<ffffffffa04846a9>] radeon_pm_set_clocks+0x89/0x5a0 [radeon] [ 5270.497658] [<ffffffffa0485c6e>] ? radeon_pm_compute_clocks+0x4e/0x8c0 [radeon] [ 5270.497662] [<ffffffff81094cdd>] ? trace_hardirqs_on+0xd/0x10 [ 5270.497665] [<ffffffff810ba660>] ? mod_timer+0x120/0x250 [ 5270.497678] [<ffffffffa0485d28>] radeon_pm_compute_clocks+0x108/0x8c0 [radeon] [ 5270.497695] [<ffffffffa02b8589>] ? drm_vblank_put+0x79/0xb0 [drm] [ 5270.497706] [<ffffffffa04282fd>] atombios_crtc_dpms+0x6d/0x100 [radeon] [ 5270.497717] [<ffffffffa04283a3>] atombios_crtc_commit+0x13/0x30 [radeon] [ 5270.497723] [<ffffffffa0319a02>] drm_crtc_helper_set_mode+0x422/0x570 [drm_kms_helper] [ 5270.497729] [<ffffffffa0319bd3>] drm_helper_resume_force_mode+0x83/0x1b0 [drm_kms_helper] [ 5270.497739] [<ffffffffa041cda7>] radeon_gpu_reset+0x1c7/0x330 [radeon] [ 5270.497751] [<ffffffffa044e2b9>] radeon_gem_handle_lockup.part.4+0x9/0x20 [radeon] [ 5270.497764] [<ffffffffa044f1b8>] radeon_gem_wait_idle_ioctl+0xa8/0x110 [radeon] [ 5270.497771] [<ffffffffa02b6ae1>] drm_ioctl+0x1a1/0x660 [drm] [ 5270.497775] [<ffffffff8152794d>] ? _raw_spin_unlock_irqrestore+0x6d/0x90 [ 5270.497777] [<ffffffff81094c35>] ? trace_hardirqs_on_caller+0x165/0x200 [ 5270.497780] [<ffffffff81094cdd>] ? trace_hardirqs_on+0xd/0x10 [ 5270.497782] [<ffffffff8152792e>] ? _raw_spin_unlock_irqrestore+0x4e/0x90 [ 5270.497792] [<ffffffffa041a054>] radeon_drm_ioctl+0x54/0x90 [radeon] [ 5270.497796] [<ffffffff811b4688>] do_vfs_ioctl+0x2d8/0x4e0 [ 5270.497799] [<ffffffff811bf6ee>] ? __fget+0xae/0xe0 [ 5270.497801] [<ffffffff811bf640>] ? expand_fdtable+0x170/0x170 [ 5270.497804] [<ffffffff815292e0>] ? retint_swapgs+0x13/0x1b [ 5270.497806] [<ffffffff811b4919>] SyS_ioctl+0x89/0xa0 [ 5270.497809] [<ffffffff815286a9>] system_call_fastpath+0x12/0x17 [ 5270.497811] 8 locks held by Xorg/2440: [ 5270.497812] #0: (&rdev->exclusive_lock){++++++}, at: [<ffffffffa041cc0a>] radeon_gpu_reset+0x2a/0x330 [radeon] [ 5270.497826] #1: (&dev->mode_config.mutex){+.+.+.}, at: [<ffffffffa02cfe68>] __drm_modeset_lock_all+0x88/0x110 [drm] [ 5270.497839] #2: (crtc_ww_class_acquire){+.+.+.}, at: [<ffffffffa02cfe72>] __drm_modeset_lock_all+0x92/0x110 [drm] [ 5270.497848] #3: (crtc_ww_class_mutex){+.+.+.}, at: [<ffffffffa02cfa3f>] drm_modeset_lock+0x3f/0x120 [drm] [ 5270.497858] #4: (&rdev->pm.mutex){+.+...}, at: [<ffffffffa0485c6e>] radeon_pm_compute_clocks+0x4e/0x8c0 [radeon] [ 5270.497873] #5: (&dev->struct_mutex){+.+.+.}, at: [<ffffffffa048466d>] radeon_pm_set_clocks+0x4d/0x5a0 [radeon] [ 5270.497888] #6: (&rdev->pm.mclk_lock){++++.+}, at: [<ffffffffa0484675>] radeon_pm_set_clocks+0x55/0x5a0 [radeon] [ 5270.497903] #7: (&rdev->ring_lock){+.+.+.}, at: [<ffffffffa048467f>] radeon_pm_set_clocks+0x5f/0x5a0 [radeon] [ 5270.497988] INFO: task chromium:5055 blocked for more than 120 seconds. [ 5270.497990] Not tainted 3.18.0-rc2+ #1317 [ 5270.497991] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 5270.497992] chromium D ffff8800606fc4d0 0 5055 5047 0x00000004 [ 5270.497996] ffff8800668d7c58 0000000000000096 ffff8800606fc4d0 0000000000013c80 [ 5270.497999] ffff8800668d7fd8 0000000000013c80 ffff880222da82d0 ffff8800606fc4d0 [ 5270.498002] 0000000000000246 ffff8800ac3b0bc8 ffff8800ca060068 0000000000000246 [ 5270.498005] Call Trace: [ 5270.498008] [<ffffffff8152231e>] schedule_preempt_disabled+0x2e/0x80 [ 5270.498010] [<ffffffff81523db4>] mutex_lock_nested+0x154/0x420 [ 5270.498018] [<ffffffffa02b595a>] ? drm_gem_object_handle_unreference_unlocked+0xea/0x110 [drm] [ 5270.498021] [<ffffffff81094c35>] ? trace_hardirqs_on_caller+0x165/0x200 [ 5270.498028] [<ffffffffa02b595a>] drm_gem_object_handle_unreference_unlocked+0xea/0x110 [drm] [ 5270.498035] [<ffffffffa02b5a40>] drm_gem_handle_delete+0xc0/0x110 [drm] [ 5270.498042] [<ffffffffa02b6160>] drm_gem_close_ioctl+0x20/0x30 [drm] [ 5270.498049] [<ffffffffa02b6ae1>] drm_ioctl+0x1a1/0x660 [drm] [ 5270.498053] [<ffffffff8152794d>] ? _raw_spin_unlock_irqrestore+0x6d/0x90 [ 5270.498055] [<ffffffff81094c35>] ? trace_hardirqs_on_caller+0x165/0x200 [ 5270.498058] [<ffffffff81094cdd>] ? trace_hardirqs_on+0xd/0x10 [ 5270.498060] [<ffffffff8152792e>] ? _raw_spin_unlock_irqrestore+0x4e/0x90 [ 5270.498071] [<ffffffffa041a054>] radeon_drm_ioctl+0x54/0x90 [radeon] [ 5270.498073] [<ffffffff811b4688>] do_vfs_ioctl+0x2d8/0x4e0 [ 5270.498075] [<ffffffff811bf6ee>] ? __fget+0xae/0xe0 [ 5270.498078] [<ffffffff811bf640>] ? expand_fdtable+0x170/0x170 [ 5270.498080] [<ffffffff815286d5>] ? sysret_check+0x22/0x5d [ 5270.498083] [<ffffffff811b4919>] SyS_ioctl+0x89/0xa0 [ 5270.498086] [<ffffffff815286a9>] system_call_fastpath+0x12/0x17 [ 5270.498087] 1 lock held by chromium/5055: [ 5270.498089] #0: (&dev->struct_mutex){+.+.+.}, at: [<ffffffffa02b595a>] drm_gem_object_handle_unreference_unlocked+0xea/0x110 [drm] [ 5270.498099] INFO: task Watchdog:5059 blocked for more than 120 seconds. [ 5270.498100] Not tainted 3.18.0-rc2+ #1317 [ 5270.498101] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 5270.498102] Watchdog D ffff8801958ac5d0 0 5059 5047 0x00000000 [ 5270.498105] ffff880183677ae8 0000000000000096 ffff8801958ac5d0 0000000000013c80 [ 5270.498108] ffff880183677fd8 0000000000013c80 ffffffff81a13580 ffff8801958ac5d0 [ 5270.498111] ffff880185f8a590 7fffffffffffffff ffff880183677d10 ffff880183677d08 [ 5270.498114] Call Trace: [ 5270.498117] [<ffffffff81521db4>] schedule+0x24/0x60 [ 5270.498119] [<ffffffff81526b1c>] schedule_timeout+0x1dc/0x330 [ 5270.498122] [<ffffffff8152345e>] ? wait_for_completion+0x1e/0x100 [ 5270.498124] [<ffffffff8152792e>] ? _raw_spin_unlock_irqrestore+0x4e/0x90 [ 5270.498127] [<ffffffff8152799b>] ? _raw_spin_unlock_irq+0x2b/0x60 [ 5270.498129] [<ffffffff81094c35>] ? trace_hardirqs_on_caller+0x165/0x200 [ 5270.498132] [<ffffffff81094cdd>] ? trace_hardirqs_on+0xd/0x10 [ 5270.498134] [<ffffffff815234dc>] wait_for_completion+0x9c/0x100 [ 5270.498137] [<ffffffff8107bfd0>] ? wake_up_state+0x10/0x10 [ 5270.498140] [<ffffffff811f7375>] do_coredump+0x435/0xfa0 [ 5270.498143] [<ffffffff8109200d>] ? trace_hardirqs_off+0xd/0x10 [ 5270.498146] [<ffffffff8152792e>] ? _raw_spin_unlock_irqrestore+0x4e/0x90 [ 5270.498149] [<ffffffff8105fd9c>] get_signal+0x3dc/0x7f0 [ 5270.498152] [<ffffffff8104505a>] ? __bad_area_nosemaphore+0x11a/0x200 [ 5270.498156] [<ffffffff8100251e>] do_signal+0x2e/0x770 [ 5270.498160] [<ffffffff81079d31>] ? get_parent_ip+0x11/0x50 [ 5270.498163] [<ffffffff8151f6e7>] ? printk+0x48/0x4a [ 5270.498165] [<ffffffff81094c35>] ? trace_hardirqs_on_caller+0x165/0x200 [ 5270.498167] [<ffffffff81094cdd>] ? trace_hardirqs_on+0xd/0x10 [ 5270.498170] [<ffffffff815293f2>] ? retint_signal+0x11/0x9f [ 5270.498172] [<ffffffff81002cd8>] do_notify_resume+0x78/0xa0 [ 5270.498174] [<ffffffff8152942e>] retint_signal+0x4d/0x9f [ 5270.498176] no locks held by Watchdog/5059. [ 5270.498196] INFO: task vlc:8856 blocked for more than 120 seconds. [ 5270.498198] Not tainted 3.18.0-rc2+ #1317 [ 5270.498199] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 5270.498200] vlc D ffff8802222ba350 0 8856 4097 0x00000000 [ 5270.498203] ffff8802222e7b58 0000000000000096 ffff8802222ba350 0000000000013c80 [ 5270.498206] ffff8802222e7fd8 0000000000013c80 ffffffff81a13580 ffff8802222ba350 [ 5270.498208] ffff88022e23c030 ffff8802222ba350 ffff88022e23c030 ffff88022e23c018 [ 5270.498211] Call Trace: [ 5270.498214] [<ffffffff81521db4>] schedule+0x24/0x60 [ 5270.498216] [<ffffffff8152673d>] rwsem_down_write_failed+0x17d/0x360 [ 5270.498219] [<ffffffff815265fc>] ? rwsem_down_write_failed+0x3c/0x360 [ 5270.498222] [<ffffffff812bd9a3>] call_rwsem_down_write_failed+0x13/0x20 [ 5270.498225] [<ffffffff81525f77>] ? down_write+0x47/0x60 [ 5270.498235] [<ffffffffa041cc0a>] ? radeon_gpu_reset+0x2a/0x330 [radeon] [ 5270.498237] [<ffffffff8108c6b0>] ? __wake_up_sync+0x10/0x10 [ 5270.498247] [<ffffffffa041cc0a>] radeon_gpu_reset+0x2a/0x330 [radeon] [ 5270.498251] [<ffffffff813bbfa1>] ? fence_wait_timeout+0x51/0x180 [ 5270.498254] [<ffffffff813bd888>] ? reservation_object_wait_timeout_rcu+0x1e8/0x370 [ 5270.498257] [<ffffffff813bd748>] ? reservation_object_wait_timeout_rcu+0xa8/0x370 [ 5270.498269] [<ffffffffa044e2b9>] radeon_gem_handle_lockup.part.4+0x9/0x20 [radeon] [ 5270.498281] [<ffffffffa044f1b8>] radeon_gem_wait_idle_ioctl+0xa8/0x110 [radeon] [ 5270.498289] [<ffffffffa02b6ae1>] drm_ioctl+0x1a1/0x660 [drm] [ 5270.498292] [<ffffffff8152794d>] ? _raw_spin_unlock_irqrestore+0x6d/0x90 [ 5270.498294] [<ffffffff81094c35>] ? trace_hardirqs_on_caller+0x165/0x200 [ 5270.498297] [<ffffffff81094cdd>] ? trace_hardirqs_on+0xd/0x10 [ 5270.498299] [<ffffffff8152792e>] ? _raw_spin_unlock_irqrestore+0x4e/0x90 [ 5270.498309] [<ffffffffa041a054>] radeon_drm_ioctl+0x54/0x90 [radeon] [ 5270.498312] [<ffffffff811b4688>] do_vfs_ioctl+0x2d8/0x4e0 [ 5270.498314] [<ffffffff811bf6ee>] ? __fget+0xae/0xe0 [ 5270.498316] [<ffffffff811bf640>] ? expand_fdtable+0x170/0x170 [ 5270.498319] [<ffffffff815286d5>] ? sysret_check+0x22/0x5d [ 5270.498321] [<ffffffff811b4919>] SyS_ioctl+0x89/0xa0 [ 5270.498324] [<ffffffff815286a9>] system_call_fastpath+0x12/0x17 [ 5270.498326] 1 lock held by vlc/8856: [ 5270.498327] #0: (&rdev->exclusive_lock){++++++}, at: [<ffffffffa041cc0a>] radeon_gpu_reset+0x2a/0x330 [radeon] [ 5390.279838] INFO: task Xorg:2440 blocked for more than 120 seconds. [ 5390.279844] Not tainted 3.18.0-rc2+ #1317 [ 5390.279845] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 5390.279847] Xorg D ffff88021e53a1d0 0 2440 2423 0x00000004 [ 5390.279852] ffff8800c79d37e8 0000000000000096 ffff88021e53a1d0 0000000000013c80 [ 5390.279856] ffff8800c79d3fd8 0000000000013c80 ffff880222daa310 ffff88021e53a1d0 [ 5390.279859] 0000000000000001 7fffffffffffffff ffff8800c79d3958 ffff88022e23c000 [ 5390.279862] Call Trace: [ 5390.279870] [<ffffffff81521db4>] schedule+0x24/0x60 [ 5390.279873] [<ffffffff81526b1c>] schedule_timeout+0x1dc/0x330 [ 5390.279877] [<ffffffff8152794d>] ? _raw_spin_unlock_irqrestore+0x6d/0x90 [ 5390.279907] [<ffffffffa0436701>] ? radeon_fence_process+0x11/0x40 [radeon] [ 5390.279918] [<ffffffffa043676c>] ? radeon_fence_any_seq_signaled+0x3c/0x80 [radeon] [ 5390.279930] [<ffffffffa0436aaf>] radeon_fence_wait_seq_timeout.constprop.8+0x2ff/0x360 [radeon] [ 5390.279934] [<ffffffff8108c6b0>] ? __wake_up_sync+0x10/0x10 [ 5390.279945] [<ffffffffa0436f5b>] radeon_fence_wait_empty+0x5b/0x80 [radeon] [ 5390.279959] [<ffffffffa04846a9>] radeon_pm_set_clocks+0x89/0x5a0 [radeon] [ 5390.279973] [<ffffffffa0485c6e>] ? radeon_pm_compute_clocks+0x4e/0x8c0 [radeon] [ 5390.279976] [<ffffffff81094cdd>] ? trace_hardirqs_on+0xd/0x10 [ 5390.279979] [<ffffffff810ba660>] ? mod_timer+0x120/0x250 [ 5390.279992] [<ffffffffa0485d28>] radeon_pm_compute_clocks+0x108/0x8c0 [radeon] [ 5390.280007] [<ffffffffa02b8589>] ? drm_vblank_put+0x79/0xb0 [drm] [ 5390.280018] [<ffffffffa04282fd>] atombios_crtc_dpms+0x6d/0x100 [radeon] [ 5390.280029] [<ffffffffa04283a3>] atombios_crtc_commit+0x13/0x30 [radeon] [ 5390.280035] [<ffffffffa0319a02>] drm_crtc_helper_set_mode+0x422/0x570 [drm_kms_helper] [ 5390.280041] [<ffffffffa0319bd3>] drm_helper_resume_force_mode+0x83/0x1b0 [drm_kms_helper] [ 5390.280051] [<ffffffffa041cda7>] radeon_gpu_reset+0x1c7/0x330 [radeon] [ 5390.280063] [<ffffffffa044e2b9>] radeon_gem_handle_lockup.part.4+0x9/0x20 [radeon] [ 5390.280076] [<ffffffffa044f1b8>] radeon_gem_wait_idle_ioctl+0xa8/0x110 [radeon] [ 5390.280083] [<ffffffffa02b6ae1>] drm_ioctl+0x1a1/0x660 [drm] [ 5390.280086] [<ffffffff8152794d>] ? _raw_spin_unlock_irqrestore+0x6d/0x90 [ 5390.280089] [<ffffffff81094c35>] ? trace_hardirqs_on_caller+0x165/0x200 [ 5390.280091] [<ffffffff81094cdd>] ? trace_hardirqs_on+0xd/0x10 [ 5390.280094] [<ffffffff8152792e>] ? _raw_spin_unlock_irqrestore+0x4e/0x90 [ 5390.280104] [<ffffffffa041a054>] radeon_drm_ioctl+0x54/0x90 [radeon] [ 5390.280107] [<ffffffff811b4688>] do_vfs_ioctl+0x2d8/0x4e0 [ 5390.280110] [<ffffffff811bf6ee>] ? __fget+0xae/0xe0 [ 5390.280112] [<ffffffff811bf640>] ? expand_fdtable+0x170/0x170 [ 5390.280114] [<ffffffff815292e0>] ? retint_swapgs+0x13/0x1b [ 5390.280117] [<ffffffff811b4919>] SyS_ioctl+0x89/0xa0 [ 5390.280120] [<ffffffff815286a9>] system_call_fastpath+0x12/0x17 [ 5390.280122] 8 locks held by Xorg/2440: [ 5390.280123] #0: (&rdev->exclusive_lock){++++++}, at: [<ffffffffa041cc0a>] radeon_gpu_reset+0x2a/0x330 [radeon] [ 5390.280136] #1: (&dev->mode_config.mutex){+.+.+.}, at: [<ffffffffa02cfe68>] __drm_modeset_lock_all+0x88/0x110 [drm] [ 5390.280149] #2: (crtc_ww_class_acquire){+.+.+.}, at: [<ffffffffa02cfe72>] __drm_modeset_lock_all+0x92/0x110 [drm] [ 5390.280159] #3: (crtc_ww_class_mutex){+.+.+.}, at: [<ffffffffa02cfa3f>] drm_modeset_lock+0x3f/0x120 [drm] [ 5390.280168] #4: (&rdev->pm.mutex){+.+...}, at: [<ffffffffa0485c6e>] radeon_pm_compute_clocks+0x4e/0x8c0 [radeon] [ 5390.280183] #5: (&dev->struct_mutex){+.+.+.}, at: [<ffffffffa048466d>] radeon_pm_set_clocks+0x4d/0x5a0 [radeon] [ 5390.280198] #6: (&rdev->pm.mclk_lock){++++.+}, at: [<ffffffffa0484675>] radeon_pm_set_clocks+0x55/0x5a0 [radeon] [ 5390.280213] #7: (&rdev->ring_lock){+.+.+.}, at: [<ffffffffa048467f>] radeon_pm_set_clocks+0x5f/0x5a0 [radeon] [ 5390.280278] INFO: task chromium:5055 blocked for more than 120 seconds. [ 5390.280279] Not tainted 3.18.0-rc2+ #1317 [ 5390.280280] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 5390.280282] chromium D ffff8800606fc4d0 0 5055 5047 0x00000004 [ 5390.280285] ffff8800668d7c58 0000000000000096 ffff8800606fc4d0 0000000000013c80 [ 5390.280288] ffff8800668d7fd8 0000000000013c80 ffff880222da82d0 ffff8800606fc4d0 [ 5390.280291] 0000000000000246 ffff8800ac3b0bc8 ffff8800ca060068 0000000000000246 [ 5390.280294] Call Trace: [ 5390.280297] [<ffffffff8152231e>] schedule_preempt_disabled+0x2e/0x80 [ 5390.280299] [<ffffffff81523db4>] mutex_lock_nested+0x154/0x420 [ 5390.280307] [<ffffffffa02b595a>] ? drm_gem_object_handle_unreference_unlocked+0xea/0x110 [drm] [ 5390.280309] [<ffffffff81094c35>] ? trace_hardirqs_on_caller+0x165/0x200 [ 5390.280316] [<ffffffffa02b595a>] drm_gem_object_handle_unreference_unlocked+0xea/0x110 [drm] [ 5390.280323] [<ffffffffa02b5a40>] drm_gem_handle_delete+0xc0/0x110 [drm] [ 5390.280330] [<ffffffffa02b6160>] drm_gem_close_ioctl+0x20/0x30 [drm] [ 5390.280337] [<ffffffffa02b6ae1>] drm_ioctl+0x1a1/0x660 [drm] [ 5390.280341] [<ffffffff8152794d>] ? _raw_spin_unlock_irqrestore+0x6d/0x90 [ 5390.280343] [<ffffffff81094c35>] ? trace_hardirqs_on_caller+0x165/0x200 [ 5390.280345] [<ffffffff81094cdd>] ? trace_hardirqs_on+0xd/0x10 [ 5390.280348] [<ffffffff8152792e>] ? _raw_spin_unlock_irqrestore+0x4e/0x90 [ 5390.280358] [<ffffffffa041a054>] radeon_drm_ioctl+0x54/0x90 [radeon] [ 5390.280360] [<ffffffff811b4688>] do_vfs_ioctl+0x2d8/0x4e0 [ 5390.280363] [<ffffffff811bf6ee>] ? __fget+0xae/0xe0 [ 5390.280365] [<ffffffff811bf640>] ? expand_fdtable+0x170/0x170 [ 5390.280367] [<ffffffff815286d5>] ? sysret_check+0x22/0x5d [ 5390.280370] [<ffffffff811b4919>] SyS_ioctl+0x89/0xa0 [ 5390.280372] [<ffffffff815286a9>] system_call_fastpath+0x12/0x17 [ 5390.280374] 1 lock held by chromium/5055: [ 5390.280375] #0: (&dev->struct_mutex){+.+.+.}, at: [<ffffffffa02b595a>] drm_gem_object_handle_unreference_unlocked+0xea/0x110 [drm] [ 5390.280385] INFO: task Watchdog:5059 blocked for more than 120 seconds. [ 5390.280387] Not tainted 3.18.0-rc2+ #1317 [ 5390.280388] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 5390.280389] Watchdog D ffff8801958ac5d0 0 5059 5047 0x00000000 [ 5390.280391] ffff880183677ae8 0000000000000096 ffff8801958ac5d0 0000000000013c80 [ 5390.280394] ffff880183677fd8 0000000000013c80 ffffffff81a13580 ffff8801958ac5d0 [ 5390.280397] ffff880185f8a590 7fffffffffffffff ffff880183677d10 ffff880183677d08 [ 5390.280400] Call Trace: [ 5390.280403] [<ffffffff81521db4>] schedule+0x24/0x60 [ 5390.280405] [<ffffffff81526b1c>] schedule_timeout+0x1dc/0x330 [ 5390.280407] [<ffffffff8152345e>] ? wait_for_completion+0x1e/0x100 [ 5390.280410] [<ffffffff8152792e>] ? _raw_spin_unlock_irqrestore+0x4e/0x90 [ 5390.280412] [<ffffffff8152799b>] ? _raw_spin_unlock_irq+0x2b/0x60 [ 5390.280415] [<ffffffff81094c35>] ? trace_hardirqs_on_caller+0x165/0x200 [ 5390.280417] [<ffffffff81094cdd>] ? trace_hardirqs_on+0xd/0x10 [ 5390.280420] [<ffffffff815234dc>] wait_for_completion+0x9c/0x100 [ 5390.280423] [<ffffffff8107bfd0>] ? wake_up_state+0x10/0x10 [ 5390.280426] [<ffffffff811f7375>] do_coredump+0x435/0xfa0 [ 5390.280428] [<ffffffff8109200d>] ? trace_hardirqs_off+0xd/0x10 [ 5390.280431] [<ffffffff8152792e>] ? _raw_spin_unlock_irqrestore+0x4e/0x90 [ 5390.280434] [<ffffffff8105fd9c>] get_signal+0x3dc/0x7f0 [ 5390.280437] [<ffffffff8104505a>] ? __bad_area_nosemaphore+0x11a/0x200 [ 5390.280440] [<ffffffff8100251e>] do_signal+0x2e/0x770 [ 5390.280444] [<ffffffff81079d31>] ? get_parent_ip+0x11/0x50 [ 5390.280446] [<ffffffff8151f6e7>] ? printk+0x48/0x4a [ 5390.280449] [<ffffffff81094c35>] ? trace_hardirqs_on_caller+0x165/0x200 [ 5390.280451] [<ffffffff81094cdd>] ? trace_hardirqs_on+0xd/0x10 [ 5390.280453] [<ffffffff815293f2>] ? retint_signal+0x11/0x9f [ 5390.280456] [<ffffffff81002cd8>] do_notify_resume+0x78/0xa0 [ 5390.280458] [<ffffffff8152942e>] retint_signal+0x4d/0x9f [ 5390.280460] no locks held by Watchdog/5059. [ 5390.280478] INFO: task vlc:8856 blocked for more than 120 seconds. [ 5390.280479] Not tainted 3.18.0-rc2+ #1317 [ 5390.280480] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 5390.280481] vlc D ffff8802222ba350 0 8856 4097 0x00000000 [ 5390.280484] ffff8802222e7b58 0000000000000096 ffff8802222ba350 0000000000013c80 [ 5390.280487] ffff8802222e7fd8 0000000000013c80 ffffffff81a13580 ffff8802222ba350 [ 5390.280489] ffff88022e23c030 ffff8802222ba350 ffff88022e23c030 ffff88022e23c018 [ 5390.280492] Call Trace: [ 5390.280495] [<ffffffff81521db4>] schedule+0x24/0x60 [ 5390.280497] [<ffffffff8152673d>] rwsem_down_write_failed+0x17d/0x360 [ 5390.280500] [<ffffffff815265fc>] ? rwsem_down_write_failed+0x3c/0x360 [ 5390.280503] [<ffffffff812bd9a3>] call_rwsem_down_write_failed+0x13/0x20 [ 5390.280506] [<ffffffff81525f77>] ? down_write+0x47/0x60 [ 5390.280516] [<ffffffffa041cc0a>] ? radeon_gpu_reset+0x2a/0x330 [radeon] [ 5390.280518] [<ffffffff8108c6b0>] ? __wake_up_sync+0x10/0x10 [ 5390.280528] [<ffffffffa041cc0a>] radeon_gpu_reset+0x2a/0x330 [radeon] [ 5390.280532] [<ffffffff813bbfa1>] ? fence_wait_timeout+0x51/0x180 [ 5390.280535] [<ffffffff813bd888>] ? reservation_object_wait_timeout_rcu+0x1e8/0x370 [ 5390.280537] [<ffffffff813bd748>] ? reservation_object_wait_timeout_rcu+0xa8/0x370 [ 5390.280549] [<ffffffffa044e2b9>] radeon_gem_handle_lockup.part.4+0x9/0x20 [radeon] [ 5390.280561] [<ffffffffa044f1b8>] radeon_gem_wait_idle_ioctl+0xa8/0x110 [radeon] [ 5390.280569] [<ffffffffa02b6ae1>] drm_ioctl+0x1a1/0x660 [drm] [ 5390.280572] [<ffffffff8152794d>] ? _raw_spin_unlock_irqrestore+0x6d/0x90 [ 5390.280575] [<ffffffff81094c35>] ? trace_hardirqs_on_caller+0x165/0x200 [ 5390.280577] [<ffffffff81094cdd>] ? trace_hardirqs_on+0xd/0x10 [ 5390.280579] [<ffffffff8152792e>] ? _raw_spin_unlock_irqrestore+0x4e/0x90 [ 5390.280589] [<ffffffffa041a054>] radeon_drm_ioctl+0x54/0x90 [radeon] [ 5390.280592] [<ffffffff811b4688>] do_vfs_ioctl+0x2d8/0x4e0 [ 5390.280594] [<ffffffff811bf6ee>] ? __fget+0xae/0xe0 [ 5390.280596] [<ffffffff811bf640>] ? expand_fdtable+0x170/0x170 [ 5390.280599] [<ffffffff815286d5>] ? sysret_check+0x22/0x5d [ 5390.280601] [<ffffffff811b4919>] SyS_ioctl+0x89/0xa0 [ 5390.280604] [<ffffffff815286a9>] system_call_fastpath+0x12/0x17 [ 5390.280605] 1 lock held by vlc/8856: [ 5390.280606] #0: (&rdev->exclusive_lock){++++++}, at: [<ffffffffa041cc0a>] radeon_gpu_reset+0x2a/0x330 [radeon] [ 5510.062118] INFO: task Xorg:2440 blocked for more than 120 seconds. [ 5510.062125] Not tainted 3.18.0-rc2+ #1317 [ 5510.062126] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 5510.062128] Xorg D ffff88021e53a1d0 0 2440 2423 0x00000004 [ 5510.062133] ffff8800c79d37e8 0000000000000096 ffff88021e53a1d0 0000000000013c80 [ 5510.062137] ffff8800c79d3fd8 0000000000013c80 ffff880222daa310 ffff88021e53a1d0 [ 5510.062140] 0000000000000001 7fffffffffffffff ffff8800c79d3958 ffff88022e23c000 [ 5510.062143] Call Trace: [ 5510.062150] [<ffffffff81521db4>] schedule+0x24/0x60 [ 5510.062153] [<ffffffff81526b1c>] schedule_timeout+0x1dc/0x330 [ 5510.062157] [<ffffffff8152794d>] ? _raw_spin_unlock_irqrestore+0x6d/0x90 [ 5510.062188] [<ffffffffa0436701>] ? radeon_fence_process+0x11/0x40 [radeon] [ 5510.062200] [<ffffffffa043676c>] ? radeon_fence_any_seq_signaled+0x3c/0x80 [radeon] [ 5510.062211] [<ffffffffa0436aaf>] radeon_fence_wait_seq_timeout.constprop.8+0x2ff/0x360 [radeon] [ 5510.062215] [<ffffffff8108c6b0>] ? __wake_up_sync+0x10/0x10 [ 5510.062226] [<ffffffffa0436f5b>] radeon_fence_wait_empty+0x5b/0x80 [radeon] [ 5510.062241] [<ffffffffa04846a9>] radeon_pm_set_clocks+0x89/0x5a0 [radeon] [ 5510.062254] [<ffffffffa0485c6e>] ? radeon_pm_compute_clocks+0x4e/0x8c0 [radeon] [ 5510.062257] [<ffffffff81094cdd>] ? trace_hardirqs_on+0xd/0x10 [ 5510.062260] [<ffffffff810ba660>] ? mod_timer+0x120/0x250 [ 5510.062274] [<ffffffffa0485d28>] radeon_pm_compute_clocks+0x108/0x8c0 [radeon] [ 5510.062289] [<ffffffffa02b8589>] ? drm_vblank_put+0x79/0xb0 [drm] [ 5510.062300] [<ffffffffa04282fd>] atombios_crtc_dpms+0x6d/0x100 [radeon] [ 5510.062311] [<ffffffffa04283a3>] atombios_crtc_commit+0x13/0x30 [radeon] [ 5510.062340] [<ffffffffa0319a02>] drm_crtc_helper_set_mode+0x422/0x570 [drm_kms_helper] [ 5510.062346] [<ffffffffa0319bd3>] drm_helper_resume_force_mode+0x83/0x1b0 [drm_kms_helper] [ 5510.062356] [<ffffffffa041cda7>] radeon_gpu_reset+0x1c7/0x330 [radeon] [ 5510.062368] [<ffffffffa044e2b9>] radeon_gem_handle_lockup.part.4+0x9/0x20 [radeon] [ 5510.062381] [<ffffffffa044f1b8>] radeon_gem_wait_idle_ioctl+0xa8/0x110 [radeon] [ 5510.062388] [<ffffffffa02b6ae1>] drm_ioctl+0x1a1/0x660 [drm] [ 5510.062392] [<ffffffff8152794d>] ? _raw_spin_unlock_irqrestore+0x6d/0x90 [ 5510.062394] [<ffffffff81094c35>] ? trace_hardirqs_on_caller+0x165/0x200 [ 5510.062397] [<ffffffff81094cdd>] ? trace_hardirqs_on+0xd/0x10 [ 5510.062399] [<ffffffff8152792e>] ? _raw_spin_unlock_irqrestore+0x4e/0x90 [ 5510.062409] [<ffffffffa041a054>] radeon_drm_ioctl+0x54/0x90 [radeon] [ 5510.062413] [<ffffffff811b4688>] do_vfs_ioctl+0x2d8/0x4e0 [ 5510.062416] [<ffffffff811bf6ee>] ? __fget+0xae/0xe0 [ 5510.062418] [<ffffffff811bf640>] ? expand_fdtable+0x170/0x170 [ 5510.062420] [<ffffffff815292e0>] ? retint_swapgs+0x13/0x1b [ 5510.062423] [<ffffffff811b4919>] SyS_ioctl+0x89/0xa0 [ 5510.062426] [<ffffffff815286a9>] system_call_fastpath+0x12/0x17 [ 5510.062428] 8 locks held by Xorg/2440: [ 5510.062429] #0: (&rdev->exclusive_lock){++++++}, at: [<ffffffffa041cc0a>] radeon_gpu_reset+0x2a/0x330 [radeon] [ 5510.062443] #1: (&dev->mode_config.mutex){+.+.+.}, at: [<ffffffffa02cfe68>] __drm_modeset_lock_all+0x88/0x110 [drm] [ 5510.062455] #2: (crtc_ww_class_acquire){+.+.+.}, at: [<ffffffffa02cfe72>] __drm_modeset_lock_all+0x92/0x110 [drm] [ 5510.062465] #3: (crtc_ww_class_mutex){+.+.+.}, at: [<ffffffffa02cfa3f>] drm_modeset_lock+0x3f/0x120 [drm] [ 5510.062475] #4: (&rdev->pm.mutex){+.+...}, at: [<ffffffffa0485c6e>] radeon_pm_compute_clocks+0x4e/0x8c0 [radeon] [ 5510.062490] #5: (&dev->struct_mutex){+.+.+.}, at: [<ffffffffa048466d>] radeon_pm_set_clocks+0x4d/0x5a0 [radeon] [ 5510.062505] #6: (&rdev->pm.mclk_lock){++++.+}, at: [<ffffffffa0484675>] radeon_pm_set_clocks+0x55/0x5a0 [radeon] [ 5510.062519] #7: (&rdev->ring_lock){+.+.+.}, at: [<ffffffffa048467f>] radeon_pm_set_clocks+0x5f/0x5a0 [radeon] [ 5510.062578] INFO: task chromium:5055 blocked for more than 120 seconds. [ 5510.062580] Not tainted 3.18.0-rc2+ #1317 [ 5510.062581] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 5510.062582] chromium D ffff8800606fc4d0 0 5055 5047 0x00000004 [ 5510.062585] ffff8800668d7c58 0000000000000096 ffff8800606fc4d0 0000000000013c80 [ 5510.062588] ffff8800668d7fd8 0000000000013c80 ffff880222da82d0 ffff8800606fc4d0 [ 5510.062591] 0000000000000246 ffff8800ac3b0bc8 ffff8800ca060068 0000000000000246 [ 5510.062594] Call Trace: [ 5510.062597] [<ffffffff8152231e>] schedule_preempt_disabled+0x2e/0x80 [ 5510.062599] [<ffffffff81523db4>] mutex_lock_nested+0x154/0x420 [ 5510.062607] [<ffffffffa02b595a>] ? drm_gem_object_handle_unreference_unlocked+0xea/0x110 [drm] [ 5510.062609] [<ffffffff81094c35>] ? trace_hardirqs_on_caller+0x165/0x200 [ 5510.062617] [<ffffffffa02b595a>] drm_gem_object_handle_unreference_unlocked+0xea/0x110 [drm] [ 5510.062623] [<ffffffffa02b5a40>] drm_gem_handle_delete+0xc0/0x110 [drm] [ 5510.062631] [<ffffffffa02b6160>] drm_gem_close_ioctl+0x20/0x30 [drm] [ 5510.062638] [<ffffffffa02b6ae1>] drm_ioctl+0x1a1/0x660 [drm] [ 5510.062641] [<ffffffff8152794d>] ? _raw_spin_unlock_irqrestore+0x6d/0x90 [ 5510.062643] [<ffffffff81094c35>] ? trace_hardirqs_on_caller+0x165/0x200 [ 5510.062646] [<ffffffff81094cdd>] ? trace_hardirqs_on+0xd/0x10 [ 5510.062648] [<ffffffff8152792e>] ? _raw_spin_unlock_irqrestore+0x4e/0x90 [ 5510.062658] [<ffffffffa041a054>] radeon_drm_ioctl+0x54/0x90 [radeon] [ 5510.062661] [<ffffffff811b4688>] do_vfs_ioctl+0x2d8/0x4e0 [ 5510.062663] [<ffffffff811bf6ee>] ? __fget+0xae/0xe0 [ 5510.062665] [<ffffffff811bf640>] ? expand_fdtable+0x170/0x170 [ 5510.062668] [<ffffffff815286d5>] ? sysret_check+0x22/0x5d [ 5510.062670] [<ffffffff811b4919>] SyS_ioctl+0x89/0xa0 [ 5510.062673] [<ffffffff815286a9>] system_call_fastpath+0x12/0x17 [ 5510.062675] 1 lock held by chromium/5055: [ 5510.062676] #0: (&dev->struct_mutex){+.+.+.}, at: [<ffffffffa02b595a>] drm_gem_object_handle_unreference_unlocked+0xea/0x110 [drm]
You are receiving this mail because:
  • You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
bugzilla-daemon | 30 Oct 21:27 2014

[Bug 85661] New: planetary annihilation gpu lockup

Bug ID Summary Product Version Hardware OS Status Severity Priority Component Assignee Reporter
85661
planetary annihilation gpu lockup
Mesa
git
Other
All
NEW
normal
medium
Drivers/Gallium/radeonsi
dri-devel <at> lists.freedesktop.org
kdj0c <at> djinvi.net

Created attachment 108705 [details] dmesg when lockup occurs when starting a single player game with planetary annihilation (steam version). there is a gpu lockup after about 10s (100% reproductible). I'm able to play with the intel HD4000 and same mesa stack (but it's a bit slow :p). system setup : Archlinux 64bits mesa 10.3.2 kernel 3.17.1-1-ARCH radeon HD 7950 tried with and without hyperz, same lockup occurs. attached dmesg, and glxinfo
You are receiving this mail because:
  • You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Alex Deucher | 30 Oct 20:58 2014
Picon

[pull] radeon drm-fixes-3.18

Hi Dave,

radeon fixes for 3.18:
- dpm stability fixes for SI and KV
- remove an invalid pci id
- kmalloc_array fixes
- minor cleanups

The following changes since commit 30aad89ad0697028b9aa0867b3e95cc0ccca064d:

  Merge branch 'drm-armada-fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-arm into drm-fixes
(2014-10-28 10:03:34 +1000)

are available in the git repository at:

  git://people.freedesktop.org/~agd5f/linux drm-fixes-3.18

for you to fetch changes up to 072c44bf24b3384e1e9873df5ddefe2be3aaac8e:

  drm/radeon: remove some buggy dead code (2014-10-29 12:24:15 -0400)

----------------------------------------------------------------
Alex Deucher (3):
      drm/radeon/dpm: disable ulv support on SI
      drm/radeon: dpm fixes for asrock systems
      drm/radeon: remove invalid pci id

Dan Carpenter (1):
      drm/radeon: remove some buggy dead code

Michel Dänzer (1):
      drm/radeon: Use drm_malloc_ab instead of kmalloc_array

Wilfried Klaebe (1):
      radeon: clean up coding style differences in radeon_get_bios()

 drivers/gpu/drm/radeon/evergreen.c   |  4 +---
 drivers/gpu/drm/radeon/kv_dpm.c      | 19 ++++++++++++++++---
 drivers/gpu/drm/radeon/radeon_bios.c |  6 ++----
 drivers/gpu/drm/radeon/radeon_cs.c   |  2 +-
 drivers/gpu/drm/radeon/radeon_ring.c |  4 ++--
 drivers/gpu/drm/radeon/radeon_vm.c   |  4 ++--
 drivers/gpu/drm/radeon/si_dpm.c      |  2 +-
 include/drm/drm_pciids.h             |  1 -
 8 files changed, 25 insertions(+), 17 deletions(-)
_______________________________________________
dri-devel mailing list
dri-devel <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Rob Clark | 30 Oct 18:39 2014
Picon

[PATCH] drm/vmwgfx: fix lock breakage

After:

commit d059f652e73c35678d28d4cd09ab2cec89696af9
Author:     Daniel Vetter <daniel.vetter <at> ffwll.ch>
AuthorDate: Fri Jul 25 18:07:40 2014 +0200

    drm: Handle legacy per-crtc locking with full acquire ctx

drm_mode_cursor_common() was switched to use drm_modeset_(un)lock_crtc()
which uses full aquire ctx.  So dropping/reaquiring the lock via
drm_modeset_(un)lock() directly isn't the right thing to do, as lockdep
kindly points out.

The 'FIXME's about sorting out whether vmwgfx *really* needs to lock-all
for cursor updates still apply.

Signed-off-by: Rob Clark <robdclark <at> gmail.com>
---
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
index d2bc2b0..8fc1e38 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
 <at>  <at>  -187,7 +187,7  <at>  <at>  int vmw_du_crtc_cursor_set(struct drm_crtc *crtc, struct drm_file *file_priv,
 	 * can do this since the caller in the drm core doesn't check anything
 	 * which is protected by any looks.
 	 */
-	drm_modeset_unlock(&crtc->mutex);
+	drm_modeset_unlock_crtc(crtc);
 	drm_modeset_lock_all(dev_priv->dev);

 	/* A lot of the code assumes this */
 <at>  <at>  -252,7 +252,7  <at>  <at>  int vmw_du_crtc_cursor_set(struct drm_crtc *crtc, struct drm_file *file_priv,
 	ret = 0;
 out:
 	drm_modeset_unlock_all(dev_priv->dev);
-	drm_modeset_lock(&crtc->mutex, NULL);
+	drm_modeset_lock_crtc(crtc);

 	return ret;
 }
 <at>  <at>  -273,7 +273,7  <at>  <at>  int vmw_du_crtc_cursor_move(struct drm_crtc *crtc, int x, int y)
 	 * can do this since the caller in the drm core doesn't check anything
 	 * which is protected by any looks.
 	 */
-	drm_modeset_unlock(&crtc->mutex);
+	drm_modeset_unlock_crtc(crtc);
 	drm_modeset_lock_all(dev_priv->dev);

 	vmw_cursor_update_position(dev_priv, shown,
 <at>  <at>  -281,7 +281,7  <at>  <at>  int vmw_du_crtc_cursor_move(struct drm_crtc *crtc, int x, int y)
 				   du->cursor_y + du->hotspot_y);

 	drm_modeset_unlock_all(dev_priv->dev);
-	drm_modeset_lock(&crtc->mutex, NULL);
+	drm_modeset_lock_crtc(crtc);

 	return 0;
 }
--

-- 
1.9.3

_______________________________________________
dri-devel mailing list
dri-devel <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
bugzilla-daemon | 30 Oct 16:44 2014

[Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst

Comment # 49 on bug 73338 from (In reply to Anton L. from comment #48) > Alex, will these patches correct fan speed for PITCAIRN cards? Yes, once they are working properly.
You are receiving this mail because:
  • You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Thomas Hellstrom | 30 Oct 15:41 2014

Modesetting lock changes breaks vmwgfx since 3.18-rc1

Hi!

Details in

https://bugzilla.redhat.com/show_bug.cgi?id=1155825

Can whoever broke the driver please make an effort to fix it up?

Daniel, You've been named as a suspect. I'm not sure if that is true.

Thanks,
Thomas

_______________________________________________
dri-devel mailing list
dri-devel <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Jani Nikula | 30 Oct 15:09 2014
Picon

[PULL] drm-intel-fixes


Hi Dave -

Display fixes for 3.18, all cc: stable, including my version of the DP
training pattern 3 fix.

BR,
Jani.

The following changes since commit cac7f2429872d3733dc3f9915857b1691da2eb2f:

  Linux 3.18-rc2 (2014-10-26 16:48:41 -0700)

are available in the git repository at:

  git://anongit.freedesktop.org/drm-intel tags/drm-intel-fixes-2014-10-30

for you to fetch changes up to 7809a61176b385ebb3299ea43c58b1bb31ffb8c0:

  drm/i915/dp: only use training pattern 3 on platforms that support it (2014-10-30 15:51:11 +0200)

----------------------------------------------------------------
Jani Nikula (1):
      drm/i915/dp: only use training pattern 3 on platforms that support it

Ville Syrjälä (3):
      drm/i915: Do a dummy DPCD read before the actual read
      drm/i915: Ignore long hpds on eDP ports
      drm/i915: Fix GMBUSFREQ on vlv/chv

jens stein (1):
      drm/i915: Ignore VBT backlight check on Macbook 2, 1

 drivers/gpu/drm/i915/intel_display.c |  5 ++++-
 drivers/gpu/drm/i915/intel_dp.c      | 24 ++++++++++++++++++++++--
 2 files changed, 26 insertions(+), 3 deletions(-)

--

-- 
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
dri-devel mailing list
dri-devel <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
bugzilla-daemon | 30 Oct 13:45 2014

[Bug 85647] New: Random radeonsi crashes with mesa 10.3.x

Bug ID Summary Product Version Hardware OS Status Severity Priority Component Assignee Reporter
85647
Random radeonsi crashes with mesa 10.3.x
DRI
XOrg CVS
Other
All
NEW
normal
medium
DRM/Radeon
dri-devel <at> lists.freedesktop.org
hannu.tmp <at> pp.inet.fi

This is propably duplicate of some of the 79980 reports, that is why I put the report to DRI and not mesa where it might belong. Xorg has randomly timed (hours or days between) crashes with mesa 10.3.x. First it stops responding for some seconds, then screen goes black. Sometimes it recovers for a moment after the black screen but you had better reboot the computer while you can, ít will crash again soon after the first crash. My son is playing steam games with that computer and he complains loudly when the crash happens. It has crashed when he is watching videos from youtube. I think steam games are i386. Firefox and flash are amd64. So I have both i386 and amd64 libraries installed (debian multiarch). System is otherwise amd64. I usually try the latest versions from debian archive and after couple of crashes (and loud complaints) I downgrade mesa to 10.2.8-1 which does not crash. After the crash Xorg.0.log has "(EE) [mi] EQ overflowing. Additional events will be discarded until existing events are processed." and so on at the end of the log. 10.3.2 crashed next day after installing (after several hours of gaming) and since I do not know how to compile for multiarched debian I think bisecting is not possible. debian sid amd64 multiarch mesa 10.3.2-1 libdrm-radeon1 2.4.58-2 xserver-xorg-video-radeon 7.5.0-1 uname -a: Linux 3.18.0-rc2-hmaa #1 SMP PREEMPT Mon Oct 27 06:23:54 EET 2014 x86_64 GNU/Linux lspci: 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Pitcairn XT [Radeon HD 7870 GHz Edition] ------------------- I have another computer which I use myself, it has Northern Islands card (Barts): lspci: 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Barts XT [Radeon HD 6870] Software is the is the same in both computers. The computer with Northern Islands has not crashed with mesa 10.3.x, so it seems to me that this bug needs the combination of mesa 10.3.x and Southern Islands to occur. I don't do the heavy gaming and long youtube sessions with the Northern Islands card but it is in use about 10 hours daily.
You are receiving this mail because:
  • You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Andrzej Hajda | 30 Oct 13:39 2014

Re: [PATCH 0/4] drm/exynos/dsi: remove global display variable

On 10/07/2014 02:01 PM, Andrzej Hajda wrote:
> Hi Inki,
>
> Many Exynos DRM drivers uses global variables to represent associated devices
> in Exynos DRM internal framework. It is quite confusing, it adds data duplication
> and finally it does not allow to handle more than one device in system.
> It seems better to embed such structures in private context of the device.

Gently ping.

Regards
Andrzej

>
> The patchset is based on exynos_drm_next plus my patch [1]:
> 'drm/exynos: remove explicit encoder/connector de-initialization'.
>
> If the patchset is OK for you I can prepare similar patches for other Exynos DRM components.
>
> [1]: https://lkml.org/lkml/2014/9/22/148
>
> Regards
> Andrzej
>
>
> Andrzej Hajda (4):
>   drm/exynos/dsi: remove global variable exynos_dsi_display
>   drm/exynos/dsi: simplify device pointer evaluation
>   drm/exynos/dsi: remove redundant encoder field
>   drm/exynos/dsi: stop using display->ctx pointer
>
>  drivers/gpu/drm/exynos/exynos_drm_dsi.c | 96 ++++++++++++++++-----------------
>  1 file changed, 47 insertions(+), 49 deletions(-)
>

_______________________________________________
dri-devel mailing list
dri-devel <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
bugzilla-daemon | 30 Oct 12:42 2014

[Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst

Comment # 48 on bug 73338 from Alex, will these patches correct fan speed for PITCAIRN cards?
You are receiving this mail because:
  • You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
bugzilla-daemon | 30 Oct 09:55 2014

[Bug 85638] New: system crash randomly with no errors

Bug ID Summary Product Version Hardware OS Status Severity Priority Component Assignee Reporter
85638
system crash randomly with no errors
DRI
XOrg CVS
x86-64 (AMD64)
Linux (All)
NEW
critical
medium
DRM/Radeon
dri-devel <at> lists.freedesktop.org
marcoboffo.waves <at> gmail.com

Created attachment 108676 [details] Picture of my screen Everyday, my system crashes randomly and shows random colors on my screens. (Yes, dual monitor) I can't reproduce the bug but it seems to happen on large screen update or little gnome3 transitions. complete dmesg: http://pastebin.com/szzwGKx2 uname -r: 3.17.1-1-ARCH The Xorg.log is untouched since the beginning of this month, so I don't think it can be relevant for the bugfix.
You are receiving this mail because:
  • You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

Gmane