From: kernel test robot <lkp@intel.com>
To: Thomas Zimmermann <tzimmermann@suse.de>,
alexander.deucher@amd.com, christian.koenig@amd.com,
airlied@gmail.com, simona@ffwll.ch,
maarten.lankhorst@linux.intel.com, mripard@kernel.org
Cc: oe-kbuild-all@lists.linux.dev, amd-gfx@lists.freedesktop.org,
dri-devel@lists.freedesktop.org, sashiko-reviews@lists.linux.dev,
Thomas Zimmermann <tzimmermann@suse.de>
Subject: Re: [PATCH v2 2/2] drm: Remove drm_crtc_init()
Date: Fri, 13 Nov 2026 04:09:19 +0800 [thread overview]
Message-ID: <202611130335.vCIEnRqF-lkp@intel.com> (raw)
In-Reply-To: <20261112125039.66082-3-tzimmermann@suse.de>
Hi Thomas,
kernel test robot noticed the following build errors:
[auto build test ERROR on drm-misc/drm-misc-next]
[also build test ERROR on linus/master v7.4-rc2 next-20261111]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Thomas-Zimmermann/drm-radeon-Inline-drm_crtc_init/20261112-134508
base: https://gitlab.freedesktop.org/drm/misc/kernel.git drm-misc-next
patch link: https://lore.kernel.org/r/20261112125039.66082-3-tzimmermann%40suse.de
patch subject: [PATCH v2 2/2] drm: Remove drm_crtc_init()
config: arc-randconfig-1001-20261112 (https://download.01.org/0day-ci/archive/20261113/202611130335.vCIEnRqF-lkp@intel.com/config)
compiler: arc-linux-gcc (GCC) 12.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261113/202611130335.vCIEnRqF-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202611130335.vCIEnRqF-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c: In function 'dce_v10_0_crtc_init':
>> drivers/gpu/drm/amd/amdgpu/dce_v10_0.c:2677:9: error: implicit declaration of function 'drm_crtc_init'; did you mean 'drm_exec_init'? [-Werror=implicit-function-declaration]
2677 | drm_crtc_init(adev_to_drm(adev), &amdgpu_crtc->base, &dce_v10_0_crtc_funcs);
| ^~~~~~~~~~~~~
| drm_exec_init
cc1: some warnings being treated as errors
--
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c: In function 'dce_v8_0_crtc_init':
>> drivers/gpu/drm/amd/amdgpu/dce_v8_0.c:2603:9: error: implicit declaration of function 'drm_crtc_init'; did you mean 'drm_exec_init'? [-Werror=implicit-function-declaration]
2603 | drm_crtc_init(adev_to_drm(adev), &amdgpu_crtc->base, &dce_v8_0_crtc_funcs);
| ^~~~~~~~~~~~~
| drm_exec_init
cc1: some warnings being treated as errors
--
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c: In function 'dce_v6_0_crtc_init':
>> drivers/gpu/drm/amd/amdgpu/dce_v6_0.c:2645:9: error: implicit declaration of function 'drm_crtc_init'; did you mean 'drm_exec_init'? [-Werror=implicit-function-declaration]
2645 | drm_crtc_init(adev_to_drm(adev), &amdgpu_crtc->base, &dce_v6_0_crtc_funcs);
| ^~~~~~~~~~~~~
| drm_exec_init
cc1: some warnings being treated as errors
vim +2677 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
7e50642d41050c Alex Deucher 2024-10-31 2667
aaa36a976bbb9b Alex Deucher 2015-04-20 2668 static int dce_v10_0_crtc_init(struct amdgpu_device *adev, int index)
aaa36a976bbb9b Alex Deucher 2015-04-20 2669 {
aaa36a976bbb9b Alex Deucher 2015-04-20 2670 struct amdgpu_crtc *amdgpu_crtc;
aaa36a976bbb9b Alex Deucher 2015-04-20 2671
aaa36a976bbb9b Alex Deucher 2015-04-20 2672 amdgpu_crtc = kzalloc(sizeof(struct amdgpu_crtc) +
aaa36a976bbb9b Alex Deucher 2015-04-20 2673 (AMDGPUFB_CONN_LIMIT * sizeof(struct drm_connector *)), GFP_KERNEL);
aaa36a976bbb9b Alex Deucher 2015-04-20 2674 if (amdgpu_crtc == NULL)
aaa36a976bbb9b Alex Deucher 2015-04-20 2675 return -ENOMEM;
aaa36a976bbb9b Alex Deucher 2015-04-20 2676
4a580877bdcb83 Luben Tuikov 2020-08-24 @2677 drm_crtc_init(adev_to_drm(adev), &amdgpu_crtc->base, &dce_v10_0_crtc_funcs);
aaa36a976bbb9b Alex Deucher 2015-04-20 2678
aaa36a976bbb9b Alex Deucher 2015-04-20 2679 drm_mode_crtc_set_gamma_size(&amdgpu_crtc->base, 256);
aaa36a976bbb9b Alex Deucher 2015-04-20 2680 amdgpu_crtc->crtc_id = index;
aaa36a976bbb9b Alex Deucher 2015-04-20 2681 adev->mode_info.crtcs[index] = amdgpu_crtc;
aaa36a976bbb9b Alex Deucher 2015-04-20 2682
aaa36a976bbb9b Alex Deucher 2015-04-20 2683 amdgpu_crtc->max_cursor_width = 128;
aaa36a976bbb9b Alex Deucher 2015-04-20 2684 amdgpu_crtc->max_cursor_height = 128;
4a580877bdcb83 Luben Tuikov 2020-08-24 2685 adev_to_drm(adev)->mode_config.cursor_width = amdgpu_crtc->max_cursor_width;
4a580877bdcb83 Luben Tuikov 2020-08-24 2686 adev_to_drm(adev)->mode_config.cursor_height = amdgpu_crtc->max_cursor_height;
aaa36a976bbb9b Alex Deucher 2015-04-20 2687
aaa36a976bbb9b Alex Deucher 2015-04-20 2688 switch (amdgpu_crtc->crtc_id) {
aaa36a976bbb9b Alex Deucher 2015-04-20 2689 case 0:
aaa36a976bbb9b Alex Deucher 2015-04-20 2690 default:
aaa36a976bbb9b Alex Deucher 2015-04-20 2691 amdgpu_crtc->crtc_offset = CRTC0_REGISTER_OFFSET;
aaa36a976bbb9b Alex Deucher 2015-04-20 2692 break;
aaa36a976bbb9b Alex Deucher 2015-04-20 2693 case 1:
aaa36a976bbb9b Alex Deucher 2015-04-20 2694 amdgpu_crtc->crtc_offset = CRTC1_REGISTER_OFFSET;
aaa36a976bbb9b Alex Deucher 2015-04-20 2695 break;
aaa36a976bbb9b Alex Deucher 2015-04-20 2696 case 2:
aaa36a976bbb9b Alex Deucher 2015-04-20 2697 amdgpu_crtc->crtc_offset = CRTC2_REGISTER_OFFSET;
aaa36a976bbb9b Alex Deucher 2015-04-20 2698 break;
aaa36a976bbb9b Alex Deucher 2015-04-20 2699 case 3:
aaa36a976bbb9b Alex Deucher 2015-04-20 2700 amdgpu_crtc->crtc_offset = CRTC3_REGISTER_OFFSET;
aaa36a976bbb9b Alex Deucher 2015-04-20 2701 break;
aaa36a976bbb9b Alex Deucher 2015-04-20 2702 case 4:
aaa36a976bbb9b Alex Deucher 2015-04-20 2703 amdgpu_crtc->crtc_offset = CRTC4_REGISTER_OFFSET;
aaa36a976bbb9b Alex Deucher 2015-04-20 2704 break;
aaa36a976bbb9b Alex Deucher 2015-04-20 2705 case 5:
aaa36a976bbb9b Alex Deucher 2015-04-20 2706 amdgpu_crtc->crtc_offset = CRTC5_REGISTER_OFFSET;
aaa36a976bbb9b Alex Deucher 2015-04-20 2707 break;
aaa36a976bbb9b Alex Deucher 2015-04-20 2708 }
aaa36a976bbb9b Alex Deucher 2015-04-20 2709
aaa36a976bbb9b Alex Deucher 2015-04-20 2710 amdgpu_crtc->pll_id = ATOM_PPLL_INVALID;
aaa36a976bbb9b Alex Deucher 2015-04-20 2711 amdgpu_crtc->adjusted_clock = 0;
aaa36a976bbb9b Alex Deucher 2015-04-20 2712 amdgpu_crtc->encoder = NULL;
aaa36a976bbb9b Alex Deucher 2015-04-20 2713 amdgpu_crtc->connector = NULL;
aaa36a976bbb9b Alex Deucher 2015-04-20 2714 drm_crtc_helper_add(&amdgpu_crtc->base, &dce_v10_0_crtc_helper_funcs);
7e50642d41050c Alex Deucher 2024-10-31 2715 drm_plane_helper_add(amdgpu_crtc->base.primary, &dce_v10_0_drm_primary_plane_helper_funcs);
aaa36a976bbb9b Alex Deucher 2015-04-20 2716
aaa36a976bbb9b Alex Deucher 2015-04-20 2717 return 0;
aaa36a976bbb9b Alex Deucher 2015-04-20 2718 }
aaa36a976bbb9b Alex Deucher 2015-04-20 2719
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2026-11-12 20:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-12 12:45 [PATCH v2 0/2] drm/radeon: Inline drm_crtc_init() Thomas Zimmermann
2026-11-12 12:45 ` [PATCH v2 1/2] " Thomas Zimmermann
2026-11-12 13:21 ` sashiko-bot
2026-11-12 12:45 ` [PATCH v2 2/2] drm: Remove drm_crtc_init() Thomas Zimmermann
2026-11-12 13:01 ` sashiko-bot
2026-11-12 19:18 ` kernel test robot
2026-11-12 20:09 ` kernel test robot [this message]
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=202611130335.vCIEnRqF-lkp@intel.com \
--to=lkp@intel.com \
--cc=airlied@gmail.com \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=christian.koenig@amd.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=sashiko-reviews@lists.linux.dev \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
/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.