lib/kms: Check usage of for_each_*

Except for for_each_pipe_static they cannot be used outside of
fixtures/subtest. Assert this.

This will make the broken version of kms_ccs assert when run, which
also would have made $make check fail.

Cc: Daniel Stone <daniels@collabora.com>
Cc: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Petri Latvala <petri.latvala@intel.com>
1 file changed