Re: [PATCH v1 2/2] media: tegra-video: Allow building driver with COMPILE_TEST

2020-09-30 Thread Sowjanya Komatineni



On 9/30/20 10:34 AM, Michał Mirosław wrote:

On Tue, Sep 29, 2020 at 08:02:38PM -0700, Sowjanya Komatineni wrote:

This patch adds COMPILE_TEST option to Kconfig to allow building
it with COMPILE_TEST option.

Does it build without TEGRA_HOST1X selected? Isn't the previous patch
enough to allow the build with COMPILE_TEST?

Best Regards,
Michał Mirosław


No, it does not build without selecting CONFIG_TEGRA_HOST1X along with 
CONFIG_VIDEO_TEGRA




Re: [PATCH v1 2/2] media: tegra-video: Allow building driver with COMPILE_TEST

2020-09-30 Thread Michał Mirosław
On Tue, Sep 29, 2020 at 08:02:38PM -0700, Sowjanya Komatineni wrote:
> This patch adds COMPILE_TEST option to Kconfig to allow building
> it with COMPILE_TEST option.

Does it build without TEGRA_HOST1X selected? Isn't the previous patch
enough to allow the build with COMPILE_TEST?

Best Regards,
Michał Mirosław


[PATCH v1 2/2] media: tegra-video: Allow building driver with COMPILE_TEST

2020-09-29 Thread Sowjanya Komatineni
This patch adds COMPILE_TEST option to Kconfig to allow building
it with COMPILE_TEST option.

Signed-off-by: Sowjanya Komatineni 
---
 drivers/staging/media/tegra-video/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/media/tegra-video/Kconfig 
b/drivers/staging/media/tegra-video/Kconfig
index 1f35da4..3e03ddd 100644
--- a/drivers/staging/media/tegra-video/Kconfig
+++ b/drivers/staging/media/tegra-video/Kconfig
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0-only
 config VIDEO_TEGRA
tristate "NVIDIA Tegra VI driver"
-   depends on TEGRA_HOST1X
+   depends on TEGRA_HOST1X || COMPILE_TEST
depends on VIDEO_V4L2
select MEDIA_CONTROLLER
select VIDEOBUF2_DMA_CONTIG
-- 
2.7.4