LCOV - code coverage report
Current view: top level - drivers/video - nomodeset.c (source / functions) Hit Total Coverage
Test: coverage.info Lines: 0 6 0.0 %
Date: 2023-08-24 13:40:31 Functions: 0 2 0.0 %

          Line data    Source code
       1             : // SPDX-License-Identifier: GPL-2.0
       2             : 
       3             : #include <linux/module.h>
       4             : #include <linux/types.h>
       5             : 
       6             : #include <video/nomodeset.h>
       7             : 
       8             : static bool video_nomodeset;
       9             : 
      10           0 : bool video_firmware_drivers_only(void)
      11             : {
      12           0 :         return video_nomodeset;
      13             : }
      14             : EXPORT_SYMBOL(video_firmware_drivers_only);
      15             : 
      16           0 : static int __init disable_modeset(char *str)
      17             : {
      18           0 :         video_nomodeset = true;
      19             : 
      20           0 :         pr_warn("Booted with the nomodeset parameter. Only the system framebuffer will be available\n");
      21             : 
      22           0 :         return 1;
      23             : }
      24             : 
      25             : /* Disable kernel modesetting */
      26             : __setup("nomodeset", disable_modeset);

Generated by: LCOV version 1.14