Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion drivers/media/platform/apple/ave/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ config VIDEO_APPLE_AVE_KUNIT_TEST

config VIDEO_APPLE_AVE_CMD_KUNIT_TEST
bool "KUnit tests for Apple AVE firmware ABIs" if !KUNIT_ALL_TESTS
depends on KUNIT && VIDEO_APPLE_AVE=y
depends on VIDEO_APPLE_AVE && KUNIT
depends on KUNIT=y || VIDEO_APPLE_AVE=m
default KUNIT_ALL_TESTS
help
Compare AVC/HEVC 9003 Start and Process images byte for byte with
Expand Down
2 changes: 1 addition & 1 deletion drivers/media/platform/apple/ave/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ obj-$(CONFIG_VIDEO_APPLE_AVE) += apple-ave.o
obj-$(CONFIG_VIDEO_APPLE_AVE) += apple-ave-dma.o
apple-ave-y := ave-drv.o ave-fw.o ave-ipc.o ave-cmd.o ave-writer.o ave-abi.o ave-layout.o ave-image.o ave-sess.o ave-v4l2.o ave-vb2.o ave-mctf.o ave-mctf-v4l2.o ave-cmp420.o
obj-$(CONFIG_VIDEO_APPLE_AVE_KUNIT_TEST) += ave-sizes-test.o ave-recovery-test.o
obj-$(CONFIG_VIDEO_APPLE_AVE_CMD_KUNIT_TEST) += ave-abi-test.o ave-mctf-test.o ave-cmp420-test.o
apple-ave-$(CONFIG_VIDEO_APPLE_AVE_CMD_KUNIT_TEST) += ave-abi-test.o ave-mctf-test.o ave-cmp420-test.o
3 changes: 0 additions & 3 deletions drivers/media/platform/apple/ave/ave-abi-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/* Byte equality against the pre-ABI-refactor 9003 command builders. */
#include <kunit/device.h>
#include <kunit/test.h>
#include <linux/module.h>
#include <linux/crc32.h>
#include <linux/errno.h>
#include <linux/string.h>
Expand Down Expand Up @@ -1644,5 +1643,3 @@ static struct kunit_suite ave_abi_suite = {
.test_cases = ave_abi_cases,
};
kunit_test_suite(ave_abi_suite);

MODULE_LICENSE("GPL");
4 changes: 0 additions & 4 deletions drivers/media/platform/apple/ave/ave-cmp420-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
* Copyright The Aurora Silicon Contributors
*/
#include <kunit/test.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/string.h>

Expand Down Expand Up @@ -462,6 +461,3 @@ static struct kunit_suite ave_cmp420_suite = {
.test_cases = ave_cmp420_cases,
};
kunit_test_suite(ave_cmp420_suite);

MODULE_DESCRIPTION("Apple AVE compressed 4:2:0 surface tests");
MODULE_LICENSE("GPL");
4 changes: 0 additions & 4 deletions drivers/media/platform/apple/ave/ave-mctf-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
* Copyright The Aurora Silicon Contributors
*/
#include <kunit/test.h>
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/unaligned.h>
Expand Down Expand Up @@ -439,6 +438,3 @@ static struct kunit_suite ave_mctf_suite = {
.test_cases = ave_mctf_cases,
};
kunit_test_suite(ave_mctf_suite);

MODULE_DESCRIPTION("Apple AVE MCTF command image tests");
MODULE_LICENSE("GPL");
1 change: 1 addition & 0 deletions drivers/media/platform/apple/ave/ave-recovery-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,5 @@ static struct kunit_suite ave_recovery_suite = {

kunit_test_suite(ave_recovery_suite);

MODULE_DESCRIPTION("Apple AVE firmware recovery window tests");
MODULE_LICENSE("GPL");
Loading