i915_params.h 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /*
  2. * Copyright © 2015 Intel Corporation
  3. *
  4. * Permission is hereby granted, free of charge, to any person obtaining a
  5. * copy of this software and associated documentation files (the "Software"),
  6. * to deal in the Software without restriction, including without limitation
  7. * the rights to use, copy, modify, merge, publish, distribute, sublicense,
  8. * and/or sell copies of the Software, and to permit persons to whom the
  9. * Software is furnished to do so, subject to the following conditions:
  10. *
  11. * The above copyright notice and this permission notice (including the next
  12. * paragraph) shall be included in all copies or substantial portions of the
  13. * Software.
  14. *
  15. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  16. * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  17. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
  18. * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  19. * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  20. * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
  21. * IN THE SOFTWARE.
  22. *
  23. */
  24. #ifndef _I915_PARAMS_H_
  25. #define _I915_PARAMS_H_
  26. #include <linux/cache.h> /* for __read_mostly */
  27. struct i915_params {
  28. int modeset;
  29. int panel_ignore_lid;
  30. int semaphores;
  31. int lvds_channel_mode;
  32. int panel_use_ssc;
  33. int vbt_sdvo_panel_type;
  34. int enable_rc6;
  35. int enable_dc;
  36. int enable_fbc;
  37. int enable_ppgtt;
  38. int enable_execlists;
  39. int enable_psr;
  40. unsigned int alpha_support;
  41. int disable_power_well;
  42. int enable_ips;
  43. int invert_brightness;
  44. int enable_guc_loading;
  45. int enable_guc_submission;
  46. int guc_log_level;
  47. int use_mmio_flip;
  48. int mmio_debug;
  49. int edp_vswing;
  50. unsigned int inject_load_failure;
  51. /* leave bools at the end to not create holes */
  52. bool enable_cmd_parser;
  53. bool enable_hangcheck;
  54. bool fastboot;
  55. bool prefault_disable;
  56. bool load_detect_test;
  57. bool force_reset_modeset_test;
  58. bool reset;
  59. bool error_capture;
  60. bool disable_display;
  61. bool verbose_state_checks;
  62. bool nuclear_pageflip;
  63. bool enable_dp_mst;
  64. bool enable_dpcd_backlight;
  65. bool enable_gvt;
  66. };
  67. extern struct i915_params i915 __read_mostly;
  68. #endif