Re: [PATCH v2 10/40] drm: kselftest for drm_mm_debug()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxx>
> 
> 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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux