All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 97849] kworker uses 100% CPU when using _only_ HDMI output with AMDGPU on Carrizo R7 (vanilla 4.7.4)
@ 2016-09-18 16:06 bugzilla-daemon
  2016-09-27 21:08 ` bugzilla-daemon
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla-daemon @ 2016-09-18 16:06 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 29115 bytes --]

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@lists.freedesktop.org
          Reporter: striker@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.

[-- Attachment #1.2: Type: text/html, Size: 30501 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug 97849] kworker uses 100% CPU when using _only_ HDMI output with AMDGPU on Carrizo R7 (vanilla 4.7.4)
  2016-09-18 16:06 [Bug 97849] kworker uses 100% CPU when using _only_ HDMI output with AMDGPU on Carrizo R7 (vanilla 4.7.4) bugzilla-daemon
@ 2016-09-27 21:08 ` bugzilla-daemon
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla-daemon @ 2016-09-27 21:08 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 564 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97849

Alex Deucher <alexdeucher@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|NEW                         |RESOLVED

--- Comment #1 from Alex Deucher <alexdeucher@gmail.com> ---


*** This bug has been marked as a duplicate of bug 97471 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2395 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-27 21:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-18 16:06 [Bug 97849] kworker uses 100% CPU when using _only_ HDMI output with AMDGPU on Carrizo R7 (vanilla 4.7.4) bugzilla-daemon
2016-09-27 21:08 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.