All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: Eric Huang <JinHuiEric.Huang@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>,
	kbuild-all@01.org, dri-devel@lists.freedesktop.org
Subject: [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'
Date: Wed, 7 Feb 2018 09:00:33 +0800	[thread overview]
Message-ID: <201802070931.r0ZNi9ET%fengguang.wu@intel.com> (raw)

[-- 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

                 reply	other threads:[~2018-02-07  1:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201802070931.r0ZNi9ET%fengguang.wu@intel.com \
    --to=fengguang.wu@intel.com \
    --cc=JinHuiEric.Huang@amd.com \
    --cc=alexander.deucher@amd.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=kbuild-all@01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.