summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/selftests/Makefile
diff options
context:
space:
mode:
authorAlexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com>2018-11-01 16:11:33 +0100
committerAlexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com>2018-11-02 10:58:30 +0100
commit6ff3d9ffdcbbe24e8185b254d92d6db44ad55506 (patch)
tree8e4e4c268336e22674cb76b28d505f4b2bb48195 /drivers/gpu/drm/selftests/Makefile
parentdrm: Add macro to export functions only when CONFIG_DRM_DEBUG_SELFTEST is ena... (diff)
downloadlinux-6ff3d9ffdcbbe24e8185b254d92d6db44ad55506.tar.xz
linux-6ff3d9ffdcbbe24e8185b254d92d6db44ad55506.zip
drm/selftests: Add tests for drm_internal_framebuffer_create
Add tests that verify that drm_internal_framebuffer_create creates buffers correctly by creating a dummy drm_device with a mock function for the fb_create callback. To decide if a buffer has been created or not it just checks if fb_create callback has been called for the particular drm_mode_fb_cmd2 that's being tested. Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Alexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com> Link: https://patchwork.freedesktop.org/patch/msgid/20181101151051.1509-8-alexandru-cosmin.gheorghe@arm.com
Diffstat (limited to 'drivers/gpu/drm/selftests/Makefile')
-rw-r--r--drivers/gpu/drm/selftests/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/selftests/Makefile b/drivers/gpu/drm/selftests/Makefile
index 07b4f88b422a..383d8d6c5847 100644
--- a/drivers/gpu/drm/selftests/Makefile
+++ b/drivers/gpu/drm/selftests/Makefile
@@ -1,4 +1,4 @@
test-drm_modeset-y := test-drm_modeset_common.o test-drm_plane_helper.o \
- test-drm_format.o
+ test-drm_format.o test-drm_framebuffer.o
obj-$(CONFIG_DRM_DEBUG_SELFTEST) += test-drm_mm.o test-drm_modeset.o