From: kernel test robot <lkp@intel.com>
To: "Markus Elfring" <Markus.Elfring@web.de>,
amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
"Alex Deucher" <alexander.deucher@amd.com>,
"Alex Hung" <alex.hung@amd.com>,
"Aurabindo Pillai" <aurabindo.pillai@amd.com>,
"Christian König" <christian.koenig@amd.com>,
"Daniel Vetter" <daniel@ffwll.ch>,
"David Airlie" <airlied@gmail.com>,
"Dominik Kaszewski" <dominik.kaszewski@amd.com>,
"Fangzhi Zuo" <Jerry.Zuo@amd.com>,
"Hamza Mahfooz" <hamza.mahfooz@amd.com>,
"Harry Wentland" <harry.wentland@amd.com>,
"Hersen Wu" <hersenxs.wu@amd.com>, "Leo Li" <sunpeng.li@amd.com>,
"Mario Limonciello" <mario.limonciello@amd.com>,
"Rodrigo Siqueira" <Rodrigo.Siqueira@amd.com>,
"Roman Li" <roman.li@amd.com>, "Simona Vetter" <simona@ffwll.ch>,
"Stylon Wang" <stylon.wang@amd.com>,
"Tom Chung" <chiahsuan.chung@amd.com>,
"Wayne Lin" <Wayne.Lin@amd.com>,
"Xinhui Pan" <Xinhui.Pan@amd.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
LKML <linux-kernel@vger.kernel.org>,
kernel-janitors@vger.kernel.org, cocci@inria.fr,
Melissa Wen <mwen@igalia.com>
Subject: Re: [PATCH v2] drm/amd/display: Fix exception handling in dm_validate_stream_and_context()
Date: Tue, 10 Jun 2025 03:21:00 +0800 [thread overview]
Message-ID: <202506100312.Ms4XgAzW-lkp@intel.com> (raw)
In-Reply-To: <da489521-7786-4716-8fb8-d79b3c08d93c@web.de>
Hi Markus,
kernel test robot noticed the following build errors:
[auto build test ERROR on next-20250606]
[also build test ERROR on v6.16-rc1]
[cannot apply to drm-exynos/exynos-drm-next linus/master drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm/drm-next drm-misc/drm-misc-next v6.16-rc1 v6.15 v6.15-rc7]
[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/Markus-Elfring/drm-amd-display-Fix-exception-handling-in-dm_validate_stream_and_context/20250609-151039
base: next-20250606
patch link: https://lore.kernel.org/r/da489521-7786-4716-8fb8-d79b3c08d93c%40web.de
patch subject: [PATCH v2] drm/amd/display: Fix exception handling in dm_validate_stream_and_context()
config: x86_64-buildonly-randconfig-005-20250609 (https://download.01.org/0day-ci/archive/20250610/202506100312.Ms4XgAzW-lkp@intel.com/config)
compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250610/202506100312.Ms4XgAzW-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/202506100312.Ms4XgAzW-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:7525:2: error: call to undeclared function 'dc_release_state'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
7525 | dc_release_state(dc_state);
| ^
1 error generated.
vim +/dc_release_state +7525 drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c
7471
7472 static enum dc_status dm_validate_stream_and_context(struct dc *dc,
7473 struct dc_stream_state *stream)
7474 {
7475 enum dc_status dc_result = DC_ERROR_UNEXPECTED;
7476 struct dc_plane_state *dc_plane_state;
7477 struct dc_state *dc_state;
7478
7479 if (!stream)
7480 return dc_result;
7481
7482 dc_plane_state = dc_create_plane_state(dc);
7483 if (!dc_plane_state)
7484 return dc_result;
7485
7486 dc_state = dc_state_create(dc, NULL);
7487 if (!dc_state)
7488 goto release_plane_state;
7489
7490 /* populate stream to plane */
7491 dc_plane_state->src_rect.height = stream->src.height;
7492 dc_plane_state->src_rect.width = stream->src.width;
7493 dc_plane_state->dst_rect.height = stream->src.height;
7494 dc_plane_state->dst_rect.width = stream->src.width;
7495 dc_plane_state->clip_rect.height = stream->src.height;
7496 dc_plane_state->clip_rect.width = stream->src.width;
7497 dc_plane_state->plane_size.surface_pitch = ((stream->src.width + 255) / 256) * 256;
7498 dc_plane_state->plane_size.surface_size.height = stream->src.height;
7499 dc_plane_state->plane_size.surface_size.width = stream->src.width;
7500 dc_plane_state->plane_size.chroma_size.height = stream->src.height;
7501 dc_plane_state->plane_size.chroma_size.width = stream->src.width;
7502 dc_plane_state->format = SURFACE_PIXEL_FORMAT_GRPH_ARGB8888;
7503 dc_plane_state->tiling_info.gfx9.swizzle = DC_SW_UNKNOWN;
7504 dc_plane_state->rotation = ROTATION_ANGLE_0;
7505 dc_plane_state->is_tiling_rotated = false;
7506 dc_plane_state->tiling_info.gfx8.array_mode = DC_ARRAY_LINEAR_GENERAL;
7507
7508 dc_result = dc_validate_stream(dc, stream);
7509 if (dc_result == DC_OK)
7510 dc_result = dc_validate_plane(dc, dc_plane_state);
7511
7512 if (dc_result == DC_OK)
7513 dc_result = dc_state_add_stream(dc, dc_state, stream);
7514
7515 if (dc_result == DC_OK && !dc_state_add_plane(
7516 dc,
7517 stream,
7518 dc_plane_state,
7519 dc_state))
7520 dc_result = DC_FAIL_ATTACH_SURFACES;
7521
7522 if (dc_result == DC_OK)
7523 dc_result = dc_validate_global_state(dc, dc_state, DC_VALIDATE_MODE_ONLY);
7524
> 7525 dc_release_state(dc_state);
7526 release_plane_state:
7527 dc_plane_state_release(dc_plane_state);
7528 return dc_result;
7529 }
7530
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-06-09 19:21 UTC|newest]
Thread overview: 87+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <f9303bdc-b1a7-be5e-56c6-dfa8232b8b55@web.de>
[not found] ` <0981dc33-95d0-4a1b-51d9-168907da99e6@web.de>
2023-03-17 13:11 ` [PATCH] powerpc/pseries: Fix exception handling in pSeries_reconfig_add_node() Nathan Lynch
[not found] ` <a01643fd-1e4a-1183-2fa6-000465bc81f3@web.de>
2023-03-17 15:41 ` Nathan Lynch
[not found] ` <2f5a00f6-f3fb-9f00-676a-acdcbef90c6c@web.de>
2023-03-20 15:38 ` Nathan Lynch
[not found] ` <afb528f2-5960-d107-c3ba-42a3356ffc65@web.de>
[not found] ` <d4bcde15-b4f1-0e98-9072-3153d1bd21bc@web.de>
[not found] ` <08ddf274-b9a3-a702-dd1b-2c11b316ac5f@web.de>
2024-01-05 17:19 ` [PATCH resent v2 0/2] powerpc/pseries: Fixes for " Markus Elfring
[not found] ` <8949eefb-30d3-3c51-4f03-4a3c6f1b15dc@web.de>
2024-10-03 17:05 ` [PATCH v2 1/2] powerpc/pseries: Do not pass an error pointer to of_node_put() " Markus Elfring
2024-10-03 21:01 ` Christophe Leroy
2024-10-04 7:23 ` [v2 " Markus Elfring
[not found] ` <afe30fc6-04c9-528c-f84a-67902b5a6ed8@web.de>
2023-03-19 11:40 ` [PATCH] RDMA/siw: Fix exception handling in siw_accept_newconn() Leon Romanovsky
[not found] ` <1c06e86d-1468-c11a-8344-9563ad6047b5@web.de>
2023-03-19 14:11 ` Leon Romanovsky
[not found] ` <a03c1d04-a41e-7722-c36a-bd6f61094702@web.de>
2023-03-19 17:37 ` Leon Romanovsky
[not found] ` <f0f96f74-21d1-f5bf-1086-1c3ce0ea18f5@web.de>
2023-03-19 11:41 ` [PATCH] RDMA/erdma: Fix exception handling in erdma_accept_newconn() Leon Romanovsky
2023-03-19 13:36 ` Cheng Xu
2025-03-05 14:20 ` [PATCH] RDMA/erdma: Prevent use-after-free " Markus Elfring
2025-03-06 8:47 ` Leon Romanovsky
2025-03-06 12:06 ` Cheng Xu
[not found] ` <521b63e1-9470-58ef-599e-50a1846e5380@web.de>
2023-03-20 4:21 ` [PATCH] Input: iforce - Fix exception handling in iforce_usb_probe() Dmitry Torokhov
2023-03-20 4:34 ` Tetsuo Handa
2023-03-20 6:05 ` Dmitry Torokhov
[not found] ` <e3aaeecf-8e74-2e74-c58a-d80e153e98f9@web.de>
2023-03-22 9:36 ` [PATCH] media: hantro: HEVC: Fix exception handling in tile_buffer_reallocate() Benjamin Gaignard
[not found] ` <6e9ca062-939b-af96-c8ff-56ad485d6e79@web.de>
2023-03-24 17:30 ` [PATCH] mm/mempolicy: Fix exception handling in shared_policy_replace() Vlastimil Babka
[not found] ` <e6656c83-ee7a-a253-2028-109138779c94@web.de>
[not found] ` <ea0ff67b-3665-db82-9792-67a633ba07f5@web.de>
2023-03-24 17:46 ` [PATCH resent] drm/amd/display: Fix exception handling in dm_validate_stream_and_context() Hamza Mahfooz
[not found] ` <7a523efc-a82b-a1a1-e846-6047226cc968@web.de>
2023-03-24 18:33 ` Hamza Mahfooz
2025-06-09 7:09 ` [PATCH v2] " Markus Elfring
2025-06-09 19:21 ` kernel test robot [this message]
2025-06-10 6:10 ` [PATCH v3] " Markus Elfring
2025-06-12 14:08 ` Melissa Wen
2025-06-12 20:25 ` [v3] " Markus Elfring
2025-06-18 18:19 ` [PATCH v3] " Dan Carpenter
2025-06-16 21:22 ` Alex Hung
2025-06-17 6:40 ` [v3] " Markus Elfring
[not found] ` <9e0a7e6c-484d-92e0-ddf9-6e541403327e@web.de>
2023-03-24 20:07 ` [PATCH] selftests/bpf: Improve exception handling in rbtree_add_and_remove() Alexei Starovoitov
[not found] ` <e33f264a-7ee9-4ebc-d58e-bbb7fd567198@web.de>
[not found] ` <d0381c8e-7302-b0ed-cf69-cbc8c3618106@web.de>
2023-03-25 10:16 ` [PATCH resent] bcache: Fix exception handling in mca_alloc() Coly Li
[not found] ` <13b4a57a-5911-16db-2b6e-588e5137c3aa@web.de>
2023-03-25 16:07 ` [PATCH v2] " Coly Li
[not found] ` <00589154-00ac-4ed5-2a37-60b3c6f6c523@web.de>
[not found] ` <b7b6db19-055e-ace8-da37-24b4335e93b2@web.de>
2023-03-25 11:51 ` [PATCH resent] mei: Fix exception handling in mei_cl_irq_read_msg() Winkler, Tomas
2025-03-04 17:38 ` [PATCH v2] mei: Improve " Markus Elfring
2025-03-05 7:08 ` Usyskin, Alexander
2025-03-05 7:38 ` [v2] " Markus Elfring
2025-03-05 7:41 ` Usyskin, Alexander
2025-03-05 7:57 ` Greg Kroah-Hartman
2025-03-24 12:30 ` [PATCH v3] " Markus Elfring
[not found] ` <c383bdca-6f0d-4a75-e788-e1920faa0a62@web.de>
2023-03-25 19:24 ` [PATCH] selftests: cgroup: Fix exception handling in test_memcg_oom_group_score_events() Lorenzo Stoakes
[not found] ` <5b7921c9-ee5d-c372-b19b-2701bcf33148@web.de>
2023-03-26 21:39 ` David Vernet
[not found] ` <c46dbb48-259b-1de9-2364-9bfaf1061944@web.de>
2023-03-27 9:13 ` David Vernet
[not found] ` <ab860edf-79ca-2035-c5a3-d25be6fd9dac@web.de>
[not found] ` <3a35fb28-5937-72f8-b2e8-b1d9899b5e43@web.de>
2023-03-27 9:11 ` [PATCH resent] perf/x86/amd/uncore: Fix exception handling in amd_uncore_cpu_up_prepare() Adrian Hunter
2023-03-27 14:58 ` Peter Zijlstra
[not found] ` <8d193937-532f-959f-9b84-d911984508aa@web.de>
[not found] ` <941709b5-d940-42c9-5f31-7ed56e3e6151@web.de>
2023-03-27 12:28 ` [PATCH resent] drbd: Fix exception handling in nla_put_drbd_cfg_context() Christoph Böhmwalder
[not found] ` <83763b78-453d-de21-9b48-1c226afa13a0@web.de>
[not found] ` <57a97109-7a67-245b-8072-54aec3b5021d@web.de>
2023-03-27 21:37 ` [PATCH v2] selinux: Adjust implementation of security_get_bools() Paul Moore
2023-03-27 22:08 ` Paul Moore
[not found] ` <9e8bb69f-99e8-f204-6435-cc6e52816ebf@web.de>
2023-03-28 19:59 ` Paul Moore
[not found] ` <382bc6d8-7f75-822a-6c36-088b1d2f427a@web.de>
2023-03-29 14:19 ` Paul Moore
[not found] ` <5ed1bc78-77a1-8eb8-43f9-6005d7de49c8@web.de>
[not found] ` <9e3705dc-7a70-c584-916e-ae582c7667b6@web.de>
2023-03-28 8:30 ` [PATCH resent] clk: at91: sama7g5: Add two jump labels in sama7g5_pmc_setup() Nicolas Ferre
[not found] ` <7985ac57-5b33-e7df-f319-ad6ee0788e2c@web.de>
2023-03-28 22:02 ` Alexandre Belloni
[not found] ` <6ee3b703-2161-eacd-c12f-7fa3bedf82dc@web.de>
[not found] ` <49adf0c8-825a-018f-6d95-ce613944fc9b@web.de>
2023-03-28 23:21 ` [PATCH resent 0/2] md/raid: Adjustments for two function implementations Song Liu
[not found] ` <2fbfc20a-71ee-ddaa-19d8-7beed559b491@web.de>
2023-03-29 19:03 ` [0/2] " Song Liu
[not found] ` <b3cce5b3-2e68-180c-c293-74d4d9d4032c@web.de>
[not found] ` <2d125f3e-4de6-cfb4-2d21-6e1ec04bc412@web.de>
2023-04-03 3:35 ` [PATCH resent] cpufreq: sparc: Fix exception handling in two functions Viresh Kumar
[not found] ` <39342542-9353-6a7b-0aa9-f9c294b158cb@web.de>
2023-04-03 23:04 ` [PATCH] " Viresh Kumar
[not found] ` <68b1988b-987f-fa2b-111e-b1b42f9767ab@web.de>
2023-04-09 23:55 ` [PATCH v2] " Viresh Kumar
[not found] ` <f9f40c8a-a392-27e3-b19c-c8985a163159@web.de>
2023-04-11 3:30 ` [v2] " Viresh Kumar
[not found] ` <e53bfa4f-c4b0-ee80-a64c-be8e9af76230@web.de>
2023-04-11 6:40 ` Viresh Kumar
[not found] ` <8f785de5-ebe2-edd9-2155-f440acacc643@web.de>
[not found] ` <82aebf6c-47ac-9d17-2d11-6245f582338e@web.de>
2023-04-07 7:54 ` [PATCH] spi: atmel: Improve exception handling in atmel_spi_configure_dma() Nicolas Ferre
[not found] ` <01af2ec9-4758-1fe6-0d74-b30b95c3e9a5@web.de>
2023-04-09 9:59 ` [PATCH 0/2] IB/uverbs: Adjustments for create_qp() Leon Romanovsky
[not found] ` <d0e18bb1-afc4-8b6f-bb1c-b74b3bad908e@web.de>
2023-04-10 17:44 ` [PATCH] remoteproc: imx_dsp_rproc: Improve exception handling in imx_dsp_rproc_mbox_alloc() Mathieu Poirier
[not found] ` <f1eaec48-cabb-5fc6-942b-f1ef7af9bb57@web.de>
2023-05-16 15:20 ` [cocci] [PATCH] firmware: ti_sci: Fix exception handling in ti_sci_probe() Nishanth Menon
2023-05-17 6:43 ` Dan Carpenter
[not found] ` <809905c6-73c0-75a6-1226-048d8cb8dfda@web.de>
2025-03-03 17:49 ` [PATCH RESEND] drm/nouveau: Add a jump label in nouveau_gem_ioctl_pushbuf() Markus Elfring
2025-03-03 19:39 ` Lyude Paul
2025-03-03 19:41 ` Danilo Krummrich
2025-03-03 20:56 ` Lyude Paul
2025-03-04 6:16 ` Dan Carpenter
[not found] ` <72a7bfe2-6051-01b0-6c51-a0f8cc0c93a5@web.de>
[not found] ` <ecda8227-d89a-9c23-06b7-54f9d974af5e@web.de>
2024-01-05 17:42 ` [PATCH v2 0/4] powerpc/4xx: Adjustments for four function implementations Markus Elfring
[not found] ` <e68a714b-32f2-de9f-066e-99a3f51a264f@web.de>
2024-10-03 12:42 ` [PATCH v2 1/4] powerpc/4xx: Fix exception handling in ppc4xx_pciex_port_setup_hose() Christophe Leroy
2024-10-03 15:47 ` Markus Elfring
2024-10-03 16:08 ` Christophe Leroy
2024-10-03 16:38 ` Markus Elfring
[not found] ` <eaa9f90f-c91b-dc87-51a1-d97f99fc5b4b@web.de>
2025-03-03 16:36 ` [PATCH RESEND] dmaengine: bestcomm: Fix exception handling in bcom_task_alloc() Markus Elfring
[not found] ` <9d975625-672c-ab81-2e78-c3fa48747913@web.de>
2025-03-03 19:52 ` [PATCH RESEND] ufs: Fix exception handling in ufs_fill_super() Markus Elfring
[not found] ` <cebfc94f-8fdb-4d5c-56ee-4d37df3430a1@web.de>
2025-03-03 20:31 ` [PATCH RESEND] btrfs: Fix exception handling in relocating_repair_kthread() Markus Elfring
2025-03-04 1:34 ` Naohiro Aota
2025-03-04 6:38 ` Dan Carpenter
[not found] ` <b1c70348-6459-474e-6a0f-d956423368d5@web.de>
2025-03-04 9:50 ` [PATCH RESEND] perf cputopo: Improve exception handling in build_cpu_topology() Markus Elfring
[not found] ` <7214c986-4d0e-ad78-6312-c84515dc9abf@web.de>
2025-03-04 13:14 ` [PATCH RESEND] ext4: Fix exception handling in parse_apply_sb_mount_options() Markus Elfring
[not found] ` <3675f707-bff0-3caf-29a2-b99e5b9c6554@web.de>
2025-03-04 19:21 ` [PATCH RESEND] mtd: cfi_cmdset_0001: Fix exception handling in cfi_intelext_setup() Markus Elfring
2025-03-18 10:26 ` Miquel Raynal
2025-03-18 12:03 ` Markus Elfring
2025-03-18 12:03 ` [PATCH RESEND] " Dan Carpenter
[not found] ` <21e58abb-f215-b9b7-ffe8-236dd40c6bd2@web.de>
2025-03-04 19:50 ` [PATCH RESEND] bbc_i2c: Fix exception handling in attach_one_i2c() Markus Elfring
[not found] ` <15fa53e5-916f-dac8-87fb-9cb81021418c@web.de>
2025-03-04 20:06 ` [PATCH RESEND] irqchip/partitions: Fix exception handling in partition_create_desc() Markus Elfring
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=202506100312.Ms4XgAzW-lkp@intel.com \
--to=lkp@intel.com \
--cc=Jerry.Zuo@amd.com \
--cc=Markus.Elfring@web.de \
--cc=Rodrigo.Siqueira@amd.com \
--cc=Wayne.Lin@amd.com \
--cc=Xinhui.Pan@amd.com \
--cc=airlied@gmail.com \
--cc=alex.hung@amd.com \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=aurabindo.pillai@amd.com \
--cc=chiahsuan.chung@amd.com \
--cc=christian.koenig@amd.com \
--cc=cocci@inria.fr \
--cc=daniel@ffwll.ch \
--cc=dominik.kaszewski@amd.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=hamza.mahfooz@amd.com \
--cc=harry.wentland@amd.com \
--cc=hersenxs.wu@amd.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=mario.limonciello@amd.com \
--cc=mwen@igalia.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=roman.li@amd.com \
--cc=simona@ffwll.ch \
--cc=stylon.wang@amd.com \
--cc=sunpeng.li@amd.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).