mirror of
https://github.com/torvalds/linux.git
synced 2026-05-02 05:22:49 -04:00
Merge tag 'drm-misc-next-fixes-2023-01-03' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes
Maxime writes: "The drm-misc-next-fixes leftovers. It addresses a bug in drm/scheduler ending up causing a lockup, and reduces the stack usage of some drm/mm kunit tests." Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> From: Maxime Ripard <maxime@cerno.tech> Link: https://patchwork.freedesktop.org/patch/msgid/20230103144926.bmjjni3xnuis2jmq@houat
This commit is contained in:
@@ -12,3 +12,5 @@ obj-$(CONFIG_DRM_KUNIT_TEST) += \
|
||||
drm_mm_test.o \
|
||||
drm_plane_helper_test.o \
|
||||
drm_rect_test.o
|
||||
|
||||
CFLAGS_drm_mm_test.o := $(DISABLE_STRUCTLEAK_PLUGIN)
|
||||
|
||||
@@ -298,9 +298,9 @@ static bool expect_reserve_fail(struct kunit *test, struct drm_mm *mm, struct dr
|
||||
return false;
|
||||
}
|
||||
|
||||
static bool check_reserve_boundaries(struct kunit *test, struct drm_mm *mm,
|
||||
unsigned int count,
|
||||
u64 size)
|
||||
static bool noinline_for_stack check_reserve_boundaries(struct kunit *test, struct drm_mm *mm,
|
||||
unsigned int count,
|
||||
u64 size)
|
||||
{
|
||||
const struct boundary {
|
||||
u64 start, size;
|
||||
|
||||
Reference in New Issue
Block a user