Re: [PATCH v6 9/9] drm/selftests: Add tests for drm_internal_framebuffer_create

2018-10-30 Thread Daniel Vetter
On Mon, Oct 29, 2018 at 05:14:44PM +, Alexandru-Cosmin Gheorghe wrote: > 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

[PATCH v6 9/9] drm/selftests: Add tests for drm_internal_framebuffer_create

2018-10-29 Thread Alexandru-Cosmin Gheorghe
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