OpenCloudOS-Kernel/drivers/gpu/drm/selftests
Alexandru-Cosmin Gheorghe 9341c668c8 drm/selftests: Fix build warning -Wframe-larger-than
It seems for some random configuration drm_device is bigger than 2048
bytes.
The fix is to make the mock objects static variables.

Bug reported by 0-DAY Kernel test infrastructure here:
https://lists.01.org/pipermail/kbuild-all/2018-November/054431.html

Fixes: 6ff3d9ffdc ("drm/selftests: Add tests for drm_internal_framebuffer_create")
Signed-off-by: Alexandru-Cosmin Gheorghe <alexandru-cosmin.gheorghe@arm.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181102130103.7753-1-alexandru-cosmin.gheorghe@arm.com
2018-11-02 14:25:32 +01:00
..
Makefile drm/selftests: Add tests for drm_internal_framebuffer_create 2018-11-02 09:58:30 +00:00
drm_mm_selftests.h drm/mm: Add a search-by-address variant to only inspect a single hole 2018-05-24 15:04:30 +01:00
drm_modeset_selftests.h drm/selftests: Add tests for drm_internal_framebuffer_create 2018-11-02 09:58:30 +00:00
drm_selftest.c
drm_selftest.h
test-drm_format.c drm/selftests: Add tests for drm_format_info* helpers 2018-11-02 09:57:58 +00:00
test-drm_framebuffer.c drm/selftests: Fix build warning -Wframe-larger-than 2018-11-02 14:25:32 +01:00
test-drm_mm.c drm-misc-next for 4.19: 2018-06-22 12:58:08 +10:00
test-drm_modeset_common.c drm/selftest: Refactor test-drm_plane_helper 2018-10-22 10:30:50 +01:00
test-drm_modeset_common.h drm/selftests: Add tests for drm_internal_framebuffer_create 2018-11-02 09:58:30 +00:00
test-drm_plane_helper.c drm/selftest: Refactor test-drm_plane_helper 2018-10-22 10:30:50 +01:00