tree: https://gitlab.freedesktop.org/agd5f/linux.git drm-next head: e4249134371288a3db77690efe145dc7a5a7cdc3 commit: 77a49c458931ff4b8d27b777a58484ecee91a7c8 [231/261] drm/amd/display: Support for DMUB AUX config: i386-randconfig-m021-20210503 (attached as .config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): git remote add agd5f https://gitlab.freedesktop.org/agd5f/linux.git git fetch --no-tags agd5f drm-next git checkout 77a49c458931ff4b8d27b777a58484ecee91a7c8 # save the attached .config to linux build tree make W=1 W=1 ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:610: warning: Function parameter or member 'interrupt_params' not described in 'dm_dcn_vertical_interrupt0_high_irq' >> drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:632: warning: expecting prototype for dm_dmub_outbox1_low_irq(). Prototype was for DMUB_TRACE_MAX_READ() instead vim +632 drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c 624 625 /** 626 * dm_dmub_outbox1_low_irq() - Handles Outbox interrupt 627 * @interrupt_params: used for determining the Outbox instance 628 * 629 * Handles the Outbox Interrupt 630 * event handler. 631 */ > 632 #define DMUB_TRACE_MAX_READ 64 633 static void dm_dmub_outbox1_low_irq(void *interrupt_params) 634 { 635 struct dmub_notification notify; 636 struct common_irq_params *irq_params = interrupt_params; 637 struct amdgpu_device *adev = irq_params->adev; 638 struct amdgpu_display_manager *dm = &adev->dm; 639 struct dmcub_trace_buf_entry entry = { 0 }; 640 uint32_t count = 0; 641 642 if (dc_enable_dmub_notifications(adev->dm.dc)) { 643 if (irq_params->irq_src == DC_IRQ_SOURCE_DMCUB_OUTBOX) { 644 do { 645 dc_stat_get_dmub_notification(adev->dm.dc, ¬ify); 646 } while (notify.pending_notification); 647 648 if (adev->dm.dmub_notify) 649 memcpy(adev->dm.dmub_notify, ¬ify, sizeof(struct dmub_notification)); 650 if (notify.type == DMUB_NOTIFICATION_AUX_REPLY) 651 complete(&adev->dm.dmub_aux_transfer_done); 652 // TODO : HPD Implementation 653 654 } else { 655 DRM_ERROR("DM: Failed to receive correct outbox IRQ !"); 656 } 657 } 658 659 660 do { 661 if (dc_dmub_srv_get_dmub_outbox0_msg(dm->dc, &entry)) { 662 trace_amdgpu_dmub_trace_high_irq(entry.trace_code, entry.tick_count, 663 entry.param0, entry.param1); 664 665 DRM_DEBUG_DRIVER("trace_code:%u, tick_count:%u, param0:%u, param1:%u\n", 666 entry.trace_code, entry.tick_count, entry.param0, entry.param1); 667 } else 668 break; 669 670 count++; 671 672 } while (count <= DMUB_TRACE_MAX_READ); 673 674 ASSERT(count <= DMUB_TRACE_MAX_READ); 675 } 676 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org