Hi Janusz

> CI enables drm_debug flags that result in significant amount of display
> related messages appearing in dmesg.  In case of kms subtest, which runs
> a loop of reset-resume cycles while touching a display in background, the
> amount of dsiplay related debug messages may lead to exhaustion of per
dsiplay -> display

> test disk space limit.  Disable those messages while a display helper
> spawned by that subtest is running.
> 
> Suggested-by: Kamil Konieczny <[email protected]>
> Signed-off-by: Janusz Krzysztofik <[email protected]>
> ---
>  tests/intel/gem_eio.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/tests/intel/gem_eio.c b/tests/intel/gem_eio.c
> index be071ba8a0..9389efb968 100644
> --- a/tests/intel/gem_eio.c
> +++ b/tests/intel/gem_eio.c
> @@ -1022,6 +1022,9 @@ static void display_helper(igt_display_t *dpy, int 
> *done)
>       const int commit = dpy->is_atomic ? COMMIT_ATOMIC : COMMIT_LEGACY;
>       struct igt_fb fb = {};
>  
> +     igt_install_exit_handler(igt_drm_debug_mask_reset_exit_handler);
> +     igt_drm_debug_mask_update(DRM_UT_DRIVER);
> +
>       while (!READ_ONCE(*done)) {
>               drmModeModeInfoPtr mode;
>               igt_plane_t *primary;
> -- 
> 2.51.0
> 

Reviewed-by: Krzysztof Karas <[email protected]>
-- 
Best Regards,
Krzysztof

Reply via email to