[Intel-gfx] [PATCH v2 10/40] drm: kselftest for drm_mm_debug()
Chris Wilson
chris at chris-wilson.co.uk
Fri Dec 16 10:01:29 UTC 2016
On Fri, Dec 16, 2016 at 11:44:39AM +0200, Joonas Lahtinen wrote:
> On pe, 2016-12-16 at 07:46 +0000, Chris Wilson wrote:
> > Simple test to just exercise calling the debug dumper on the drm_mm.
> >
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
>
> This is rather meta already. Not entirely sure how good of a selftest
> this is when we do not validate the generated output, or do you at the
> runner side?
No, it is just to ensure we have coverage of that function. All it does is
make sure it doesn't explode, under very tame circumstances.
I thought of doing a few mocks to capture the output and decided that
was asking a little too much for a debug function. Still don't have
coverage for the debugfs dumper...
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list