All of lore.kernel.org
 help / color / mirror / Atom feed
* [agd5f:drm-next 205/258] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c:3248:27: error: 'struct dc_debug_options' has no member named 'set_mst_en_for_sst'
@ 2021-12-11  5:34 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-12-11  5:34 UTC (permalink / raw)
  To: Fangzhi Zuo; +Cc: kbuild-all, linux-kernel, Alex Deucher, Aurabindo Pillai

tree:   https://gitlab.freedesktop.org/agd5f/linux.git drm-next
head:   8e00bea4bc1ae98ad8dec7c633175c0afd7ccc0c
commit: 99e574ca64d3b6046b960e06a0b16e7a328b0318 [205/258] drm/amd/display: Add Debugfs Entry to Force in SST Sequence
config: microblaze-randconfig-r014-20211210 (https://download.01.org/0day-ci/archive/20211211/202112111319.i3OFFWLM-lkp@intel.com/config)
compiler: microblaze-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git remote add agd5f https://gitlab.freedesktop.org/agd5f/linux.git
        git fetch --no-tags agd5f drm-next
        git checkout 99e574ca64d3b6046b960e06a0b16e7a328b0318
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=microblaze SHELL=/bin/bash drivers/gpu/drm/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   In file included from drivers/gpu/drm/amd/amdgpu/../display/dmub/dmub_srv.h:67,
                    from drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c:33:
   drivers/gpu/drm/amd/amdgpu/../display/dmub/inc/dmub_cmd.h: In function 'dmub_rb_flush_pending':
   drivers/gpu/drm/amd/amdgpu/../display/dmub/inc/dmub_cmd.h:2918:26: warning: variable 'temp' set but not used [-Wunused-but-set-variable]
    2918 |                 uint64_t temp;
         |                          ^~~~
   drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c: In function 'dp_force_sst_set':
>> drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c:3248:27: error: 'struct dc_debug_options' has no member named 'set_mst_en_for_sst'
    3248 |         adev->dm.dc->debug.set_mst_en_for_sst = val;
         |                           ^
   drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c: In function 'dp_force_sst_get':
   drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c:3257:34: error: 'struct dc_debug_options' has no member named 'set_mst_en_for_sst'
    3257 |         *val = adev->dm.dc->debug.set_mst_en_for_sst;
         |                                  ^
   In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/core_types.h:32,
                    from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/resource.h:28,
                    from drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c:34:
   At top level:
   drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:122:22: warning: 'DP_SINK_DEVICE_STR_ID_2' defined but not used [-Wunused-const-variable=]
     122 | static const uint8_t DP_SINK_DEVICE_STR_ID_2[] = {7, 1, 8, 7, 5, 0};
         |                      ^~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:121:22: warning: 'DP_SINK_DEVICE_STR_ID_1' defined but not used [-Wunused-const-variable=]
     121 | static const uint8_t DP_SINK_DEVICE_STR_ID_1[] = {7, 1, 8, 7, 3, 0};
         |                      ^~~~~~~~~~~~~~~~~~~~~~~


vim +3248 drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c

  3236	
  3237	DEFINE_DEBUGFS_ATTRIBUTE(disable_hpd_ops, disable_hpd_get,
  3238				 disable_hpd_set, "%llu\n");
  3239	
  3240	/*
  3241	 * Force sst sequence in mst capable receiver.
  3242	 * Example usage: echo 1 > /sys/kernel/debug/dri/0/amdgpu_dm_dp_set_mst_en_for_sst
  3243	 */
  3244	static int dp_force_sst_set(void *data, u64 val)
  3245	{
  3246		struct amdgpu_device *adev = data;
  3247	
> 3248		adev->dm.dc->debug.set_mst_en_for_sst = val;
  3249	
  3250		return 0;
  3251	}
  3252	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

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

* [agd5f:drm-next 205/258] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c:3248:27: error: 'struct dc_debug_options' has no member named 'set_mst_en_for_sst'
@ 2021-12-11  5:34 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-12-11  5:34 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://gitlab.freedesktop.org/agd5f/linux.git drm-next
head:   8e00bea4bc1ae98ad8dec7c633175c0afd7ccc0c
commit: 99e574ca64d3b6046b960e06a0b16e7a328b0318 [205/258] drm/amd/display: Add Debugfs Entry to Force in SST Sequence
config: microblaze-randconfig-r014-20211210 (https://download.01.org/0day-ci/archive/20211211/202112111319.i3OFFWLM-lkp(a)intel.com/config)
compiler: microblaze-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git remote add agd5f https://gitlab.freedesktop.org/agd5f/linux.git
        git fetch --no-tags agd5f drm-next
        git checkout 99e574ca64d3b6046b960e06a0b16e7a328b0318
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=microblaze SHELL=/bin/bash drivers/gpu/drm/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   In file included from drivers/gpu/drm/amd/amdgpu/../display/dmub/dmub_srv.h:67,
                    from drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c:33:
   drivers/gpu/drm/amd/amdgpu/../display/dmub/inc/dmub_cmd.h: In function 'dmub_rb_flush_pending':
   drivers/gpu/drm/amd/amdgpu/../display/dmub/inc/dmub_cmd.h:2918:26: warning: variable 'temp' set but not used [-Wunused-but-set-variable]
    2918 |                 uint64_t temp;
         |                          ^~~~
   drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c: In function 'dp_force_sst_set':
>> drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c:3248:27: error: 'struct dc_debug_options' has no member named 'set_mst_en_for_sst'
    3248 |         adev->dm.dc->debug.set_mst_en_for_sst = val;
         |                           ^
   drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c: In function 'dp_force_sst_get':
   drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c:3257:34: error: 'struct dc_debug_options' has no member named 'set_mst_en_for_sst'
    3257 |         *val = adev->dm.dc->debug.set_mst_en_for_sst;
         |                                  ^
   In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/core_types.h:32,
                    from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/resource.h:28,
                    from drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c:34:
   At top level:
   drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:122:22: warning: 'DP_SINK_DEVICE_STR_ID_2' defined but not used [-Wunused-const-variable=]
     122 | static const uint8_t DP_SINK_DEVICE_STR_ID_2[] = {7, 1, 8, 7, 5, 0};
         |                      ^~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:121:22: warning: 'DP_SINK_DEVICE_STR_ID_1' defined but not used [-Wunused-const-variable=]
     121 | static const uint8_t DP_SINK_DEVICE_STR_ID_1[] = {7, 1, 8, 7, 3, 0};
         |                      ^~~~~~~~~~~~~~~~~~~~~~~


vim +3248 drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c

  3236	
  3237	DEFINE_DEBUGFS_ATTRIBUTE(disable_hpd_ops, disable_hpd_get,
  3238				 disable_hpd_set, "%llu\n");
  3239	
  3240	/*
  3241	 * Force sst sequence in mst capable receiver.
  3242	 * Example usage: echo 1 > /sys/kernel/debug/dri/0/amdgpu_dm_dp_set_mst_en_for_sst
  3243	 */
  3244	static int dp_force_sst_set(void *data, u64 val)
  3245	{
  3246		struct amdgpu_device *adev = data;
  3247	
> 3248		adev->dm.dc->debug.set_mst_en_for_sst = val;
  3249	
  3250		return 0;
  3251	}
  3252	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

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

end of thread, other threads:[~2021-12-11  5:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-11  5:34 [agd5f:drm-next 205/258] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c:3248:27: error: 'struct dc_debug_options' has no member named 'set_mst_en_for_sst' kernel test robot
2021-12-11  5:34 ` kernel 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.