All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	linux-kernel@vger.kernel.org,
	Alex Deucher <alexander.deucher@amd.com>
Subject: [agd5f:drm-next 25/34] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:991:3: error: implicit declaration of function 'DC_FP_START'
Date: Tue, 15 Feb 2022 19:23:39 +0800	[thread overview]
Message-ID: <202202151850.04BAOxth-lkp@intel.com> (raw)

tree:   https://gitlab.freedesktop.org/agd5f/linux.git drm-next
head:   076172cdc7ab4983ed7596a53b95851849269e5a
commit: af45a5fe4f0af159db23e8bf851115b61031c648 [25/34] drm/amd/display: Protect update_bw_bounding_box FPU code.
config: riscv-randconfig-r033-20220214 (https://download.01.org/0day-ci/archive/20220215/202202151850.04BAOxth-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 37f422f4ac31c8b8041c6b62065263314282dab6)
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
        # install riscv cross compiling tool for clang build
        # apt-get install binutils-riscv64-linux-gnu
        git remote add agd5f https://gitlab.freedesktop.org/agd5f/linux.git
        git fetch --no-tags agd5f drm-next
        git checkout af45a5fe4f0af159db23e8bf851115b61031c648
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash

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/dc/core/dc.c:64:
   In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_dmub_srv.h:30:
   In file included from drivers/gpu/drm/amd/amdgpu/../display/dmub/dmub_srv.h:67:
   drivers/gpu/drm/amd/amdgpu/../display/dmub/inc/dmub_cmd.h:2921:12: warning: variable 'temp' set but not used [-Wunused-but-set-variable]
                   uint64_t temp;
                            ^
>> drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:991:3: error: implicit declaration of function 'DC_FP_START' [-Werror,-Wimplicit-function-declaration]
                   DC_FP_START();
                   ^
>> drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:993:3: error: implicit declaration of function 'DC_FP_END' [-Werror,-Wimplicit-function-declaration]
                   DC_FP_END();
                   ^
   1 warning and 2 errors generated.


vim +/DC_FP_START +991 drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c

   989	
   990		if (dc->res_pool->funcs->update_bw_bounding_box) {
 > 991			DC_FP_START();
   992			dc->res_pool->funcs->update_bw_bounding_box(dc, dc->clk_mgr->bw_params);
 > 993			DC_FP_END();
   994		}
   995	
   996		/* Creation of current_state must occur after dc->dml
   997		 * is initialized in dc_create_resource_pool because
   998		 * on creation it copies the contents of dc->dml
   999		 */
  1000	
  1001		dc->current_state = dc_create_state(dc);
  1002	
  1003		if (!dc->current_state) {
  1004			dm_error("%s: failed to create validate ctx\n", __func__);
  1005			goto fail;
  1006		}
  1007	
  1008		if (!create_links(dc, init_params->num_virtual_links))
  1009			goto fail;
  1010	
  1011		/* Create additional DIG link encoder objects if fewer than the platform
  1012		 * supports were created during link construction.
  1013		 */
  1014		if (!create_link_encoders(dc))
  1015			goto fail;
  1016	
  1017		dc_resource_state_construct(dc, dc->current_state);
  1018	
  1019		return true;
  1020	
  1021	fail:
  1022		return false;
  1023	}
  1024	

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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [agd5f:drm-next 25/34] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:991:3: error: implicit declaration of function 'DC_FP_START'
Date: Tue, 15 Feb 2022 19:23:39 +0800	[thread overview]
Message-ID: <202202151850.04BAOxth-lkp@intel.com> (raw)

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

tree:   https://gitlab.freedesktop.org/agd5f/linux.git drm-next
head:   076172cdc7ab4983ed7596a53b95851849269e5a
commit: af45a5fe4f0af159db23e8bf851115b61031c648 [25/34] drm/amd/display: Protect update_bw_bounding_box FPU code.
config: riscv-randconfig-r033-20220214 (https://download.01.org/0day-ci/archive/20220215/202202151850.04BAOxth-lkp(a)intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 37f422f4ac31c8b8041c6b62065263314282dab6)
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
        # install riscv cross compiling tool for clang build
        # apt-get install binutils-riscv64-linux-gnu
        git remote add agd5f https://gitlab.freedesktop.org/agd5f/linux.git
        git fetch --no-tags agd5f drm-next
        git checkout af45a5fe4f0af159db23e8bf851115b61031c648
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash

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/dc/core/dc.c:64:
   In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_dmub_srv.h:30:
   In file included from drivers/gpu/drm/amd/amdgpu/../display/dmub/dmub_srv.h:67:
   drivers/gpu/drm/amd/amdgpu/../display/dmub/inc/dmub_cmd.h:2921:12: warning: variable 'temp' set but not used [-Wunused-but-set-variable]
                   uint64_t temp;
                            ^
>> drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:991:3: error: implicit declaration of function 'DC_FP_START' [-Werror,-Wimplicit-function-declaration]
                   DC_FP_START();
                   ^
>> drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:993:3: error: implicit declaration of function 'DC_FP_END' [-Werror,-Wimplicit-function-declaration]
                   DC_FP_END();
                   ^
   1 warning and 2 errors generated.


vim +/DC_FP_START +991 drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c

   989	
   990		if (dc->res_pool->funcs->update_bw_bounding_box) {
 > 991			DC_FP_START();
   992			dc->res_pool->funcs->update_bw_bounding_box(dc, dc->clk_mgr->bw_params);
 > 993			DC_FP_END();
   994		}
   995	
   996		/* Creation of current_state must occur after dc->dml
   997		 * is initialized in dc_create_resource_pool because
   998		 * on creation it copies the contents of dc->dml
   999		 */
  1000	
  1001		dc->current_state = dc_create_state(dc);
  1002	
  1003		if (!dc->current_state) {
  1004			dm_error("%s: failed to create validate ctx\n", __func__);
  1005			goto fail;
  1006		}
  1007	
  1008		if (!create_links(dc, init_params->num_virtual_links))
  1009			goto fail;
  1010	
  1011		/* Create additional DIG link encoder objects if fewer than the platform
  1012		 * supports were created during link construction.
  1013		 */
  1014		if (!create_link_encoders(dc))
  1015			goto fail;
  1016	
  1017		dc_resource_state_construct(dc, dc->current_state);
  1018	
  1019		return true;
  1020	
  1021	fail:
  1022		return false;
  1023	}
  1024	

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

             reply	other threads:[~2022-02-15 11:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-15 11:23 kernel test robot [this message]
2022-02-15 11:23 ` [agd5f:drm-next 25/34] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:991:3: error: implicit declaration of function 'DC_FP_START' kernel test robot

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=202202151850.04BAOxth-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=alexander.deucher@amd.com \
    --cc=bas@basnieuwenhuizen.nl \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    /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.