|
| 1 | +From git@z Thu Jan 1 00:00:00 1970 |
| 2 | +Subject: [PATCH] media: rockchip: Disable VIDEO_ROCKCHIP_VDEC when compile |
| 3 | + testing for Hexagon |
| 4 | +From: Nathan Chancellor <nathan@kernel.org> |
| 5 | +Date: Fri, 13 Feb 2026 15:10:06 -0500 |
| 6 | +Message-Id: <20260213-media-disable-rockchip-vdec-hexagon-v1-1-3f903398cc83@kernel.org> |
| 7 | +MIME-Version: 1.0 |
| 8 | +Content-Type: text/plain; charset="utf-8" |
| 9 | +Content-Transfer-Encoding: 7bit |
| 10 | + |
| 11 | +Building rkvdec-vdpu383-h264.c can take a few hours to finish building |
| 12 | +with Clang 20.1.0 or newer when compile testing for Hexagon. While this |
| 13 | +is further investigated and understood on the LLVM side [1], disable |
| 14 | +CONFIG_VIDEO_ROCKCHIP_VDEC when compile testing for Hexagon. |
| 15 | + |
| 16 | +Link: https://github.com/llvm/llvm-project/issues/178535 [1] |
| 17 | +Link: https://patch.msgid.link/20260213-media-disable-rockchip-vdec-hexagon-v1-1-3f903398cc83@kernel.org |
| 18 | +Signed-off-by: Nathan Chancellor <nathan@kernel.org> |
| 19 | +--- |
| 20 | + drivers/media/platform/rockchip/rkvdec/Kconfig | 3 ++- |
| 21 | + 1 file changed, 2 insertions(+), 1 deletion(-) |
| 22 | + |
| 23 | +diff --git a/drivers/media/platform/rockchip/rkvdec/Kconfig b/drivers/media/platform/rockchip/rkvdec/Kconfig |
| 24 | +index 5f3bdd848a2c..d03689464206 100644 |
| 25 | +--- a/drivers/media/platform/rockchip/rkvdec/Kconfig |
| 26 | ++++ b/drivers/media/platform/rockchip/rkvdec/Kconfig |
| 27 | +@@ -1,7 +1,8 @@ |
| 28 | + # SPDX-License-Identifier: GPL-2.0 |
| 29 | + config VIDEO_ROCKCHIP_VDEC |
| 30 | + tristate "Rockchip Video Decoder driver" |
| 31 | +- depends on ARCH_ROCKCHIP || COMPILE_TEST |
| 32 | ++ # !HEXAGON: https://github.com/llvm/llvm-project/issues/178535 |
| 33 | ++ depends on ARCH_ROCKCHIP || (COMPILE_TEST && !HEXAGON) |
| 34 | + depends on VIDEO_DEV |
| 35 | + select MEDIA_CONTROLLER |
| 36 | + select VIDEOBUF2_DMA_CONTIG |
| 37 | + |
| 38 | +--- |
| 39 | +base-commit: c824345288d11e269ce41b36c105715bc2286050 |
| 40 | +change-id: 20260213-media-disable-rockchip-vdec-hexagon-eb67c47292c5 |
| 41 | + |
| 42 | +Best regards, |
| 43 | +-- |
| 44 | +Nathan Chancellor <nathan@kernel.org> |
| 45 | + |
0 commit comments