* [Intel-gfx] [PATCH] drm/tests: Suballocator test @ 2023-02-27 10:38 ` Thomas Hellström 0 siblings, 0 replies; 10+ messages in thread From: Thomas Hellström @ 2023-02-27 10:38 UTC (permalink / raw) To: dri-devel; +Cc: Thomas Hellström, intel-gfx, Christian Koenig, intel-xe Add a suballocator test to get some test coverage for the new drm suballocator, and perform some basic timing (elapsed time). Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com> --- drivers/gpu/drm/Kconfig | 1 + drivers/gpu/drm/tests/Makefile | 3 +- drivers/gpu/drm/tests/drm_suballoc_test.c | 356 ++++++++++++++++++++++ 3 files changed, 359 insertions(+), 1 deletion(-) create mode 100644 drivers/gpu/drm/tests/drm_suballoc_test.c diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig index 8fbe57407c60..dced53723721 100644 --- a/drivers/gpu/drm/Kconfig +++ b/drivers/gpu/drm/Kconfig @@ -78,6 +78,7 @@ config DRM_KUNIT_TEST select DRM_LIB_RANDOM select DRM_KMS_HELPER select DRM_BUDDY + select DRM_SUBALLOC_HELPER select DRM_EXPORT_FOR_TESTS if m select DRM_KUNIT_TEST_HELPERS default KUNIT_ALL_TESTS diff --git a/drivers/gpu/drm/tests/Makefile b/drivers/gpu/drm/tests/Makefile index bca726a8f483..c664944a48ab 100644 --- a/drivers/gpu/drm/tests/Makefile +++ b/drivers/gpu/drm/tests/Makefile @@ -17,6 +17,7 @@ obj-$(CONFIG_DRM_KUNIT_TEST) += \ drm_modes_test.o \ drm_plane_helper_test.o \ drm_probe_helper_test.o \ - drm_rect_test.o + drm_rect_test.o \ + drm_suballoc_test.o CFLAGS_drm_mm_test.o := $(DISABLE_STRUCTLEAK_PLUGIN) diff --git a/drivers/gpu/drm/tests/drm_suballoc_test.c b/drivers/gpu/drm/tests/drm_suballoc_test.c new file mode 100644 index 000000000000..e7303a5505a0 --- /dev/null +++ b/drivers/gpu/drm/tests/drm_suballoc_test.c @@ -0,0 +1,356 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT +/* + * Test case for the drm_suballoc suballocator manager + * Copyright 2023 Intel Corporation. + */ + +#include <kunit/test.h> + +#include <linux/dma-fence.h> +#include <linux/ktime.h> +#include <linux/hrtimer.h> +#include <linux/sizes.h> +#include <linux/slab.h> +#include <linux/spinlock.h> +#include <linux/delay.h> +#include <drm/drm_suballoc.h> + +#define SA_ITERATIONS 10000 +#define SA_SIZE SZ_1M +#define SA_DEFAULT_ALIGN SZ_4K + +static bool intr = true; +static bool from_reclaim; +static bool pre_throttle; +static unsigned int num_rings = 4; +static unsigned int iterations = SA_ITERATIONS; + +static atomic64_t free_space; + +static atomic_t other_id; + +struct suballoc_fence; + +/** + * struct suballoc_ring - fake gpu engine. + * @list: List of fences to signal. + * @signal_time: Accumulated fence signal execution time. + * @lock: Protects the suballoc ring members. hardirq safe. + * @hrtimer: Fake execution time timer. + * @active: The currently active fence for which we have pending work or a + * timer running. + * @seqno: Fence submissin seqno. + * @idx: Index for calculation of fake execution time. + * @work: Work struct used solely to move the timer start to a different + * processor than that used for submission. + */ +struct suballoc_ring { + ktime_t signal_time; + struct list_head list; + /* Protect the ring processing. */ + spinlock_t lock; + struct hrtimer hrtimer; + struct suballoc_fence *active; + atomic64_t seqno; + u32 idx; + struct work_struct work; +}; + +/** + * struct suballoc_fence - Hrtimer-driven fence. + * @fence: The base class fence struct. + * @link: Link for the ring's fence list. + * @size: The size of the suballocator range associated with this fence. + * @id: Cpu id likely used by the submission thread for suballoc allocation. + */ +struct suballoc_fence { + struct dma_fence fence; + struct list_head link; + size_t size; + unsigned int id; +}; + +/* A varying but repeatable fake execution time */ +static ktime_t ring_next_delay(struct suballoc_ring *ring) +{ + return ns_to_ktime((u64)(++ring->idx % 8) * 200 * NSEC_PER_USEC); +} + +/* + * Launch from a work item to decrease the likelyhood of the timer expiry + * callback getting called from the allocating cpu. + * We want to trigger cache-line bouncing between allocating and signalling + * cpus. + */ +static void ring_launch_timer_work(struct work_struct *work) +{ + struct suballoc_ring *ring = + container_of(work, typeof(*ring), work); + + spin_lock_irq(&ring->lock); + if (ring->active) + hrtimer_start_range_ns(&ring->hrtimer, ring_next_delay(ring), + 100ULL * NSEC_PER_USEC, + HRTIMER_MODE_REL_PINNED); + + spin_unlock_irq(&ring->lock); +} + +/* + * Signal an active fence and pull the next off the list if any and make it + * active. + */ +static enum hrtimer_restart ring_hrtimer_expired(struct hrtimer *hrtimer) +{ + struct suballoc_ring *ring = + container_of(hrtimer, typeof(*ring), hrtimer); + struct suballoc_fence *sfence; + ktime_t now, then; + unsigned long irqflags; + + spin_lock_irqsave(&ring->lock, irqflags); + sfence = ring->active; + + if (sfence) { + struct dma_fence *fence = &sfence->fence; + + if (sfence->id != get_cpu()) + atomic_inc(&other_id); + put_cpu(); + + then = ktime_get(); + dma_fence_signal(fence); + now = ktime_get(); + dma_fence_put(fence); + ring->signal_time = ktime_add(ring->signal_time, + ktime_sub(now, then)); + ring->active = NULL; + atomic64_add(sfence->size, &free_space); + } + + sfence = list_first_entry_or_null(&ring->list, typeof(*sfence), link); + if (sfence) { + list_del_init(&sfence->link); + ring->active = sfence; + spin_unlock_irqrestore(&ring->lock, irqflags); + hrtimer_forward_now(&ring->hrtimer, ring_next_delay(ring)); + return HRTIMER_RESTART; + } + spin_unlock_irqrestore(&ring->lock, irqflags); + + return HRTIMER_NORESTART; +} + +/* + * Queue a fence on a ring and if it's the first fence, make it active. + */ +static void ring_add_fence(struct suballoc_ring *ring, + struct suballoc_fence *sfence) +{ + spin_lock_irq(&ring->lock); + if (!ring->active) { + ring->active = sfence; + queue_work(system_unbound_wq, &ring->work); + } else { + list_add_tail(&sfence->link, &ring->list); + } + spin_unlock_irq(&ring->lock); +} + +static void ring_init(struct suballoc_ring *ring) +{ + memset(ring, 0, sizeof(*ring)); + INIT_LIST_HEAD(&ring->list); + spin_lock_init(&ring->lock); + hrtimer_init(&ring->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); + ring->hrtimer.function = ring_hrtimer_expired; + INIT_WORK(&ring->work, ring_launch_timer_work); +} + +static bool ring_idle(struct suballoc_ring *ring) +{ + bool tmp; + + spin_lock_irq(&ring->lock); + tmp = !ring->active; + spin_unlock_irq(&ring->lock); + + return tmp; +} + +static const char *dma_fence_get_suballoc_name(struct dma_fence *fence) +{ + return "suballoc"; +} + +static const struct dma_fence_ops dma_fence_suballoc_ops = { + .get_driver_name = dma_fence_get_suballoc_name, + .get_timeline_name = dma_fence_get_suballoc_name, +}; + +static DEFINE_SPINLOCK(sa_fence_lock); +static ktime_t alloctime, freetime; + +static void drm_test_suballoc(struct kunit *test) +{ + struct suballoc_ring *rings; + struct drm_suballoc_manager sa_manager; + struct drm_suballoc *sa; + struct suballoc_fence *sfence; + struct dma_fence *fence; + ktime_t then, now, signaltime; + int i, ring, iter_tot = 0; + size_t size; + unsigned int align; + unsigned long long soffset; + gfp_t gfp; + + rings = kvmalloc_array(num_rings, sizeof(*rings), GFP_KERNEL); + if (!rings) { + KUNIT_FAIL(test, "Failed allocating %u rings.\n"); + return; + } + + for (i = 0; i < num_rings; ++i) + ring_init(rings + i); + + atomic64_set(&free_space, SA_SIZE); + drm_suballoc_manager_init(&sa_manager, SA_SIZE, SA_DEFAULT_ALIGN); + + if (from_reclaim) + gfp = GFP_NOWAIT | __GFP_NOWARN; + else + gfp = GFP_KERNEL; + + for (i = 0; i < iterations; ++i) { + ring = i % num_rings; + size = (ring + 1) * SZ_4K; + align = 1 << (ring % const_ilog2(SA_DEFAULT_ALIGN)); + + if (pre_throttle) + while (atomic64_read(&free_space) < SA_SIZE / 2) + cpu_relax(); + + if (from_reclaim) + fs_reclaim_acquire(GFP_KERNEL); + + then = ktime_get(); + sa = drm_suballoc_new(&sa_manager, size, gfp, intr, align); + now = ktime_get(); + if (from_reclaim) + fs_reclaim_release(GFP_KERNEL); + + alloctime = ktime_add(alloctime, ktime_sub(now, then)); + + iter_tot++; + if (IS_ERR(sa)) { + if (from_reclaim) { + iter_tot--; + continue; + } + + KUNIT_FAIL(test, "drm_suballoc_new() returned %pe\n", + sa); + break; + } + + atomic64_sub(size, &free_space); + soffset = drm_suballoc_soffset(sa); + if (!IS_ALIGNED(soffset, align)) { + drm_suballoc_free(sa, NULL); + KUNIT_FAIL(test, "Incorrect alignment: offset %llu align %u rem %llu\n", + soffset, align, soffset & (align - 1)); + break; + } + + if (drm_suballoc_eoffset(sa) > SA_SIZE) { + drm_suballoc_free(sa, NULL); + KUNIT_FAIL(test, "Allocation beyond end.\n"); + break; + } + + if (drm_suballoc_size(sa) < size || + drm_suballoc_size(sa) >= size + align) { + drm_suballoc_free(sa, NULL); + KUNIT_FAIL(test, "Incorrect size.\n"); + break; + } + + sfence = kmalloc(sizeof(*sfence), GFP_KERNEL); + if (unlikely(!sfence)) { + drm_suballoc_free(sa, NULL); + KUNIT_FAIL(test, "Fence allocation failed.\n"); + break; + } + fence = &sfence->fence; + dma_fence_init(fence, &dma_fence_suballoc_ops, &sa_fence_lock, + ring + 1, + atomic64_inc_return(&rings[ring].seqno)); + sfence->size = size; + sfence->id = get_cpu(); + put_cpu(); + + ring_add_fence(rings + ring, sfence); + + then = ktime_get(); + drm_suballoc_free(sa, fence); + now = ktime_get(); + freetime = ktime_add(freetime, ktime_sub(now, then)); + } + + signaltime = ktime_set(0, 0); + for (i = 0; i < num_rings; ++i) { + struct suballoc_ring *sring = &rings[i]; + + flush_work(&sring->work); + while (!ring_idle(sring)) + schedule(); + signaltime = ktime_add(signaltime, sring->signal_time); + } + + kvfree(rings); + + kunit_info(test, "signals on different processor: %d of %d\n", + atomic_read(&other_id), iter_tot); + drm_suballoc_manager_fini(&sa_manager); + kunit_info(test, "Alloc time was %llu ns.\n", (unsigned long long) + ktime_to_ns(alloctime) / iter_tot); + kunit_info(test, "Free time was %llu ns.\n", (unsigned long long) + ktime_to_ns(freetime) / iter_tot); + kunit_info(test, "Signal time was %llu ns.\n", (unsigned long long) + ktime_to_ns(signaltime) / iter_tot); + + if (atomic64_read(&free_space) != SA_SIZE) { + kunit_warn(test, "Test sanity check failed.\n"); + kunit_warn(test, "Space left at exit is %lld of %d\n", + (long long)atomic64_read(&free_space), SA_SIZE); + } +} + +module_param(intr, bool, 0400); +MODULE_PARM_DESC(intr, "Whether to wait interruptible for space."); +module_param(from_reclaim, bool, 0400); +MODULE_PARM_DESC(from_reclaim, "Whether to suballocate from reclaim context."); +module_param(pre_throttle, bool, 0400); +MODULE_PARM_DESC(pre_throttle, "Whether to have the test throttle for space " + "before allocations."); +module_param(num_rings, uint, 0400); +MODULE_PARM_DESC(num_rings, "Number of rings signalling fences in order.\n"); +module_param(iterations, uint, 0400); +MODULE_PARM_DESC(iterations, "Number of allocations to perform.\n"); + +static struct kunit_case drm_suballoc_tests[] = { + KUNIT_CASE(drm_test_suballoc), + {} +}; + +static struct kunit_suite drm_suballoc_test_suite = { + .name = "drm_suballoc", + .test_cases = drm_suballoc_tests, +}; + +kunit_test_suite(drm_suballoc_test_suite); + +MODULE_AUTHOR("Intel Corporation"); +MODULE_DESCRIPTION("DRM suballocator Kunit test"); +MODULE_LICENSE("Dual MIT/GPL"); -- 2.34.1 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* [Intel-xe] [PATCH] drm/tests: Suballocator test @ 2023-02-27 10:38 ` Thomas Hellström 0 siblings, 0 replies; 10+ messages in thread From: Thomas Hellström @ 2023-02-27 10:38 UTC (permalink / raw) To: dri-devel; +Cc: intel-gfx, Maarten Lankhorst, Christian Koenig, intel-xe Add a suballocator test to get some test coverage for the new drm suballocator, and perform some basic timing (elapsed time). Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com> --- drivers/gpu/drm/Kconfig | 1 + drivers/gpu/drm/tests/Makefile | 3 +- drivers/gpu/drm/tests/drm_suballoc_test.c | 356 ++++++++++++++++++++++ 3 files changed, 359 insertions(+), 1 deletion(-) create mode 100644 drivers/gpu/drm/tests/drm_suballoc_test.c diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig index 8fbe57407c60..dced53723721 100644 --- a/drivers/gpu/drm/Kconfig +++ b/drivers/gpu/drm/Kconfig @@ -78,6 +78,7 @@ config DRM_KUNIT_TEST select DRM_LIB_RANDOM select DRM_KMS_HELPER select DRM_BUDDY + select DRM_SUBALLOC_HELPER select DRM_EXPORT_FOR_TESTS if m select DRM_KUNIT_TEST_HELPERS default KUNIT_ALL_TESTS diff --git a/drivers/gpu/drm/tests/Makefile b/drivers/gpu/drm/tests/Makefile index bca726a8f483..c664944a48ab 100644 --- a/drivers/gpu/drm/tests/Makefile +++ b/drivers/gpu/drm/tests/Makefile @@ -17,6 +17,7 @@ obj-$(CONFIG_DRM_KUNIT_TEST) += \ drm_modes_test.o \ drm_plane_helper_test.o \ drm_probe_helper_test.o \ - drm_rect_test.o + drm_rect_test.o \ + drm_suballoc_test.o CFLAGS_drm_mm_test.o := $(DISABLE_STRUCTLEAK_PLUGIN) diff --git a/drivers/gpu/drm/tests/drm_suballoc_test.c b/drivers/gpu/drm/tests/drm_suballoc_test.c new file mode 100644 index 000000000000..e7303a5505a0 --- /dev/null +++ b/drivers/gpu/drm/tests/drm_suballoc_test.c @@ -0,0 +1,356 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT +/* + * Test case for the drm_suballoc suballocator manager + * Copyright 2023 Intel Corporation. + */ + +#include <kunit/test.h> + +#include <linux/dma-fence.h> +#include <linux/ktime.h> +#include <linux/hrtimer.h> +#include <linux/sizes.h> +#include <linux/slab.h> +#include <linux/spinlock.h> +#include <linux/delay.h> +#include <drm/drm_suballoc.h> + +#define SA_ITERATIONS 10000 +#define SA_SIZE SZ_1M +#define SA_DEFAULT_ALIGN SZ_4K + +static bool intr = true; +static bool from_reclaim; +static bool pre_throttle; +static unsigned int num_rings = 4; +static unsigned int iterations = SA_ITERATIONS; + +static atomic64_t free_space; + +static atomic_t other_id; + +struct suballoc_fence; + +/** + * struct suballoc_ring - fake gpu engine. + * @list: List of fences to signal. + * @signal_time: Accumulated fence signal execution time. + * @lock: Protects the suballoc ring members. hardirq safe. + * @hrtimer: Fake execution time timer. + * @active: The currently active fence for which we have pending work or a + * timer running. + * @seqno: Fence submissin seqno. + * @idx: Index for calculation of fake execution time. + * @work: Work struct used solely to move the timer start to a different + * processor than that used for submission. + */ +struct suballoc_ring { + ktime_t signal_time; + struct list_head list; + /* Protect the ring processing. */ + spinlock_t lock; + struct hrtimer hrtimer; + struct suballoc_fence *active; + atomic64_t seqno; + u32 idx; + struct work_struct work; +}; + +/** + * struct suballoc_fence - Hrtimer-driven fence. + * @fence: The base class fence struct. + * @link: Link for the ring's fence list. + * @size: The size of the suballocator range associated with this fence. + * @id: Cpu id likely used by the submission thread for suballoc allocation. + */ +struct suballoc_fence { + struct dma_fence fence; + struct list_head link; + size_t size; + unsigned int id; +}; + +/* A varying but repeatable fake execution time */ +static ktime_t ring_next_delay(struct suballoc_ring *ring) +{ + return ns_to_ktime((u64)(++ring->idx % 8) * 200 * NSEC_PER_USEC); +} + +/* + * Launch from a work item to decrease the likelyhood of the timer expiry + * callback getting called from the allocating cpu. + * We want to trigger cache-line bouncing between allocating and signalling + * cpus. + */ +static void ring_launch_timer_work(struct work_struct *work) +{ + struct suballoc_ring *ring = + container_of(work, typeof(*ring), work); + + spin_lock_irq(&ring->lock); + if (ring->active) + hrtimer_start_range_ns(&ring->hrtimer, ring_next_delay(ring), + 100ULL * NSEC_PER_USEC, + HRTIMER_MODE_REL_PINNED); + + spin_unlock_irq(&ring->lock); +} + +/* + * Signal an active fence and pull the next off the list if any and make it + * active. + */ +static enum hrtimer_restart ring_hrtimer_expired(struct hrtimer *hrtimer) +{ + struct suballoc_ring *ring = + container_of(hrtimer, typeof(*ring), hrtimer); + struct suballoc_fence *sfence; + ktime_t now, then; + unsigned long irqflags; + + spin_lock_irqsave(&ring->lock, irqflags); + sfence = ring->active; + + if (sfence) { + struct dma_fence *fence = &sfence->fence; + + if (sfence->id != get_cpu()) + atomic_inc(&other_id); + put_cpu(); + + then = ktime_get(); + dma_fence_signal(fence); + now = ktime_get(); + dma_fence_put(fence); + ring->signal_time = ktime_add(ring->signal_time, + ktime_sub(now, then)); + ring->active = NULL; + atomic64_add(sfence->size, &free_space); + } + + sfence = list_first_entry_or_null(&ring->list, typeof(*sfence), link); + if (sfence) { + list_del_init(&sfence->link); + ring->active = sfence; + spin_unlock_irqrestore(&ring->lock, irqflags); + hrtimer_forward_now(&ring->hrtimer, ring_next_delay(ring)); + return HRTIMER_RESTART; + } + spin_unlock_irqrestore(&ring->lock, irqflags); + + return HRTIMER_NORESTART; +} + +/* + * Queue a fence on a ring and if it's the first fence, make it active. + */ +static void ring_add_fence(struct suballoc_ring *ring, + struct suballoc_fence *sfence) +{ + spin_lock_irq(&ring->lock); + if (!ring->active) { + ring->active = sfence; + queue_work(system_unbound_wq, &ring->work); + } else { + list_add_tail(&sfence->link, &ring->list); + } + spin_unlock_irq(&ring->lock); +} + +static void ring_init(struct suballoc_ring *ring) +{ + memset(ring, 0, sizeof(*ring)); + INIT_LIST_HEAD(&ring->list); + spin_lock_init(&ring->lock); + hrtimer_init(&ring->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); + ring->hrtimer.function = ring_hrtimer_expired; + INIT_WORK(&ring->work, ring_launch_timer_work); +} + +static bool ring_idle(struct suballoc_ring *ring) +{ + bool tmp; + + spin_lock_irq(&ring->lock); + tmp = !ring->active; + spin_unlock_irq(&ring->lock); + + return tmp; +} + +static const char *dma_fence_get_suballoc_name(struct dma_fence *fence) +{ + return "suballoc"; +} + +static const struct dma_fence_ops dma_fence_suballoc_ops = { + .get_driver_name = dma_fence_get_suballoc_name, + .get_timeline_name = dma_fence_get_suballoc_name, +}; + +static DEFINE_SPINLOCK(sa_fence_lock); +static ktime_t alloctime, freetime; + +static void drm_test_suballoc(struct kunit *test) +{ + struct suballoc_ring *rings; + struct drm_suballoc_manager sa_manager; + struct drm_suballoc *sa; + struct suballoc_fence *sfence; + struct dma_fence *fence; + ktime_t then, now, signaltime; + int i, ring, iter_tot = 0; + size_t size; + unsigned int align; + unsigned long long soffset; + gfp_t gfp; + + rings = kvmalloc_array(num_rings, sizeof(*rings), GFP_KERNEL); + if (!rings) { + KUNIT_FAIL(test, "Failed allocating %u rings.\n"); + return; + } + + for (i = 0; i < num_rings; ++i) + ring_init(rings + i); + + atomic64_set(&free_space, SA_SIZE); + drm_suballoc_manager_init(&sa_manager, SA_SIZE, SA_DEFAULT_ALIGN); + + if (from_reclaim) + gfp = GFP_NOWAIT | __GFP_NOWARN; + else + gfp = GFP_KERNEL; + + for (i = 0; i < iterations; ++i) { + ring = i % num_rings; + size = (ring + 1) * SZ_4K; + align = 1 << (ring % const_ilog2(SA_DEFAULT_ALIGN)); + + if (pre_throttle) + while (atomic64_read(&free_space) < SA_SIZE / 2) + cpu_relax(); + + if (from_reclaim) + fs_reclaim_acquire(GFP_KERNEL); + + then = ktime_get(); + sa = drm_suballoc_new(&sa_manager, size, gfp, intr, align); + now = ktime_get(); + if (from_reclaim) + fs_reclaim_release(GFP_KERNEL); + + alloctime = ktime_add(alloctime, ktime_sub(now, then)); + + iter_tot++; + if (IS_ERR(sa)) { + if (from_reclaim) { + iter_tot--; + continue; + } + + KUNIT_FAIL(test, "drm_suballoc_new() returned %pe\n", + sa); + break; + } + + atomic64_sub(size, &free_space); + soffset = drm_suballoc_soffset(sa); + if (!IS_ALIGNED(soffset, align)) { + drm_suballoc_free(sa, NULL); + KUNIT_FAIL(test, "Incorrect alignment: offset %llu align %u rem %llu\n", + soffset, align, soffset & (align - 1)); + break; + } + + if (drm_suballoc_eoffset(sa) > SA_SIZE) { + drm_suballoc_free(sa, NULL); + KUNIT_FAIL(test, "Allocation beyond end.\n"); + break; + } + + if (drm_suballoc_size(sa) < size || + drm_suballoc_size(sa) >= size + align) { + drm_suballoc_free(sa, NULL); + KUNIT_FAIL(test, "Incorrect size.\n"); + break; + } + + sfence = kmalloc(sizeof(*sfence), GFP_KERNEL); + if (unlikely(!sfence)) { + drm_suballoc_free(sa, NULL); + KUNIT_FAIL(test, "Fence allocation failed.\n"); + break; + } + fence = &sfence->fence; + dma_fence_init(fence, &dma_fence_suballoc_ops, &sa_fence_lock, + ring + 1, + atomic64_inc_return(&rings[ring].seqno)); + sfence->size = size; + sfence->id = get_cpu(); + put_cpu(); + + ring_add_fence(rings + ring, sfence); + + then = ktime_get(); + drm_suballoc_free(sa, fence); + now = ktime_get(); + freetime = ktime_add(freetime, ktime_sub(now, then)); + } + + signaltime = ktime_set(0, 0); + for (i = 0; i < num_rings; ++i) { + struct suballoc_ring *sring = &rings[i]; + + flush_work(&sring->work); + while (!ring_idle(sring)) + schedule(); + signaltime = ktime_add(signaltime, sring->signal_time); + } + + kvfree(rings); + + kunit_info(test, "signals on different processor: %d of %d\n", + atomic_read(&other_id), iter_tot); + drm_suballoc_manager_fini(&sa_manager); + kunit_info(test, "Alloc time was %llu ns.\n", (unsigned long long) + ktime_to_ns(alloctime) / iter_tot); + kunit_info(test, "Free time was %llu ns.\n", (unsigned long long) + ktime_to_ns(freetime) / iter_tot); + kunit_info(test, "Signal time was %llu ns.\n", (unsigned long long) + ktime_to_ns(signaltime) / iter_tot); + + if (atomic64_read(&free_space) != SA_SIZE) { + kunit_warn(test, "Test sanity check failed.\n"); + kunit_warn(test, "Space left at exit is %lld of %d\n", + (long long)atomic64_read(&free_space), SA_SIZE); + } +} + +module_param(intr, bool, 0400); +MODULE_PARM_DESC(intr, "Whether to wait interruptible for space."); +module_param(from_reclaim, bool, 0400); +MODULE_PARM_DESC(from_reclaim, "Whether to suballocate from reclaim context."); +module_param(pre_throttle, bool, 0400); +MODULE_PARM_DESC(pre_throttle, "Whether to have the test throttle for space " + "before allocations."); +module_param(num_rings, uint, 0400); +MODULE_PARM_DESC(num_rings, "Number of rings signalling fences in order.\n"); +module_param(iterations, uint, 0400); +MODULE_PARM_DESC(iterations, "Number of allocations to perform.\n"); + +static struct kunit_case drm_suballoc_tests[] = { + KUNIT_CASE(drm_test_suballoc), + {} +}; + +static struct kunit_suite drm_suballoc_test_suite = { + .name = "drm_suballoc", + .test_cases = drm_suballoc_tests, +}; + +kunit_test_suite(drm_suballoc_test_suite); + +MODULE_AUTHOR("Intel Corporation"); +MODULE_DESCRIPTION("DRM suballocator Kunit test"); +MODULE_LICENSE("Dual MIT/GPL"); -- 2.34.1 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* [Intel-gfx] ✓ Fi.CI.BAT: success for drm/tests: Suballocator test 2023-02-27 10:38 ` [Intel-xe] " Thomas Hellström (?) @ 2023-02-27 13:24 ` Patchwork -1 siblings, 0 replies; 10+ messages in thread From: Patchwork @ 2023-02-27 13:24 UTC (permalink / raw) To: Thomas Hellström; +Cc: intel-gfx [-- Attachment #1: Type: text/plain, Size: 10414 bytes --] == Series Details == Series: drm/tests: Suballocator test URL : https://patchwork.freedesktop.org/series/114410/ State : success == Summary == CI Bug Log - changes from CI_DRM_12779 -> Patchwork_114410v1 ==================================================== Summary ------- **SUCCESS** No regressions found. External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/index.html Participating hosts (38 -> 37) ------------------------------ Additional (1): bat-dg1-6 Missing (2): fi-kbl-soraka fi-snb-2520m Known issues ------------ Here are the changes found in Patchwork_114410v1 that come from known issues: ### IGT changes ### #### Issues hit #### * igt@gem_lmem_swapping@random-engines: - bat-adlp-6: NOTRUN -> [SKIP][1] ([i915#4613]) +3 similar issues [1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/bat-adlp-6/igt@gem_lmem_swapping@random-engines.html * igt@gem_mmap@basic: - bat-dg1-6: NOTRUN -> [SKIP][2] ([i915#4083]) [2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/bat-dg1-6/igt@gem_mmap@basic.html * igt@gem_render_tiled_blits@basic: - bat-dg1-6: NOTRUN -> [SKIP][3] ([i915#4079]) +1 similar issue [3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/bat-dg1-6/igt@gem_render_tiled_blits@basic.html * igt@gem_tiled_fence_blits@basic: - bat-dg1-6: NOTRUN -> [SKIP][4] ([i915#4077]) +2 similar issues [4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/bat-dg1-6/igt@gem_tiled_fence_blits@basic.html * igt@i915_pm_backlight@basic-brightness: - bat-dg1-6: NOTRUN -> [SKIP][5] ([i915#7561]) [5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/bat-dg1-6/igt@i915_pm_backlight@basic-brightness.html * igt@i915_pm_rps@basic-api: - bat-dg1-6: NOTRUN -> [SKIP][6] ([i915#6621]) [6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/bat-dg1-6/igt@i915_pm_rps@basic-api.html - bat-adlp-6: NOTRUN -> [SKIP][7] ([i915#6621]) [7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/bat-adlp-6/igt@i915_pm_rps@basic-api.html * igt@i915_selftest@live@gt_heartbeat: - fi-apl-guc: [PASS][8] -> [DMESG-FAIL][9] ([i915#5334]) [8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12779/fi-apl-guc/igt@i915_selftest@live@gt_heartbeat.html [9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/fi-apl-guc/igt@i915_selftest@live@gt_heartbeat.html * igt@i915_selftest@live@slpc: - bat-rpls-2: NOTRUN -> [DMESG-FAIL][10] ([i915#6997]) [10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/bat-rpls-2/igt@i915_selftest@live@slpc.html * igt@kms_addfb_basic@basic-y-tiled-legacy: - bat-dg1-6: NOTRUN -> [SKIP][11] ([i915#4215]) [11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/bat-dg1-6/igt@kms_addfb_basic@basic-y-tiled-legacy.html * igt@kms_addfb_basic@tile-pitch-mismatch: - bat-dg1-6: NOTRUN -> [SKIP][12] ([i915#4212]) +7 similar issues [12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/bat-dg1-6/igt@kms_addfb_basic@tile-pitch-mismatch.html * igt@kms_chamelium_hpd@common-hpd-after-suspend: - bat-rpls-2: NOTRUN -> [SKIP][13] ([i915#7828]) [13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/bat-rpls-2/igt@kms_chamelium_hpd@common-hpd-after-suspend.html - bat-dg1-6: NOTRUN -> [SKIP][14] ([i915#7828]) +8 similar issues [14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/bat-dg1-6/igt@kms_chamelium_hpd@common-hpd-after-suspend.html - bat-adlp-6: NOTRUN -> [SKIP][15] ([i915#7828]) [15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/bat-adlp-6/igt@kms_chamelium_hpd@common-hpd-after-suspend.html * igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic: - bat-dg1-6: NOTRUN -> [SKIP][16] ([i915#4103] / [i915#4213]) +1 similar issue [16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/bat-dg1-6/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic.html * igt@kms_force_connector_basic@force-load-detect: - bat-dg1-6: NOTRUN -> [SKIP][17] ([fdo#109285]) [17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/bat-dg1-6/igt@kms_force_connector_basic@force-load-detect.html * igt@kms_pipe_crc_basic@read-crc: - bat-adlp-9: NOTRUN -> [SKIP][18] ([i915#3546]) +1 similar issue [18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/bat-adlp-9/igt@kms_pipe_crc_basic@read-crc.html * igt@kms_pipe_crc_basic@suspend-read-crc: - bat-rpls-2: NOTRUN -> [SKIP][19] ([i915#1845]) [19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/bat-rpls-2/igt@kms_pipe_crc_basic@suspend-read-crc.html * igt@kms_psr@sprite_plane_onoff: - bat-dg1-6: NOTRUN -> [SKIP][20] ([i915#1072] / [i915#4078]) +3 similar issues [20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/bat-dg1-6/igt@kms_psr@sprite_plane_onoff.html * igt@kms_setmode@basic-clone-single-crtc: - bat-dg1-6: NOTRUN -> [SKIP][21] ([i915#3555]) [21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/bat-dg1-6/igt@kms_setmode@basic-clone-single-crtc.html * igt@prime_vgem@basic-fence-read: - bat-adlp-6: NOTRUN -> [SKIP][22] ([fdo#109295] / [i915#3291] / [i915#3708]) +2 similar issues [22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/bat-adlp-6/igt@prime_vgem@basic-fence-read.html * igt@prime_vgem@basic-gtt: - bat-dg1-6: NOTRUN -> [SKIP][23] ([i915#3708] / [i915#4077]) +1 similar issue [23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/bat-dg1-6/igt@prime_vgem@basic-gtt.html * igt@prime_vgem@basic-read: - bat-dg1-6: NOTRUN -> [SKIP][24] ([i915#3708]) +3 similar issues [24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/bat-dg1-6/igt@prime_vgem@basic-read.html * igt@prime_vgem@basic-userptr: - bat-adlp-6: NOTRUN -> [SKIP][25] ([fdo#109295] / [i915#3301] / [i915#3708]) [25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/bat-adlp-6/igt@prime_vgem@basic-userptr.html - bat-dg1-6: NOTRUN -> [SKIP][26] ([i915#3708] / [i915#4873]) [26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/bat-dg1-6/igt@prime_vgem@basic-userptr.html #### Possible fixes #### * igt@i915_pm_rpm@basic-rte: - bat-adlp-6: [ABORT][27] ([i915#7977]) -> [PASS][28] [27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12779/bat-adlp-6/igt@i915_pm_rpm@basic-rte.html [28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/bat-adlp-6/igt@i915_pm_rpm@basic-rte.html * igt@i915_pm_rpm@module-reload: - fi-bsw-n3050: [DMESG-WARN][29] ([i915#1982]) -> [PASS][30] [29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12779/fi-bsw-n3050/igt@i915_pm_rpm@module-reload.html [30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/fi-bsw-n3050/igt@i915_pm_rpm@module-reload.html * igt@i915_selftest@live@reset: - bat-rpls-2: [ABORT][31] ([i915#4983]) -> [PASS][32] [31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12779/bat-rpls-2/igt@i915_selftest@live@reset.html [32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/bat-rpls-2/igt@i915_selftest@live@reset.html * igt@i915_selftest@live@slpc: - bat-rpls-1: [DMESG-FAIL][33] ([i915#6367] / [i915#7996]) -> [PASS][34] [33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12779/bat-rpls-1/igt@i915_selftest@live@slpc.html [34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/bat-rpls-1/igt@i915_selftest@live@slpc.html [fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285 [fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295 [i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072 [i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845 [i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982 [i915#3291]: https://gitlab.freedesktop.org/drm/intel/issues/3291 [i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301 [i915#3546]: https://gitlab.freedesktop.org/drm/intel/issues/3546 [i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555 [i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708 [i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077 [i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078 [i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079 [i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083 [i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103 [i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212 [i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213 [i915#4215]: https://gitlab.freedesktop.org/drm/intel/issues/4215 [i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613 [i915#4873]: https://gitlab.freedesktop.org/drm/intel/issues/4873 [i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983 [i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334 [i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367 [i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621 [i915#6997]: https://gitlab.freedesktop.org/drm/intel/issues/6997 [i915#7561]: https://gitlab.freedesktop.org/drm/intel/issues/7561 [i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828 [i915#7977]: https://gitlab.freedesktop.org/drm/intel/issues/7977 [i915#7996]: https://gitlab.freedesktop.org/drm/intel/issues/7996 Build changes ------------- * Linux: CI_DRM_12779 -> Patchwork_114410v1 CI-20190529: 20190529 CI_DRM_12779: c9e864cbde25141a868d6bbbb5aa6f44186bbc7f @ git://anongit.freedesktop.org/gfx-ci/linux IGT_7173: deab4e0bdf5a9366b67d0a44f478f3da3c9a943b @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git Patchwork_114410v1: c9e864cbde25141a868d6bbbb5aa6f44186bbc7f @ git://anongit.freedesktop.org/gfx-ci/linux ### Linux commits 74808791d067 drm/tests: Suballocator test == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/index.html [-- Attachment #2: Type: text/html, Size: 12317 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Intel-gfx] [PATCH] drm/tests: Suballocator test 2023-02-27 10:38 ` [Intel-xe] " Thomas Hellström (?) @ 2023-02-27 14:18 ` kernel test robot -1 siblings, 0 replies; 10+ messages in thread From: kernel test robot @ 2023-02-27 14:18 UTC (permalink / raw) To: Thomas Hellström, dri-devel Cc: Thomas Hellström, intel-gfx, llvm, Christian Koenig, oe-kbuild-all, intel-xe Hi Thomas, Thank you for the patch! Yet something to improve: [auto build test ERROR on drm-tip/drm-tip] url: https://github.com/intel-lab-lkp/linux/commits/Thomas-Hellstr-m/drm-tests-Suballocator-test/20230227-184044 base: git://anongit.freedesktop.org/drm/drm-tip drm-tip patch link: https://lore.kernel.org/r/20230227103853.12666-1-thomas.hellstrom%40linux.intel.com patch subject: [Intel-gfx] [PATCH] drm/tests: Suballocator test config: x86_64-randconfig-a006-20230227 (https://download.01.org/0day-ci/archive/20230227/202302272259.dbMIwSUR-lkp@intel.com/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/bf605f8a4492ba34499541f58ad29cf56bd9d852 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Thomas-Hellstr-m/drm-tests-Suballocator-test/20230227-184044 git checkout bf605f8a4492ba34499541f58ad29cf56bd9d852 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/gpu/drm/tests/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot <lkp@intel.com> | Link: https://lore.kernel.org/oe-kbuild-all/202302272259.dbMIwSUR-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/gpu/drm/tests/drm_suballoc_test.c:16:10: fatal error: 'drm/drm_suballoc.h' file not found #include <drm/drm_suballoc.h> ^~~~~~~~~~~~~~~~~~~~ 1 error generated. vim +16 drivers/gpu/drm/tests/drm_suballoc_test.c 8 9 #include <linux/dma-fence.h> 10 #include <linux/ktime.h> 11 #include <linux/hrtimer.h> 12 #include <linux/sizes.h> 13 #include <linux/slab.h> 14 #include <linux/spinlock.h> 15 #include <linux/delay.h> > 16 #include <drm/drm_suballoc.h> 17 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Intel-gfx] [PATCH] drm/tests: Suballocator test @ 2023-02-27 14:18 ` kernel test robot 0 siblings, 0 replies; 10+ messages in thread From: kernel test robot @ 2023-02-27 14:18 UTC (permalink / raw) To: Thomas Hellström, dri-devel Cc: llvm, oe-kbuild-all, Thomas Hellström, intel-gfx, Christian Koenig, intel-xe Hi Thomas, Thank you for the patch! Yet something to improve: [auto build test ERROR on drm-tip/drm-tip] url: https://github.com/intel-lab-lkp/linux/commits/Thomas-Hellstr-m/drm-tests-Suballocator-test/20230227-184044 base: git://anongit.freedesktop.org/drm/drm-tip drm-tip patch link: https://lore.kernel.org/r/20230227103853.12666-1-thomas.hellstrom%40linux.intel.com patch subject: [Intel-gfx] [PATCH] drm/tests: Suballocator test config: x86_64-randconfig-a006-20230227 (https://download.01.org/0day-ci/archive/20230227/202302272259.dbMIwSUR-lkp@intel.com/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/bf605f8a4492ba34499541f58ad29cf56bd9d852 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Thomas-Hellstr-m/drm-tests-Suballocator-test/20230227-184044 git checkout bf605f8a4492ba34499541f58ad29cf56bd9d852 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/gpu/drm/tests/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot <lkp@intel.com> | Link: https://lore.kernel.org/oe-kbuild-all/202302272259.dbMIwSUR-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/gpu/drm/tests/drm_suballoc_test.c:16:10: fatal error: 'drm/drm_suballoc.h' file not found #include <drm/drm_suballoc.h> ^~~~~~~~~~~~~~~~~~~~ 1 error generated. vim +16 drivers/gpu/drm/tests/drm_suballoc_test.c 8 9 #include <linux/dma-fence.h> 10 #include <linux/ktime.h> 11 #include <linux/hrtimer.h> 12 #include <linux/sizes.h> 13 #include <linux/slab.h> 14 #include <linux/spinlock.h> 15 #include <linux/delay.h> > 16 #include <drm/drm_suballoc.h> 17 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Intel-xe] [Intel-gfx] [PATCH] drm/tests: Suballocator test @ 2023-02-27 14:18 ` kernel test robot 0 siblings, 0 replies; 10+ messages in thread From: kernel test robot @ 2023-02-27 14:18 UTC (permalink / raw) To: Thomas Hellström, dri-devel Cc: intel-gfx, llvm, Christian Koenig, oe-kbuild-all, intel-xe Hi Thomas, Thank you for the patch! Yet something to improve: [auto build test ERROR on drm-tip/drm-tip] url: https://github.com/intel-lab-lkp/linux/commits/Thomas-Hellstr-m/drm-tests-Suballocator-test/20230227-184044 base: git://anongit.freedesktop.org/drm/drm-tip drm-tip patch link: https://lore.kernel.org/r/20230227103853.12666-1-thomas.hellstrom%40linux.intel.com patch subject: [Intel-gfx] [PATCH] drm/tests: Suballocator test config: x86_64-randconfig-a006-20230227 (https://download.01.org/0day-ci/archive/20230227/202302272259.dbMIwSUR-lkp@intel.com/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/bf605f8a4492ba34499541f58ad29cf56bd9d852 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Thomas-Hellstr-m/drm-tests-Suballocator-test/20230227-184044 git checkout bf605f8a4492ba34499541f58ad29cf56bd9d852 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/gpu/drm/tests/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot <lkp@intel.com> | Link: https://lore.kernel.org/oe-kbuild-all/202302272259.dbMIwSUR-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/gpu/drm/tests/drm_suballoc_test.c:16:10: fatal error: 'drm/drm_suballoc.h' file not found #include <drm/drm_suballoc.h> ^~~~~~~~~~~~~~~~~~~~ 1 error generated. vim +16 drivers/gpu/drm/tests/drm_suballoc_test.c 8 9 #include <linux/dma-fence.h> 10 #include <linux/ktime.h> 11 #include <linux/hrtimer.h> 12 #include <linux/sizes.h> 13 #include <linux/slab.h> 14 #include <linux/spinlock.h> 15 #include <linux/delay.h> > 16 #include <drm/drm_suballoc.h> 17 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Intel-gfx] ✓ Fi.CI.IGT: success for drm/tests: Suballocator test 2023-02-27 10:38 ` [Intel-xe] " Thomas Hellström ` (2 preceding siblings ...) (?) @ 2023-02-27 14:36 ` Patchwork -1 siblings, 0 replies; 10+ messages in thread From: Patchwork @ 2023-02-27 14:36 UTC (permalink / raw) To: Thomas Hellström; +Cc: intel-gfx [-- Attachment #1: Type: text/plain, Size: 32013 bytes --] == Series Details == Series: drm/tests: Suballocator test URL : https://patchwork.freedesktop.org/series/114410/ State : success == Summary == CI Bug Log - changes from CI_DRM_12779_full -> Patchwork_114410v1_full ==================================================== Summary ------- **SUCCESS** No regressions found. Participating hosts (10 -> 10) ------------------------------ No changes in participating hosts Known issues ------------ Here are the changes found in Patchwork_114410v1_full that come from known issues: ### IGT changes ### #### Issues hit #### * igt@gem_ccs@ctrl-surf-copy-new-ctx: - shard-tglu-10: NOTRUN -> [SKIP][1] ([i915#5325]) [1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@gem_ccs@ctrl-surf-copy-new-ctx.html * igt@gem_exec_fair@basic-pace@bcs0: - shard-tglu-10: NOTRUN -> [FAIL][2] ([i915#2842]) +4 similar issues [2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@gem_exec_fair@basic-pace@bcs0.html * igt@gem_lmem_swapping@heavy-verify-multi: - shard-tglu-10: NOTRUN -> [SKIP][3] ([i915#4613]) +2 similar issues [3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@gem_lmem_swapping@heavy-verify-multi.html * igt@gem_pxp@create-regular-buffer: - shard-tglu-10: NOTRUN -> [SKIP][4] ([i915#4270]) +1 similar issue [4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@gem_pxp@create-regular-buffer.html * igt@gem_userptr_blits@dmabuf-sync: - shard-tglu-10: NOTRUN -> [SKIP][5] ([i915#3323]) [5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@gem_userptr_blits@dmabuf-sync.html * igt@gem_userptr_blits@invalid-mmap-offset-unsync: - shard-tglu-10: NOTRUN -> [SKIP][6] ([i915#3297]) [6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@gem_userptr_blits@invalid-mmap-offset-unsync.html * igt@gen3_render_tiledy_blits: - shard-tglu-10: NOTRUN -> [SKIP][7] ([fdo#109289]) +2 similar issues [7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@gen3_render_tiledy_blits.html * igt@gen9_exec_parse@batch-without-end: - shard-tglu-10: NOTRUN -> [SKIP][8] ([i915#2527] / [i915#2856]) +3 similar issues [8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@gen9_exec_parse@batch-without-end.html * igt@i915_pm_rpm@dpms-non-lpsp: - shard-tglu-10: NOTRUN -> [SKIP][9] ([fdo#111644] / [i915#1397]) [9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@i915_pm_rpm@dpms-non-lpsp.html * igt@i915_pm_rpm@pc8-residency: - shard-tglu-10: NOTRUN -> [SKIP][10] ([fdo#109506]) [10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@i915_pm_rpm@pc8-residency.html * igt@kms_big_fb@4-tiled-16bpp-rotate-270: - shard-tglu-10: NOTRUN -> [SKIP][11] ([i915#5286]) +5 similar issues [11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@kms_big_fb@4-tiled-16bpp-rotate-270.html * igt@kms_big_fb@4-tiled-32bpp-rotate-90: - shard-apl: NOTRUN -> [SKIP][12] ([fdo#109271]) +31 similar issues [12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-apl7/igt@kms_big_fb@4-tiled-32bpp-rotate-90.html * igt@kms_big_fb@x-tiled-32bpp-rotate-270: - shard-tglu-10: NOTRUN -> [SKIP][13] ([fdo#111614]) [13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@kms_big_fb@x-tiled-32bpp-rotate-270.html * igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-180-async-flip: - shard-tglu-10: NOTRUN -> [SKIP][14] ([fdo#111615]) +3 similar issues [14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-180-async-flip.html * igt@kms_ccs@pipe-b-crc-sprite-planes-basic-4_tiled_dg2_rc_ccs: - shard-tglu-10: NOTRUN -> [SKIP][15] ([i915#6095]) +4 similar issues [15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@kms_ccs@pipe-b-crc-sprite-planes-basic-4_tiled_dg2_rc_ccs.html * igt@kms_ccs@pipe-b-crc-sprite-planes-basic-y_tiled_gen12_mc_ccs: - shard-tglu-10: NOTRUN -> [SKIP][16] ([i915#3689] / [i915#3886]) +3 similar issues [16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@kms_ccs@pipe-b-crc-sprite-planes-basic-y_tiled_gen12_mc_ccs.html * igt@kms_ccs@pipe-b-random-ccs-data-4_tiled_dg2_rc_ccs: - shard-tglu-10: NOTRUN -> [SKIP][17] ([i915#3689] / [i915#6095]) [17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@kms_ccs@pipe-b-random-ccs-data-4_tiled_dg2_rc_ccs.html * igt@kms_ccs@pipe-c-crc-primary-basic-y_tiled_gen12_rc_ccs_cc: - shard-apl: NOTRUN -> [SKIP][18] ([fdo#109271] / [i915#3886]) [18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-apl7/igt@kms_ccs@pipe-c-crc-primary-basic-y_tiled_gen12_rc_ccs_cc.html - shard-glk: NOTRUN -> [SKIP][19] ([fdo#109271] / [i915#3886]) [19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-glk9/igt@kms_ccs@pipe-c-crc-primary-basic-y_tiled_gen12_rc_ccs_cc.html * igt@kms_ccs@pipe-d-missing-ccs-buffer-yf_tiled_ccs: - shard-tglu-10: NOTRUN -> [SKIP][20] ([fdo#111615] / [i915#3689]) +3 similar issues [20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@kms_ccs@pipe-d-missing-ccs-buffer-yf_tiled_ccs.html * igt@kms_ccs@pipe-d-random-ccs-data-4_tiled_dg2_mc_ccs: - shard-tglu-10: NOTRUN -> [SKIP][21] ([i915#3689]) +5 similar issues [21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@kms_ccs@pipe-d-random-ccs-data-4_tiled_dg2_mc_ccs.html * igt@kms_chamelium_audio@dp-audio: - shard-tglu-10: NOTRUN -> [SKIP][22] ([i915#7828]) +6 similar issues [22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@kms_chamelium_audio@dp-audio.html * igt@kms_color@ctm-0-25@pipe-b-hdmi-a-1: - shard-tglu-10: NOTRUN -> [FAIL][23] ([i915#315] / [i915#6946]) +3 similar issues [23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@kms_color@ctm-0-25@pipe-b-hdmi-a-1.html * igt@kms_content_protection@dp-mst-type-0: - shard-tglu-10: NOTRUN -> [SKIP][24] ([i915#3116] / [i915#3299]) [24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@kms_content_protection@dp-mst-type-0.html * igt@kms_content_protection@srm: - shard-tglu-10: NOTRUN -> [SKIP][25] ([i915#6944] / [i915#7116] / [i915#7118]) [25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@kms_content_protection@srm.html * igt@kms_cursor_crc@cursor-offscreen-512x512: - shard-tglu-10: NOTRUN -> [SKIP][26] ([i915#3359]) +2 similar issues [26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@kms_cursor_crc@cursor-offscreen-512x512.html * igt@kms_cursor_crc@cursor-random-max-size: - shard-tglu-10: NOTRUN -> [SKIP][27] ([i915#3555]) +3 similar issues [27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@kms_cursor_crc@cursor-random-max-size.html * igt@kms_cursor_legacy@2x-nonblocking-modeset-vs-cursor-atomic: - shard-tglu-10: NOTRUN -> [SKIP][28] ([fdo#109274]) +4 similar issues [28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@kms_cursor_legacy@2x-nonblocking-modeset-vs-cursor-atomic.html * igt@kms_dp_tiled_display@basic-test-pattern-with-chamelium: - shard-tglu-10: NOTRUN -> [SKIP][29] ([i915#3528]) [29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@kms_dp_tiled_display@basic-test-pattern-with-chamelium.html * igt@kms_flip@2x-absolute-wf_vblank-interruptible: - shard-tglu-10: NOTRUN -> [SKIP][30] ([fdo#109274] / [i915#3637]) +5 similar issues [30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@kms_flip@2x-absolute-wf_vblank-interruptible.html * igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-16bpp-yftile-upscaling@pipe-a-valid-mode: - shard-tglu-10: NOTRUN -> [SKIP][31] ([i915#2587] / [i915#2672]) +3 similar issues [31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-16bpp-yftile-upscaling@pipe-a-valid-mode.html * igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-spr-indfb-draw-mmap-wc: - shard-tglu-10: NOTRUN -> [SKIP][32] ([fdo#109280]) +25 similar issues [32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-spr-indfb-draw-mmap-wc.html - shard-glk: NOTRUN -> [SKIP][33] ([fdo#109271]) +24 similar issues [33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-glk9/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-spr-indfb-draw-mmap-wc.html * igt@kms_frontbuffer_tracking@psr-rgb565-draw-blt: - shard-tglu-10: NOTRUN -> [SKIP][34] ([fdo#110189]) +18 similar issues [34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@kms_frontbuffer_tracking@psr-rgb565-draw-blt.html * igt@kms_plane_lowres@tiling-4: - shard-tglu-10: NOTRUN -> [SKIP][35] ([fdo#112054] / [i915#5288]) +1 similar issue [35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@kms_plane_lowres@tiling-4.html * igt@kms_plane_scaling@plane-downscale-with-rotation-factor-0-25@pipe-c-hdmi-a-1: - shard-tglu-10: NOTRUN -> [SKIP][36] ([i915#5176]) +3 similar issues [36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@kms_plane_scaling@plane-downscale-with-rotation-factor-0-25@pipe-c-hdmi-a-1.html * igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-25@pipe-a-vga-1: - shard-snb: NOTRUN -> [SKIP][37] ([fdo#109271]) +38 similar issues [37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-snb5/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-25@pipe-a-vga-1.html * igt@kms_psr2_sf@primary-plane-update-sf-dmg-area: - shard-tglu-10: NOTRUN -> [SKIP][38] ([fdo#111068] / [i915#658]) [38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@kms_psr2_sf@primary-plane-update-sf-dmg-area.html * igt@kms_setmode@basic@pipe-a-vga-1: - shard-snb: NOTRUN -> [FAIL][39] ([i915#5465]) +1 similar issue [39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-snb7/igt@kms_setmode@basic@pipe-a-vga-1.html * igt@prime_vgem@coherency-gtt: - shard-tglu-10: NOTRUN -> [SKIP][40] ([fdo#109295] / [fdo#111656]) [40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@prime_vgem@coherency-gtt.html * igt@prime_vgem@fence-read-hang: - shard-tglu-10: NOTRUN -> [SKIP][41] ([fdo#109295]) [41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@prime_vgem@fence-read-hang.html * igt@v3d/v3d_perfmon@destroy-valid-perfmon: - shard-tglu-10: NOTRUN -> [SKIP][42] ([fdo#109315] / [i915#2575]) +2 similar issues [42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@v3d/v3d_perfmon@destroy-valid-perfmon.html * igt@vc4/vc4_perfmon@create-two-perfmon: - shard-tglu-10: NOTRUN -> [SKIP][43] ([i915#2575]) +4 similar issues [43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-10/igt@vc4/vc4_perfmon@create-two-perfmon.html #### Possible fixes #### * igt@api_intel_bb@object-reloc-keep-cache: - {shard-rkl}: [SKIP][44] ([i915#3281]) -> [PASS][45] +8 similar issues [44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12779/shard-rkl-2/igt@api_intel_bb@object-reloc-keep-cache.html [45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-rkl-5/igt@api_intel_bb@object-reloc-keep-cache.html * igt@drm_fdinfo@idle@rcs0: - {shard-rkl}: [FAIL][46] ([i915#7742]) -> [PASS][47] +1 similar issue [46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12779/shard-rkl-1/igt@drm_fdinfo@idle@rcs0.html [47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-rkl-2/igt@drm_fdinfo@idle@rcs0.html * igt@gem_ctx_exec@basic-nohangcheck: - {shard-rkl}: [FAIL][48] ([i915#6268]) -> [PASS][49] [48]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12779/shard-rkl-3/igt@gem_ctx_exec@basic-nohangcheck.html [49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-rkl-3/igt@gem_ctx_exec@basic-nohangcheck.html * igt@gem_exec_fair@basic-pace@vcs0: - {shard-rkl}: [FAIL][50] ([i915#2842]) -> [PASS][51] [50]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12779/shard-rkl-1/igt@gem_exec_fair@basic-pace@vcs0.html [51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-rkl-4/igt@gem_exec_fair@basic-pace@vcs0.html * igt@gem_readwrite@read-write: - {shard-rkl}: [SKIP][52] ([i915#3282]) -> [PASS][53] [52]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12779/shard-rkl-2/igt@gem_readwrite@read-write.html [53]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-rkl-5/igt@gem_readwrite@read-write.html * igt@gen9_exec_parse@allowed-single: - shard-apl: [ABORT][54] ([i915#5566]) -> [PASS][55] [54]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12779/shard-apl1/igt@gen9_exec_parse@allowed-single.html [55]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-apl7/igt@gen9_exec_parse@allowed-single.html - shard-glk: [ABORT][56] ([i915#5566]) -> [PASS][57] [56]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12779/shard-glk5/igt@gen9_exec_parse@allowed-single.html [57]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-glk9/igt@gen9_exec_parse@allowed-single.html * igt@gen9_exec_parse@bb-start-out: - {shard-rkl}: [SKIP][58] ([i915#2527]) -> [PASS][59] [58]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12779/shard-rkl-2/igt@gen9_exec_parse@bb-start-out.html [59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-rkl-5/igt@gen9_exec_parse@bb-start-out.html * igt@i915_pm_rpm@dpms-lpsp: - {shard-tglu}: [SKIP][60] ([i915#1397]) -> [PASS][61] [60]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12779/shard-tglu-6/igt@i915_pm_rpm@dpms-lpsp.html [61]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-8/igt@i915_pm_rpm@dpms-lpsp.html * igt@i915_pm_rpm@dpms-non-lpsp: - {shard-dg1}: [SKIP][62] ([i915#1397]) -> [PASS][63] [62]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12779/shard-dg1-14/igt@i915_pm_rpm@dpms-non-lpsp.html [63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-dg1-12/igt@i915_pm_rpm@dpms-non-lpsp.html * igt@i915_pm_rpm@i2c: - {shard-tglu}: [SKIP][64] ([i915#3547]) -> [PASS][65] [64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12779/shard-tglu-6/igt@i915_pm_rpm@i2c.html [65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-8/igt@i915_pm_rpm@i2c.html * igt@i915_selftest@live@gt_heartbeat: - shard-apl: [DMESG-FAIL][66] ([i915#5334]) -> [PASS][67] [66]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12779/shard-apl2/igt@i915_selftest@live@gt_heartbeat.html [67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-apl2/igt@i915_selftest@live@gt_heartbeat.html * igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-0: - {shard-tglu}: [SKIP][68] ([i915#1845] / [i915#7651]) -> [PASS][69] +9 similar issues [68]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12779/shard-tglu-6/igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-0.html [69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-8/igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-0.html * igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip: - {shard-rkl}: [SKIP][70] ([i915#1845] / [i915#4098]) -> [PASS][71] +5 similar issues [70]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12779/shard-rkl-4/igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip.html [71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-rkl-6/igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip.html * igt@kms_cursor_legacy@flip-vs-cursor-toggle: - {shard-tglu}: [SKIP][72] ([i915#1845]) -> [PASS][73] [72]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12779/shard-tglu-6/igt@kms_cursor_legacy@flip-vs-cursor-toggle.html [73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-8/igt@kms_cursor_legacy@flip-vs-cursor-toggle.html * igt@kms_fbcon_fbt@fbc: - {shard-tglu}: [SKIP][74] ([i915#1849]) -> [PASS][75] +3 similar issues [74]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12779/shard-tglu-6/igt@kms_fbcon_fbt@fbc.html [75]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-8/igt@kms_fbcon_fbt@fbc.html * igt@kms_fbcon_fbt@fbc-suspend: - {shard-rkl}: [SKIP][76] ([i915#4098]) -> [PASS][77] [76]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12779/shard-rkl-4/igt@kms_fbcon_fbt@fbc-suspend.html [77]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-rkl-6/igt@kms_fbcon_fbt@fbc-suspend.html * igt@kms_flip@2x-flip-vs-expired-vblank-interruptible@ab-hdmi-a1-hdmi-a2: - shard-glk: [FAIL][78] ([i915#79]) -> [PASS][79] [78]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12779/shard-glk7/igt@kms_flip@2x-flip-vs-expired-vblank-interruptible@ab-hdmi-a1-hdmi-a2.html [79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-glk5/igt@kms_flip@2x-flip-vs-expired-vblank-interruptible@ab-hdmi-a1-hdmi-a2.html * igt@kms_flip@2x-plain-flip-fb-recreate-interruptible@ac-hdmi-a1-hdmi-a2: - shard-glk: [FAIL][80] ([i915#2122]) -> [PASS][81] +1 similar issue [80]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12779/shard-glk7/igt@kms_flip@2x-plain-flip-fb-recreate-interruptible@ac-hdmi-a1-hdmi-a2.html [81]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-glk5/igt@kms_flip@2x-plain-flip-fb-recreate-interruptible@ac-hdmi-a1-hdmi-a2.html * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-shrfb-draw-mmap-wc: - {shard-rkl}: [SKIP][82] ([i915#1849] / [i915#4098]) -> [PASS][83] +4 similar issues [82]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12779/shard-rkl-4/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-shrfb-draw-mmap-wc.html [83]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-rkl-6/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-shrfb-draw-mmap-wc.html * igt@kms_plane@plane-panning-bottom-right-suspend@pipe-a-planes: - {shard-rkl}: [SKIP][84] ([i915#1849]) -> [PASS][85] +1 similar issue [84]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12779/shard-rkl-4/igt@kms_plane@plane-panning-bottom-right-suspend@pipe-a-planes.html [85]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-rkl-6/igt@kms_plane@plane-panning-bottom-right-suspend@pipe-a-planes.html * igt@kms_plane@plane-position-hole-dpms@pipe-a-planes: - {shard-tglu}: [SKIP][86] ([i915#1849] / [i915#3558]) -> [PASS][87] +1 similar issue [86]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12779/shard-tglu-6/igt@kms_plane@plane-position-hole-dpms@pipe-a-planes.html [87]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-8/igt@kms_plane@plane-position-hole-dpms@pipe-a-planes.html * igt@kms_psr@suspend: - {shard-rkl}: [SKIP][88] ([i915#1072]) -> [PASS][89] [88]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12779/shard-rkl-4/igt@kms_psr@suspend.html [89]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-rkl-6/igt@kms_psr@suspend.html * igt@kms_universal_plane@universal-plane-pipe-a-functional: - {shard-tglu}: [SKIP][90] ([fdo#109274]) -> [PASS][91] +1 similar issue [90]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12779/shard-tglu-6/igt@kms_universal_plane@universal-plane-pipe-a-functional.html [91]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/shard-tglu-8/igt@kms_universal_plane@universal-plane-pipe-a-functional.html {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). [IGT#2]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/2 [fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271 [fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274 [fdo#109279]: https://bugs.freedesktop.org/show_bug.cgi?id=109279 [fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280 [fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285 [fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289 [fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295 [fdo#109308]: https://bugs.freedesktop.org/show_bug.cgi?id=109308 [fdo#109309]: https://bugs.freedesktop.org/show_bug.cgi?id=109309 [fdo#109312]: https://bugs.freedesktop.org/show_bug.cgi?id=109312 [fdo#109314]: https://bugs.freedesktop.org/show_bug.cgi?id=109314 [fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315 [fdo#109506]: https://bugs.freedesktop.org/show_bug.cgi?id=109506 [fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642 [fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189 [fdo#110542]: https://bugs.freedesktop.org/show_bug.cgi?id=110542 [fdo#110723]: https://bugs.freedesktop.org/show_bug.cgi?id=110723 [fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068 [fdo#111614]: https://bugs.freedesktop.org/show_bug.cgi?id=111614 [fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615 [fdo#111644]: https://bugs.freedesktop.org/show_bug.cgi?id=111644 [fdo#111656]: https://bugs.freedesktop.org/show_bug.cgi?id=111656 [fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825 [fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827 [fdo#112054]: https://bugs.freedesktop.org/show_bug.cgi?id=112054 [fdo#112283]: https://bugs.freedesktop.org/show_bug.cgi?id=112283 [i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072 [i915#132]: https://gitlab.freedesktop.org/drm/intel/issues/132 [i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397 [i915#1755]: https://gitlab.freedesktop.org/drm/intel/issues/1755 [i915#1825]: https://gitlab.freedesktop.org/drm/intel/issues/1825 [i915#1839]: https://gitlab.freedesktop.org/drm/intel/issues/1839 [i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845 [i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849 [i915#2122]: https://gitlab.freedesktop.org/drm/intel/issues/2122 [i915#2433]: https://gitlab.freedesktop.org/drm/intel/issues/2433 [i915#2437]: https://gitlab.freedesktop.org/drm/intel/issues/2437 [i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527 [i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575 [i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582 [i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587 [i915#2658]: https://gitlab.freedesktop.org/drm/intel/issues/2658 [i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672 [i915#2681]: https://gitlab.freedesktop.org/drm/intel/issues/2681 [i915#280]: https://gitlab.freedesktop.org/drm/intel/issues/280 [i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842 [i915#2856]: https://gitlab.freedesktop.org/drm/intel/issues/2856 [i915#2920]: https://gitlab.freedesktop.org/drm/intel/issues/2920 [i915#3116]: https://gitlab.freedesktop.org/drm/intel/issues/3116 [i915#315]: https://gitlab.freedesktop.org/drm/intel/issues/315 [i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281 [i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282 [i915#3291]: https://gitlab.freedesktop.org/drm/intel/issues/3291 [i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297 [i915#3299]: https://gitlab.freedesktop.org/drm/intel/issues/3299 [i915#3323]: https://gitlab.freedesktop.org/drm/intel/issues/3323 [i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359 [i915#3361]: https://gitlab.freedesktop.org/drm/intel/issues/3361 [i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458 [i915#3469]: https://gitlab.freedesktop.org/drm/intel/issues/3469 [i915#3528]: https://gitlab.freedesktop.org/drm/intel/issues/3528 [i915#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539 [i915#3546]: https://gitlab.freedesktop.org/drm/intel/issues/3546 [i915#3547]: https://gitlab.freedesktop.org/drm/intel/issues/3547 [i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555 [i915#3558]: https://gitlab.freedesktop.org/drm/intel/issues/3558 [i915#3591]: https://gitlab.freedesktop.org/drm/intel/issues/3591 [i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637 [i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638 [i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689 [i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708 [i915#3734]: https://gitlab.freedesktop.org/drm/intel/issues/3734 [i915#3825]: https://gitlab.freedesktop.org/drm/intel/issues/3825 [i915#3826]: https://gitlab.freedesktop.org/drm/intel/issues/3826 [i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840 [i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886 [i915#3952]: https://gitlab.freedesktop.org/drm/intel/issues/3952 [i915#4070]: https://gitlab.freedesktop.org/drm/intel/issues/4070 [i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077 [i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078 [i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083 [i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098 [i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103 [i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212 [i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213 [i915#4215]: https://gitlab.freedesktop.org/drm/intel/issues/4215 [i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270 [i915#4349]: https://gitlab.freedesktop.org/drm/intel/issues/4349 [i915#4387]: https://gitlab.freedesktop.org/drm/intel/issues/4387 [i915#4525]: https://gitlab.freedesktop.org/drm/intel/issues/4525 [i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538 [i915#4565]: https://gitlab.freedesktop.org/drm/intel/issues/4565 [i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613 [i915#4771]: https://gitlab.freedesktop.org/drm/intel/issues/4771 [i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812 [i915#4833]: https://gitlab.freedesktop.org/drm/intel/issues/4833 [i915#4852]: https://gitlab.freedesktop.org/drm/intel/issues/4852 [i915#4859]: https://gitlab.freedesktop.org/drm/intel/issues/4859 [i915#4860]: https://gitlab.freedesktop.org/drm/intel/issues/4860 [i915#4880]: https://gitlab.freedesktop.org/drm/intel/issues/4880 [i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983 [i915#5115]: https://gitlab.freedesktop.org/drm/intel/issues/5115 [i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176 [i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235 [i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286 [i915#5288]: https://gitlab.freedesktop.org/drm/intel/issues/5288 [i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289 [i915#5325]: https://gitlab.freedesktop.org/drm/intel/issues/5325 [i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533 [i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334 [i915#5431]: https://gitlab.freedesktop.org/drm/intel/issues/5431 [i915#5439]: https://gitlab.freedesktop.org/drm/intel/issues/5439 [i915#5461]: https://gitlab.freedesktop.org/drm/intel/issues/5461 [i915#5465]: https://gitlab.freedesktop.org/drm/intel/issues/5465 [i915#5563]: https://gitlab.freedesktop.org/drm/intel/issues/5563 [i915#5566]: https://gitlab.freedesktop.org/drm/intel/issues/5566 [i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095 [i915#6248]: https://gitlab.freedesktop.org/drm/intel/issues/6248 [i915#6258]: https://gitlab.freedesktop.org/drm/intel/issues/6258 [i915#6268]: https://gitlab.freedesktop.org/drm/intel/issues/6268 [i915#6301]: https://gitlab.freedesktop.org/drm/intel/issues/6301 [i915#6333]: https://gitlab.freedesktop.org/drm/intel/issues/6333 [i915#6335]: https://gitlab.freedesktop.org/drm/intel/issues/6335 [i915#6344]: https://gitlab.freedesktop.org/drm/intel/issues/6344 [i915#6433]: https://gitlab.freedesktop.org/drm/intel/issues/6433 [i915#6493]: https://gitlab.freedesktop.org/drm/intel/issues/6493 [i915#6497]: https://gitlab.freedesktop.org/drm/intel/issues/6497 [i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658 [i915#6590]: https://gitlab.freedesktop.org/drm/intel/issues/6590 [i915#6768]: https://gitlab.freedesktop.org/drm/intel/issues/6768 [i915#6944]: https://gitlab.freedesktop.org/drm/intel/issues/6944 [i915#6946]: https://gitlab.freedesktop.org/drm/intel/issues/6946 [i915#6953]: https://gitlab.freedesktop.org/drm/intel/issues/6953 [i915#7052]: https://gitlab.freedesktop.org/drm/intel/issues/7052 [i915#7116]: https://gitlab.freedesktop.org/drm/intel/issues/7116 [i915#7118]: https://gitlab.freedesktop.org/drm/intel/issues/7118 [i915#7128]: https://gitlab.freedesktop.org/drm/intel/issues/7128 [i915#7561]: https://gitlab.freedesktop.org/drm/intel/issues/7561 [i915#7651]: https://gitlab.freedesktop.org/drm/intel/issues/7651 [i915#7697]: https://gitlab.freedesktop.org/drm/intel/issues/7697 [i915#7701]: https://gitlab.freedesktop.org/drm/intel/issues/7701 [i915#7707]: https://gitlab.freedesktop.org/drm/intel/issues/7707 [i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711 [i915#7742]: https://gitlab.freedesktop.org/drm/intel/issues/7742 [i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828 [i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79 [i915#7949]: https://gitlab.freedesktop.org/drm/intel/issues/7949 [i915#7957]: https://gitlab.freedesktop.org/drm/intel/issues/7957 [i915#7981]: https://gitlab.freedesktop.org/drm/intel/issues/7981 [i915#8152]: https://gitlab.freedesktop.org/drm/intel/issues/8152 [i915#8211]: https://gitlab.freedesktop.org/drm/intel/issues/8211 [i915#8228]: https://gitlab.freedesktop.org/drm/intel/issues/8228 Build changes ------------- * Linux: CI_DRM_12779 -> Patchwork_114410v1 CI-20190529: 20190529 CI_DRM_12779: c9e864cbde25141a868d6bbbb5aa6f44186bbc7f @ git://anongit.freedesktop.org/gfx-ci/linux IGT_7173: deab4e0bdf5a9366b67d0a44f478f3da3c9a943b @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git Patchwork_114410v1: c9e864cbde25141a868d6bbbb5aa6f44186bbc7f @ git://anongit.freedesktop.org/gfx-ci/linux piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114410v1/index.html [-- Attachment #2: Type: text/html, Size: 29815 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Intel-gfx] [PATCH] drm/tests: Suballocator test 2023-02-27 10:38 ` [Intel-xe] " Thomas Hellström (?) @ 2023-02-27 14:40 ` kernel test robot -1 siblings, 0 replies; 10+ messages in thread From: kernel test robot @ 2023-02-27 14:40 UTC (permalink / raw) To: Thomas Hellström, dri-devel Cc: Thomas Hellström, intel-gfx, intel-xe, Christian Koenig, oe-kbuild-all Hi Thomas, Thank you for the patch! Yet something to improve: [auto build test ERROR on drm-tip/drm-tip] url: https://github.com/intel-lab-lkp/linux/commits/Thomas-Hellstr-m/drm-tests-Suballocator-test/20230227-184044 base: git://anongit.freedesktop.org/drm/drm-tip drm-tip patch link: https://lore.kernel.org/r/20230227103853.12666-1-thomas.hellstrom%40linux.intel.com patch subject: [Intel-gfx] [PATCH] drm/tests: Suballocator test config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20230227/202302272233.3LnnRKDf-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-8) 11.3.0 reproduce (this is a W=1 build): # https://github.com/intel-lab-lkp/linux/commit/bf605f8a4492ba34499541f58ad29cf56bd9d852 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Thomas-Hellstr-m/drm-tests-Suballocator-test/20230227-184044 git checkout bf605f8a4492ba34499541f58ad29cf56bd9d852 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=x86_64 olddefconfig make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot <lkp@intel.com> | Link: https://lore.kernel.org/oe-kbuild-all/202302272233.3LnnRKDf-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/gpu/drm/tests/drm_suballoc_test.c:16:10: fatal error: drm/drm_suballoc.h: No such file or directory 16 | #include <drm/drm_suballoc.h> | ^~~~~~~~~~~~~~~~~~~~ compilation terminated. vim +16 drivers/gpu/drm/tests/drm_suballoc_test.c 8 9 #include <linux/dma-fence.h> 10 #include <linux/ktime.h> 11 #include <linux/hrtimer.h> 12 #include <linux/sizes.h> 13 #include <linux/slab.h> 14 #include <linux/spinlock.h> 15 #include <linux/delay.h> > 16 #include <drm/drm_suballoc.h> 17 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Intel-gfx] [PATCH] drm/tests: Suballocator test @ 2023-02-27 14:40 ` kernel test robot 0 siblings, 0 replies; 10+ messages in thread From: kernel test robot @ 2023-02-27 14:40 UTC (permalink / raw) To: Thomas Hellström, dri-devel Cc: oe-kbuild-all, Thomas Hellström, intel-gfx, Christian Koenig, intel-xe Hi Thomas, Thank you for the patch! Yet something to improve: [auto build test ERROR on drm-tip/drm-tip] url: https://github.com/intel-lab-lkp/linux/commits/Thomas-Hellstr-m/drm-tests-Suballocator-test/20230227-184044 base: git://anongit.freedesktop.org/drm/drm-tip drm-tip patch link: https://lore.kernel.org/r/20230227103853.12666-1-thomas.hellstrom%40linux.intel.com patch subject: [Intel-gfx] [PATCH] drm/tests: Suballocator test config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20230227/202302272233.3LnnRKDf-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-8) 11.3.0 reproduce (this is a W=1 build): # https://github.com/intel-lab-lkp/linux/commit/bf605f8a4492ba34499541f58ad29cf56bd9d852 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Thomas-Hellstr-m/drm-tests-Suballocator-test/20230227-184044 git checkout bf605f8a4492ba34499541f58ad29cf56bd9d852 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=x86_64 olddefconfig make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot <lkp@intel.com> | Link: https://lore.kernel.org/oe-kbuild-all/202302272233.3LnnRKDf-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/gpu/drm/tests/drm_suballoc_test.c:16:10: fatal error: drm/drm_suballoc.h: No such file or directory 16 | #include <drm/drm_suballoc.h> | ^~~~~~~~~~~~~~~~~~~~ compilation terminated. vim +16 drivers/gpu/drm/tests/drm_suballoc_test.c 8 9 #include <linux/dma-fence.h> 10 #include <linux/ktime.h> 11 #include <linux/hrtimer.h> 12 #include <linux/sizes.h> 13 #include <linux/slab.h> 14 #include <linux/spinlock.h> 15 #include <linux/delay.h> > 16 #include <drm/drm_suballoc.h> 17 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Intel-xe] [Intel-gfx] [PATCH] drm/tests: Suballocator test @ 2023-02-27 14:40 ` kernel test robot 0 siblings, 0 replies; 10+ messages in thread From: kernel test robot @ 2023-02-27 14:40 UTC (permalink / raw) To: Thomas Hellström, dri-devel Cc: intel-gfx, intel-xe, Christian Koenig, oe-kbuild-all Hi Thomas, Thank you for the patch! Yet something to improve: [auto build test ERROR on drm-tip/drm-tip] url: https://github.com/intel-lab-lkp/linux/commits/Thomas-Hellstr-m/drm-tests-Suballocator-test/20230227-184044 base: git://anongit.freedesktop.org/drm/drm-tip drm-tip patch link: https://lore.kernel.org/r/20230227103853.12666-1-thomas.hellstrom%40linux.intel.com patch subject: [Intel-gfx] [PATCH] drm/tests: Suballocator test config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20230227/202302272233.3LnnRKDf-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-8) 11.3.0 reproduce (this is a W=1 build): # https://github.com/intel-lab-lkp/linux/commit/bf605f8a4492ba34499541f58ad29cf56bd9d852 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Thomas-Hellstr-m/drm-tests-Suballocator-test/20230227-184044 git checkout bf605f8a4492ba34499541f58ad29cf56bd9d852 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=x86_64 olddefconfig make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot <lkp@intel.com> | Link: https://lore.kernel.org/oe-kbuild-all/202302272233.3LnnRKDf-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/gpu/drm/tests/drm_suballoc_test.c:16:10: fatal error: drm/drm_suballoc.h: No such file or directory 16 | #include <drm/drm_suballoc.h> | ^~~~~~~~~~~~~~~~~~~~ compilation terminated. vim +16 drivers/gpu/drm/tests/drm_suballoc_test.c 8 9 #include <linux/dma-fence.h> 10 #include <linux/ktime.h> 11 #include <linux/hrtimer.h> 12 #include <linux/sizes.h> 13 #include <linux/slab.h> 14 #include <linux/spinlock.h> 15 #include <linux/delay.h> > 16 #include <drm/drm_suballoc.h> 17 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2023-02-27 14:40 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2023-02-27 10:38 [Intel-gfx] [PATCH] drm/tests: Suballocator test Thomas Hellström 2023-02-27 10:38 ` [Intel-xe] " Thomas Hellström 2023-02-27 13:24 ` [Intel-gfx] ✓ Fi.CI.BAT: success for " Patchwork 2023-02-27 14:18 ` [Intel-gfx] [PATCH] " kernel test robot 2023-02-27 14:18 ` kernel test robot 2023-02-27 14:18 ` [Intel-xe] " kernel test robot 2023-02-27 14:36 ` [Intel-gfx] ✓ Fi.CI.IGT: success for " Patchwork 2023-02-27 14:40 ` [Intel-gfx] [PATCH] " kernel test robot 2023-02-27 14:40 ` kernel test robot 2023-02-27 14:40 ` [Intel-xe] " kernel test robot
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.