https://bugs.freedesktop.org/show_bug.cgi?id=97849
Bug ID: 97849
Summary: kworker uses 100% CPU when using _only_ HDMI output
with AMDGPU on Carrizo R7 (vanilla 4.7.4)
Product: DRI
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: DRM/AMDgpu
Assignee: dri-devel at lists.freedesktop.org
Reporter: striker at terranforge.com
This only happen when you push only HDMI output. The strange thing is that it
does not happen when I have both local display AND HDMI enabled.
I reported this downstream as well:
https://bugzilla.redhat.com/show_bug.cgi?id=1377104
Here's some perf data using 4.7.4:
- 94.23% 0.00% kworker/3:0 [kernel.vmlinux] [k]
worker_thread â
- worker_thread
â
- 94.23% process_one_work
â
- 94.22% amdgpu_hotplug_work_func
â
drm_helper_hpd_irq_event
â
- amdgpu_connector_dp_detect
â
- 94.14% amdgpu_atombios_encoder_set_edp_panel_power
â
- 80.36% amdgpu_atom_execute_table
â
- 80.35% amdgpu_atom_execute_table_locked
â
- 80.35% atom_op_calltable
â
- 80.19% amdgpu_atom_execute_table_locked
â
- 78.32% atom_op_test
â
- 77.46% atom_get_src_int
â
- 75.86% cail_reg_read
â
75.64% amdgpu_mm_rreg
â
0.77% atom_op_jump
â
- 13.63% __const_udelay
â
13.62% delay_mwaitx
- 94.23% 0.00% kworker/3:0 [kernel.vmlinux] [k]
kthread â
kthread
â
- worker_thread
â
- 94.23% process_one_work
â
- 94.22% amdgpu_hotplug_work_func
â
drm_helper_hpd_irq_event
â
- amdgpu_connector_dp_detect
â
- 94.14% amdgpu_atombios_encoder_set_edp_panel_power
â
- 80.36% amdgpu_atom_execute_table
â
- 80.35% amdgpu_atom_execute_table_locked
â
- 80.35% atom_op_calltable
â
- 80.19% amdgpu_atom_execute_table_locked
â
- 78.32% atom_op_test
â
- 77.46% atom_get_src_int
â
- 75.86% cail_reg_read
â
75.64% amdgpu_mm_rreg
â
0.77% atom_op_jump
â
- 13.63% __const_udelay
â
13.62% delay_mwaitx
- 94.23% 0.00% kworker/3:0 [kernel.vmlinux] [k]
ret_from_fork â
ret_from_fork
â
kthread
â
- worker_thread
â
- 94.23% process_one_work
â
- 94.22% amdgpu_hotplug_work_func
â
drm_helper_hpd_irq_event
â
- amdgpu_connector_dp_detect
â
- 94.14% amdgpu_atombios_encoder_set_edp_panel_power
â
- 80.36% amdgpu_atom_execute_table
â
- 80.35% amdgpu_atom_execute_table_locked
â
- 80.35% atom_op_calltable
â
- 80.19% amdgpu_atom_execute_table_locked
â
- 78.32% atom_op_test
â
- 77.46% atom_get_src_int
â
- 75.86% cail_reg_read
â
75.64% amdgpu_mm_rreg
â
0.77% atom_op_jump
â
- 13.63% __const_udelay
â
13.62% delay_mwaitx
- 94.23% 0.00% kworker/3:0 [kernel.vmlinux] [k]
process_one_work â
- process_one_work
â
- 94.22% amdgpu_hotplug_work_func
â
drm_helper_hpd_irq_event
â
- amdgpu_connector_dp_detect
â
- 94.14% amdgpu_atombios_encoder_set_edp_panel_power
â
- 80.36% amdgpu_atom_execute_table
â
- 80.35% amdgpu_atom_execute_table_locked
â
- 80.35% atom_op_calltable
â
- 80.19% amdgpu_atom_execute_table_locked
â
- 78.32% atom_op_test
â
- 77.46% atom_get_src_int
â
- 75.86% cail_reg_read
â
75.64% amdgpu_mm_rreg
â
0.77% atom_op_jump
â
- 13.63% __const_udelay
â
13.62% delay_mwaitx
- 94.22% 0.00% kworker/3:0 [amdgpu] [k]
amdgpu_connector_dp_detect â
- amdgpu_connector_dp_detect
â
- 94.14% amdgpu_atombios_encoder_set_edp_panel_power
â
- 80.36% amdgpu_atom_execute_table
â
- 80.35% amdgpu_atom_execute_table_locked
â
- 80.35% atom_op_calltable
â
- 80.19% amdgpu_atom_execute_table_locked
â
- 78.32% atom_op_test
â
- 77.46% atom_get_src_int
â
- 75.86% cail_reg_read
â
75.64% amdgpu_mm_rreg
â
0.77% atom_op_jump
â
- 13.63% __const_udelay
â
13.62% delay_mwaitx
- 94.22% 0.00% kworker/3:0 [drm_kms_helper] [k]
drm_helper_hpd_irq_event â
drm_helper_hpd_irq_event
â
- amdgpu_connector_dp_detect
â
- 94.14% amdgpu_atombios_encoder_set_edp_panel_power
â
- 80.36% amdgpu_atom_execute_table
â
- 80.35% amdgpu_atom_execute_table_locked
â
- 80.35% atom_op_calltable
â
- 80.19% amdgpu_atom_execute_table_locked
â
- 78.32% atom_op_test
â
- 77.46% atom_get_src_int
â
- 75.86% cail_reg_read
â
75.64% amdgpu_mm_rreg
â
0.77% atom_op_jump
â
- 13.63% __const_udelay
â
13.62% delay_mwaitx
- 94.22% 0.00% kworker/3:0 [amdgpu] [k]
amdgpu_hotplug_work_func â
amdgpu_hotplug_work_func
â
drm_helper_hpd_irq_event
â
- amdgpu_connector_dp_detect
â
- 94.14% amdgpu_atombios_encoder_set_edp_panel_power
â
- 80.36% amdgpu_atom_execute_table
â
- 80.35% amdgpu_atom_execute_table_locked
â
- 80.35% atom_op_calltable
â
- 80.19% amdgpu_atom_execute_table_locked
â
- 78.32% atom_op_test
â
- 77.46% atom_get_src_int
â
- 75.86% cail_reg_read
â
75.64% amdgpu_mm_rreg
â
0.77% atom_op_jump
â
- 13.63% __const_udelay
â
13.62% delay_mwaitx
- 94.14% 0.00% kworker/3:0 [amdgpu] [k]
amdgpu_atombios_encoder_set_edp_panel_power â
- 94.14% amdgpu_atombios_encoder_set_edp_panel_power
â
- 80.36% amdgpu_atom_execute_table
â
- 80.35% amdgpu_atom_execute_table_locked
â
- 80.35% atom_op_calltable
â
- 80.19% amdgpu_atom_execute_table_locked
â
- 78.32% atom_op_test
â
- 77.46% atom_get_src_int
â
- 75.86% cail_reg_read
â
75.64% amdgpu_mm_rreg
â
0.77% atom_op_jump
â
- 13.63% __const_udelay
â
13.62% delay_mwaitx
- 80.42% 0.00% kworker/3:0 [amdgpu] [k]
amdgpu_atom_execute_table â
- amdgpu_atom_execute_table
â
- 80.42% amdgpu_atom_execute_table_locked
â
- 80.35% atom_op_calltable
â
- 80.19% amdgpu_atom_execute_table_locked
â
- 78.32% atom_op_test
â
- 77.46% atom_get_src_int
â
- 75.86% cail_reg_read
â
75.64% amdgpu_mm_rreg
â
0.77% atom_op_jump
- 80.42% 0.99% kworker/3:0 [amdgpu] [k]
amdgpu_atom_execute_table_locked â
- 79.43% amdgpu_atom_execute_table_locked
â
- 79.35% atom_op_calltable
â
- 79.20% amdgpu_atom_execute_table_locked
â
- 78.32% atom_op_test
â
- 77.46% atom_get_src_int
â
- 75.86% cail_reg_read
â
75.64% amdgpu_mm_rreg
â
0.77% atom_op_jump
â
- 0.99% ret_from_fork
â
kthread
â
worker_thread
â
process_one_work
â
amdgpu_hotplug_work_func
â
drm_helper_hpd_irq_event
â
amdgpu_connector_dp_detect
â
amdgpu_atombios_encoder_set_edp_panel_power
â
amdgpu_atom_execute_table
â
amdgpu_atom_execute_table_locked
â
atom_op_calltable
â
amdgpu_atom_execute_table_locked
- 80.35% 0.00% kworker/3:0 [amdgpu] [k]
atom_op_calltable â
- atom_op_calltable
â
- 80.19% amdgpu_atom_execute_table_locked
â
- 78.32% atom_op_test
â
- 77.46% atom_get_src_int
â
- 75.86% cail_reg_read
â
75.64% amdgpu_mm_rreg
â
0.77% atom_op_jump
- 78.42% 0.81% kworker/3:0 [amdgpu] [k]
atom_op_test â
- 77.60% atom_op_test
â
- 77.48% atom_get_src_int
â
- 75.87% cail_reg_read
â
75.66% amdgpu_mm_rreg
â
- 0.81% ret_from_fork
â
kthread
â
worker_thread
â
process_one_work
â
amdgpu_hotplug_work_func
â
drm_helper_hpd_irq_event
â
amdgpu_connector_dp_detect
â
amdgpu_atombios_encoder_set_edp_panel_power
â
amdgpu_atom_execute_table
â
amdgpu_atom_execute_table_locked
â
- atom_op_calltable
â
- 0.73% amdgpu_atom_execute_table_locked
â
atom_op_test
- 77.54% 1.58% kworker/3:0 [amdgpu] [k] atom_get_src_int
â
- 75.97% atom_get_src_int
â
- 75.87% cail_reg_read
â
75.66% amdgpu_mm_rreg
â
- 1.58% ret_from_fork
â
kthread
â
worker_thread
â
process_one_work
â
amdgpu_hotplug_work_func
â
drm_helper_hpd_irq_event
â
amdgpu_connector_dp_detect
â
amdgpu_atombios_encoder_set_edp_panel_power
â
amdgpu_atom_execute_table
â
- amdgpu_atom_execute_table_locked
â
- 1.57% atom_op_calltable
â
- amdgpu_atom_execute_table_locked
â
- 1.51% atom_op_test
â
atom_get_src_int
- 76.00% 0.17% kworker/3:0 [amdgpu] [k] cail_reg_read
â
- 75.83% cail_reg_read
â
75.66% amdgpu_mm_rreg
- 75.91% 75.91% kworker/3:0 [amdgpu] [k] amdgpu_mm_rreg
â
ret_from_fork
â
kthread
â
worker_thread
â
process_one_work
â
amdgpu_hotplug_work_func
â
drm_helper_hpd_irq_event
â
- amdgpu_connector_dp_detect
â
- 75.88% amdgpu_atombios_encoder_set_edp_panel_power
â
- 75.73% amdgpu_atom_execute_table
â
amdgpu_atom_execute_table_locked
â
atom_op_calltable
â
amdgpu_atom_execute_table_locked
â
atom_op_test
â
- atom_get_src_int
â
- 75.64% cail_reg_read
â
amdgpu_mm_rreg
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.freedesktop.org/archives/dri-devel/attachments/20160918/07feea32/attachment-0001.html>
