All of lore.kernel.org
 help / color / mirror / Atom feed
* [radeon-alex:amd-staging-drm-next 1/3] drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:1067:3: error: 'const struct pp_hwmgr_func' has no member named 'set_mmhub_powergating_by_smu'
@ 2018-02-07  1:00 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2018-02-07  1:00 UTC (permalink / raw)
  To: Eric Huang; +Cc: Alex Deucher, kbuild-all, dri-devel

[-- Attachment #1: Type: text/plain, Size: 3627 bytes --]

tree:   git://people.freedesktop.org/~agd5f/linux.git amd-staging-drm-next
head:   987aae1f47ba0fe5a320d013d2bf97b5f9922761
commit: 6bea4fd090e45704decd1abf47431ad1c1e56977 [1/3] drm/amd/powerplay: implement set_mmhub_powergating_by_smu for Raven
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 7.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 6bea4fd090e45704decd1abf47431ad1c1e56977
        # save the attached .config to linux build tree
        make.cross ARCH=ia64 

Note: the radeon-alex/amd-staging-drm-next HEAD 987aae1f47ba0fe5a320d013d2bf97b5f9922761 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:1067:3: error: 'const struct pp_hwmgr_func' has no member named 'set_mmhub_powergating_by_smu'
     .set_mmhub_powergating_by_smu = rv_set_mmhub_powergating_by_smu,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:1067:34: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .set_mmhub_powergating_by_smu = rv_set_mmhub_powergating_by_smu,
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:1067:34: note: (near initialization for 'rv_hwmgr_funcs.patch_boot_state')
   cc1: some warnings being treated as errors

vim +1067 drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c

  1033	
  1034	static const struct pp_hwmgr_func rv_hwmgr_funcs = {
  1035		.backend_init = rv_hwmgr_backend_init,
  1036		.backend_fini = rv_hwmgr_backend_fini,
  1037		.asic_setup = NULL,
  1038		.apply_state_adjust_rules = rv_apply_state_adjust_rules,
  1039		.force_dpm_level = rv_dpm_force_dpm_level,
  1040		.get_power_state_size = rv_get_power_state_size,
  1041		.powerdown_uvd = NULL,
  1042		.powergate_uvd = NULL,
  1043		.powergate_vce = NULL,
  1044		.get_mclk = rv_dpm_get_mclk,
  1045		.get_sclk = rv_dpm_get_sclk,
  1046		.patch_boot_state = rv_dpm_patch_boot_state,
  1047		.get_pp_table_entry = rv_dpm_get_pp_table_entry,
  1048		.get_num_of_pp_table_entries = rv_dpm_get_num_of_pp_table_entries,
  1049		.set_cpu_power_state = rv_set_cpu_power_state,
  1050		.store_cc6_data = rv_store_cc6_data,
  1051		.force_clock_level = rv_force_clock_level,
  1052		.print_clock_levels = rv_print_clock_levels,
  1053		.get_dal_power_level = rv_get_dal_power_level,
  1054		.get_performance_level = rv_get_performance_level,
  1055		.get_current_shallow_sleep_clocks = rv_get_current_shallow_sleep_clocks,
  1056		.get_clock_by_type_with_latency = rv_get_clock_by_type_with_latency,
  1057		.get_clock_by_type_with_voltage = rv_get_clock_by_type_with_voltage,
  1058		.get_max_high_clocks = rv_get_max_high_clocks,
  1059		.read_sensor = rv_read_sensor,
  1060		.set_active_display_count = rv_set_active_display_count,
  1061		.set_deep_sleep_dcefclk = rv_set_deep_sleep_dcefclk,
  1062		.dynamic_state_management_enable = rv_enable_dpm_tasks,
  1063		.power_off_asic = rv_power_off_asic,
  1064		.asic_setup = rv_setup_asic_task,
  1065		.power_state_set = rv_set_power_state_tasks,
  1066		.dynamic_state_management_disable = rv_disable_dpm_tasks,
> 1067		.set_mmhub_powergating_by_smu = rv_set_mmhub_powergating_by_smu,
  1068	};
  1069	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 49847 bytes --]

[-- Attachment #3: 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] only message in thread

only message in thread, other threads:[~2018-02-07  1:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-07  1:00 [radeon-alex:amd-staging-drm-next 1/3] drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:1067:3: error: 'const struct pp_hwmgr_func' has no member named 'set_mmhub_powergating_by_smu' kbuild test robot

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.