diff options
author | Alexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com> | 2018-11-01 18:11:33 +0300 |
---|---|---|
committer | Alexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com> | 2018-11-02 12:58:30 +0300 |
commit | 6ff3d9ffdcbbe24e8185b254d92d6db44ad55506 (patch) | |
tree | 8e4e4c268336e22674cb76b28d505f4b2bb48195 /samples/bpf/syscall_tp_kern.c | |
parent | 9aefed1f74989eebb430fd0b0bbc3f87da33d0ec (diff) | |
download | linux-6ff3d9ffdcbbe24e8185b254d92d6db44ad55506.tar.xz |
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 'samples/bpf/syscall_tp_kern.c')
0 files changed, 0 insertions, 0 deletions